Skip to content

Windows open outside of screen #85

Closed
@afhp-2020

Description

@afhp-2020

Another regression, may or may not be related to #68 ?

As of recently, and without apparent pattern, some windows will start opening outside the display. They didn't before, and once they start they always do.

Currently observed with one specific contact window in Pidgin, and just now with Emacs.

xsession-error log:

[fvwm][GetWindowSizeHints]: <<WARNING>> reason: 6: The hints have been ignored because the window's current size would have become invalid.  The new hints will become active when the window generates the next ConfigureRequest.

[fvwm][GetWindowSizeHints]: <<WARNING>> The application window (id 0x720001c)
  "emacs@thorium" has broken size hints (inconsistent with current size).
    fvwm is ignoring those hints.    hint override = 0, flags = 350
  min_width = 40, min_height = 42, max_width = 40, max_height = 42
  width_inc = 8, height_inc = 16
  min_aspect = 0/0, max_aspect = 0/0
  base_width = 40, base_height = 42
  win_gravity = 1

    If you are having a problem with the application, send a bug report
    with this message included to the application owner.
    There is no need to notify fvwm-workers@fvwm.org.
[fvwm][GetWindowSizeHints]: <<WARNING>> reason: 6: The hints have been ignored because the window's current size would have become invalid.  The new hints will become active when the window generates the next ConfigureRequest.

[fvwm][GetWindowSizeHints]: <<WARNING>> The application window (id 0x720001c)
  "emacs@thorium" has broken size hints (inconsistent with current size).
    fvwm is ignoring those hints.    hint override = 0, flags = 350
  min_width = 40, min_height = 82, max_width = 40, max_height = 82
  width_inc = 8, height_inc = 16
  min_aspect = 0/0, max_aspect = 0/0
  base_width = 40, base_height = 82
  win_gravity = 1

    If you are having a problem with the application, send a bug report
    with this message included to the application owner.
    There is no need to notify fvwm-workers@fvwm.org.
Monitor Debug
	number of outputs: 2
	Name:	DVI-I-1
	Disabled:	false
	Is Primary:	yes
	Is Current:	no
	Output:	71
	Coords:	{x: 0, y: 240, w: 1920, h: 1200}
	VirtScr: {
		VxMax: 0, VyMax: 0, Vx: 0, Vy: 0
		EdgeScrollX: 0, EdgeScrollY: 0
		CurrentDesk: 1
		CurrentPage: {x: 0, y: 0}
		MyDisplayWidth: 2820, MyDisplayHeight: 1440
	}
	Desktops:	yes
	Flags:global

ewmh_ComputeAndSetWorkArea: monitor 'DP-2': {l: 0, r: 0, t: 0, b: 0} {x: 0, y: 0, w: 900, h: 1440}
ewmh_ComputeAndSetWorkArea: differ, so setting work area
ewmh_ComputeAndSetWorkArea: monitor 'DP-2': {l: 0, r: 0, t: 0, b: 0} {x: 0, y: 0, w: 900, h: 1440}
ewmh_ComputeAndSetWorkArea: monitor 'DP-2': {l: 0, r: 0, t: 0, b: 0} {x: 0, y: 0, w: 900, h: 1440}
ewmh_ComputeAndSetWorkArea: monitor 'DP-2': {l: 0, r: 0, t: 0, b: 0} {x: 0, y: 0, w: 900, h: 1440}
ewmh_ComputeAndSetWorkArea: monitor 'DP-2': {l: 0, r: 0, t: 0, b: 0} {x: 0, y: 0, w: 900, h: 1440}
ewmh_ComputeAndSetWorkArea: monitor 'DP-2': {l: 0, r: 0, t: 0, b: 0} {x: 0, y: 0, w: 900, h: 1440}

The window does appear in the window list, and one can check that it did open, in FvwmConsole: Next (Emacs) Echo $[w.x] $[w.y] will log

[fvwm][Echo]: 2820 0

Primary screen is 1920 px wide, right screen (rotated) is 900 px wide, window is positioned just outside of the viewable area.

The window can be brought back from the FvwmConsole with e.g. Next (Emacs) Move pointer, but it's annoying.

I haven't seen a pattern as to why it starts happening, but I've been juggling WMs and graphics drivers configurations lately, that probably doesn'h help.

EDIT:
It would seem that this only happens when opening a window with the pointer on the right-hand monitor. Windows are positioned normally when the pointer is on the primary.
The FvwmConsole Move pointer command will work including when the pointer is on the right-hand monitor.

Still, in the case of the Pidgin contacts: with Pidgin's contact list as well as the pointer on the right-hand monitor, the chat window for one contact will open normally (on the right-hand monitor) while the window for another (always the same) will open outside of the display area.

Metadata

Metadata

Assignees

Labels

type:bugSomething's broken!

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions