Bug 414849 - Pager doesn't show windows of second screen anymore
Summary: Pager doesn't show windows of second screen anymore
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Pager (show other bugs)
Version: 5.17.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: regression
: 415039 415310 415740 415934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-05 07:57 UTC by Andreas Ermler
Modified: 2020-01-08 18:54 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.17.5


Attachments
Pager doesn't show windows on second screen (3.21 KB, image/png)
2019-12-05 07:57 UTC, Andreas Ermler
Details
Windows on multiple Screens are not shown or distorted in pager (14.36 KB, image/png)
2019-12-06 08:28 UTC, Martin Droessler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Ermler 2019-12-05 07:57:38 UTC
Created attachment 124326 [details]
Pager doesn't show windows on second screen

SUMMARY
I have a 2 screens attached to my computer and I use 2 virtual desktops. After updating to 5.17.4 the pager doesn't show any windows on the second screen (in the pager) anymore.
I attached a screenshot of the problem. The Firefox window is on both the left and the right screen, so it's almost full size but it is shown only on the left screen and not on the right. On the right virtual desktop there's a Thunderbird on the left screen and a Dolphin on the right screen. But the Dolphin window isn't shown.


STEPS TO REPRODUCE
1. Update to 5.17.4
2. Open windows on both screens
3. 

OBSERVED RESULT
Only windows on the left screen are shown on the pager, the windows on the right screen are not shown on the pager.

EXPECTED RESULT
Windows from both screens should be shown on the pager.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Martin Droessler 2019-12-06 08:28:57 UTC
Created attachment 124333 [details]
Windows on multiple Screens are not shown or distorted in pager

Same for me. I have 3 Screens:
* Laptopscreen, FHD, left
* Monitor, WQHD, middle, primary screen
* Monitor, WQHD, right

Only windows on the laptopscreen are shown correctly.
Windows on the middle/primary screen are only 10-20% of the width they should have. And windows on the right screen are not shown at all.

Regarding the attached screenshot-part: on desktop 8 are fullscreen browser-windows on each Screen!

My System:
ArchLinux
Plasma 5.17.4-1
Nvidia 440.36-4
Comment 2 Paulo Neves 2019-12-10 05:08:12 UTC
With 3 screens, left, center and right, it only shows the wireframe of the windows on the left screen and the left half of the windows on the center screen.
Comment 3 sparhawk 2019-12-10 23:11:01 UTC
I can also confirm in Arch Linux. I can also confirm this is a regression. I reverted from plasma-desktop 5.17.4 back to 5.17.3, and all windows are showing again. I did some very basic troubleshooting; reverting the file at `/usr/share/plasma/plasmoids/org.kde.plasma.pager` is *not* sufficient to fix this bug.
Comment 4 Antonio Rojas 2019-12-11 07:10:59 UTC
*** Bug 415039 has been marked as a duplicate of this bug. ***
Comment 5 Willem Sonke 2019-12-11 12:49:16 UTC
Scrolling through the changelog for Plasma 5.17.4, it seems to me that the problematic change is https://phabricator.kde.org/D24238. The change makes it so that it considers the geometry of the first screen only, instead of all screens.
Comment 6 sparhawk 2019-12-11 23:16:02 UTC
Thanks Willem. I can confirm that un-patching that commit from the latest plasma-desktop 5.17.4 fixes the bug.
Comment 7 David Faure 2019-12-13 21:41:47 UTC
Could someone try this patch? I won't have a second monitor for another 3 days.

http://www.davidfaure.fr/2019/windowmodel.cpp.diff
Comment 8 sparhawk 2019-12-13 23:15:30 UTC
@David, that patch also fixes the bug for me.
Comment 9 David Faure 2019-12-13 23:30:07 UTC
Git commit 2b5e86323f180f0c51ef9af898a69a522bc379ad by David Faure.
Committed on 13/12/2019 at 23:29.
Pushed by dfaure into branch 'Plasma/5.17'.

Fix regression in "Port the pager applet away from QtWidgets"

M  +1    -1    applets/pager/plugin/windowmodel.cpp

https://commits.kde.org/plasma-desktop/2b5e86323f180f0c51ef9af898a69a522bc379ad
Comment 10 David Faure 2019-12-13 23:30:39 UTC
Excellent, thanks for the quick test!
Comment 11 Bob English 2019-12-14 02:52:40 UTC
Thanks David!  Just ran Arch updates, and Pager functionality is restored!  Great and swift work!
Comment 12 Ian Pilcher 2019-12-26 23:35:29 UTC
*** Bug 415310 has been marked as a duplicate of this bug. ***
Comment 13 Patrick Silva 2019-12-31 12:58:10 UTC
*** Bug 415740 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2020-01-08 18:54:32 UTC
*** Bug 415934 has been marked as a duplicate of this bug. ***