[kwin] [Bug 357275] New: When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 Bug ID: 357275 Summary: When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size Product: kwin Version: 5.5.2 Platform: Archlinux Packages URL: http://i.imgur.com/nmWEd92.png OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: multihead Assignee: kwin-bugs-n...@kde.org Reporter: d...@tzib.net The desktop dimensions on the 2nd screen are invalid when plugged in (after plasma is already running), if both screens are unified in the display settings, and have different resolutions. See also the link for an example of this behavior (http://i.imgur.com/nmWEd92.png) This is mostly an issue when you use a laptop and frequently connect/disconnect a second screen in unified mode. Reproducible: Always Steps to Reproduce: 1) setup computer with 2 screens, 1 is 1920x1080, the other (2nd) is 1920x1200 (or any different resolution from the first screen, while both supporting a common resolution for unification to work and look like a mirror of the screen) 2) set screens as unified ("Unify outputs" button in the display configuration panel) 3) unplug 2nd screen 4) reboot or restart xorg+kwin/plasma 5) plug the 2nd screen back in Panel will be offset on the 2nd screen, maximizing the windows will keep the offset. Moving or deleting the panel is possible, but maximized windows will still be offset, thus some desktop size reporting must be incorrect somewhere. Actual Results: Offset desktop windows/panel Expected Results: Windows should use the whole screen area when maximized Panel should be the correct edge (in my case, bottom of the screen) This used to work in earlier versions of plasma (i cant find back which version unfortunately). its broken since a few month now. I tried on a fresh profile (new user, zero kde/plasma settings) and the problem persists. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 dump changed: What|Removed |Added URL|http://i.imgur.com/nmWEd92. |http://i.imgur.com/oSaQHiD. |png |png --- Comment #1 from dump --- First link is done via kwin/plasma screenshot utility: http://i.imgur.com/nmWEd92.png Second via scrot/xorg: http://i.imgur.com/oSaQHiD.png Which also hints at the issue (xorg desktop size is correct, whatever is used by the plasma framework to communicate it to the screenshot tool is incorrect) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #4 from dump --- Created attachment 96338 --> https://bugs.kde.org/attachment.cgi?id=96338&action=edit xrandr -q output (problem is occuring) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #5 from dump --- Created attachment 96339 --> https://bugs.kde.org/attachment.cgi?id=96339&action=edit xprop of bottom panel (this is my only panel) when problem is occuring -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #6 from dump --- Created attachment 96340 --> https://bugs.kde.org/attachment.cgi?id=96340&action=edit xprop of firefox maximized when problem is occuring (just in case its useful) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #7 from dump --- Created attachment 96341 --> https://bugs.kde.org/attachment.cgi?id=96341&action=edit qdbus kwin output (problem is occuring) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #8 from dump --- Created attachment 96342 --> https://bugs.kde.org/attachment.cgi?id=96342&action=edit xprop of bottom panel when problem is fixed (1920x1080 for all screens) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #10 from dump --- Created attachment 96344 --> https://bugs.kde.org/attachment.cgi?id=96344&action=edit qdbus kwin output when problem is fixed (1920x1080 for all screens) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #9 from dump --- Created attachment 96343 --> https://bugs.kde.org/attachment.cgi?id=96343&action=edit xrandr -q outpu t when problem is fixed (1920x1080 for all screens) -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #12 from dump --- Note: i believe that i know what causes the issue. At some point in time it was only possible to unify outputs if they had the same resolution (1920x1080) in my case. Then when scaling options came up, it was possible to unify outputs with different resolution (1920x1200 + 1920x1080 in my case, where items would scale up to match). The scaling only works right when the screen would be connected at plasma/kwin startup it seems like. Right now, unless i wipe my configuration, since ive manually set both screens to 1920x1080 it seems to work ok so far (after a few disconect/reconnect). I dont seem to be able to reset that via the display configuration panel to the original/buggy setup unless i wipe all config/new profile (but i may be wrong, ill try playing with the scaling settings a bit more) The scaled version is much nicer though tho since all items are crisp on both screens (1920x1080 on a 1920x1200 screen is a different aspect ratio so looks a little blurred) -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #13 from dump --- Since I reinstalled I dont run into this issue so I was going to close the bug. But it turns out that I do run in a similar but slightly different situation (which is maybe is the same bug, in fact): Right now my 2 screens show as 1920x1080 in the display panel (and look to be at that resolution), and I did unify them. However if i close/open the display panel they show as non-unified (i can click on unify again and nothing happens). This time also, instead of having a space at the bottom of the screen, some of the window is not displayed when maximized (goes under the bottom panel that i have, on both screens). Note: I do not know if it's a kwin problem or something else for sure (or my fault somehow). Will attach details. Also, thanks for taking the time to look at this! -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #14 from dump --- Created attachment 96608 --> https://bugs.kde.org/attachment.cgi?id=96608&action=edit Quick video recording of first screen (eDP1) showing the unify "issue" and the maximize issue -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #17 from dump --- Created attachment 96611 --> https://bugs.kde.org/attachment.cgi?id=96611&action=edit qdbus output (new) -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 dump changed: What|Removed |Added Attachment #96338|0 |1 is obsolete|| Attachment #96339|0 |1 is obsolete|| Attachment #96340|0 |1 is obsolete|| Attachment #96341|0 |1 is obsolete|| Attachment #96342|0 |1 is obsolete|| Attachment #96343|0 |1 is obsolete|| Attachment #96344|0 |1 is obsolete|| --- Comment #15 from dump --- Created attachment 96609 --> https://bugs.kde.org/attachment.cgi?id=96609&action=edit xrandr output (new) -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 --- Comment #16 from dump --- Created attachment 96610 --> https://bugs.kde.org/attachment.cgi?id=96610&action=edit xprop output (new) -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 357275] When plugging in new screen (diff resolution) in unified mode, kwin reports wrong desktop size
https://bugs.kde.org/show_bug.cgi?id=357275 dump changed: What|Removed |Added Version|5.5.2 |5.5.3 --- Comment #18 from dump --- Note: now running 5.5.3 -- You are receiving this mail because: You are watching all bug changes.