! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfwm4 regression: panels and fullscreen / maximize do not work on dual screen...
Status:
RESOLVED: MOVED

Comments

Description Klaus Kusche 2018-08-18 21:20:44 CEST
I've a laptop with 1920x1080 (which is the primary display when booting and starting Xfce).

However, most of the time I'm connected to an external display with 2560x1600 (at home) 
or 1920x1200 (at the office, and some lecture hall beamers),
i.e. larger than the internal 1920x1080, and I use only that external display.

Both displays are on top of each other (overlapping), i.e. both are pos 0x0.
The screen is set to the size of the external monitor (i.e. 2560x1600 or 1920x1200).

The reason for that is that I don't want any screen area outside of the external monitor,
i.e. neither the mouse nor any window should be able to "leave" the external monitor
and "hide" on the laptop display, hence I do not put the two displays next to each other.

I also can't disable the internal display, because that would leave me in the dark
as soon as the external display is disconnected.

With xfwm < 4.13, this worked perfectly out of the box, 
even dynamically when the external display was reconnected or disconnected on the fly:
As soon as there was an external display and the screen size was (automatically) set to it:

1.) The panels moved to the border of the larger, external display.

2.) Any fullscreened or maximized window filled the whole external display
(no matter if the window was maximized before or after the external display was connected).

With 4.13, there are two serious bugs:

1.) The panels stay on the laptop display edges
(i.e. they are displayed in the middle of the external, larger display).

2.) When a window is maximized or set to fullscreen 
(e.g. for watching videos or showing slide presentations),
it only fills the internal display, i.e. the upper left corner of the external screen,
the rest of the display shows the desktop background.
==> Completely unuseable!

Even manually setting the external display as "primary" does not help,
it is still impossible to fullscreen or maximize e.g. a video or slides on the external display.
I found no way to use the external display sensibly:
No matter what I do, all maximized windows or fullscreen programs are restricted to the size
of the laptop display and fill only a small part in the upper left corner of my 2560x1600 monitor.

(however, the screen background is displayed correctly on the whole external display,
and it is possible to manually drag windows out of the upper left area corresponding to the laptop display,
so the whole screen area is known to xfwm, it's just not used as it should).
Comment 1 Klaus Kusche 2018-08-19 06:06:54 CEST
I tried again, connecting displays in different order, turning them on and off, etc.:

I can't reproduce problem 1 (panels in the wrong position):
Now they correctly move to the edges of the larger display,
so everything's fine with the panels.

However, Problem 2 is worse than expected:

After turning the internal laptop display completely off with xrandr
(i.e. after making the external display the one and only active display),
"maximize" and "fullscreen" are still only the size & position 
of the (disabled!) laptop display, only the upper left part of the external display.
So there seems to be no way at all to get maximize correct
(i.e. fill the external display), even turning off the smaller display does not help.

This does not happen all the time, but just in some cases,
for example, after disconnecting and reconnecting the external display.
I even had cases (not clearly reproducible) where "fullscreen" 
was really fullscreen on the external display, but at the same time,
"maximize" only filled the upper left corner. Completely confusing...
Comment 2 Martin 2020-01-12 07:45:02 CET
I confirm this regression (see https://forum.xfce.org/viewtopic.php?pid=56053)

Action: I maximize a window on two screens that are mirrored, but with different resolutions (one is smaller than the other)..

Previous behavior: It is maximized according the largest resolution and the window covers the whole largest screen.

Current new behavior: It is maximized according the smallest resolution, and the maximization is thus incomplete.

How to workaround this regression?
Comment 3 Git Bot editbugs 2020-05-29 12:22:08 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/297.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14612

Reported by:
Klaus Kusche
Reported on: 2018-08-18
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.13.1

Attachments

Additional information