Bug 366173 - plasma task manager "show only tasks from the current screen" shows the wrong list
Summary: plasma task manager "show only tasks from the current screen" shows the wrong...
Status: RESOLVED DUPLICATE of bug 356994
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.7.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-27 16:50 UTC by Ben Klopfenstein
Modified: 2016-08-11 09:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klopfenstein 2016-07-27 16:50:11 UTC
I have 4 monitors, and Plasmashell Task Manager's "show only tasks from the current screen" list on the left and right monitor are swapped. That is to say:

---------------------------------------------------------
|             |             |             |             |
|  DVI-I-1-2  |    HDMI-1   |   DVI-D-1   |   DVI-I-1   |
|             |             |             |             |
---------------------------------------------------------

Task manager on (DVI-I-1-2) shows windows on (DVI-I-1), and task manager on (DVI-I-1) shows windows on (DVI-I-1-2). I can swap the monitors physically and in Display Configuration and physically on my desk and the issue remains. I can drag and swap the taskbars and the issue remains as well. I can even delete plasma's configuration and recreate all the panels, and the issue still occurs.

My setup is slightly unusual, in that the left monitor (DVI-I-1-2) is on a separate video card, and is using Prime support as an output sink. All displays use the nouveau driver.

This did not occur in Plasma 5.6.

Reproducible: Always




10:28 $ xrandr --listmonitors 
Monitors: 4
 0: +*HDMI-1 1920/518x1200/324+1600+16  HDMI-1
 1: +DVI-I-1 1600/367x1200/275+5440+0  DVI-I-1
 2: +DVI-D-1 1920/518x1200/324+3520+0  DVI-D-1
 3: +DVI-I-1-2 1600/367x1200/275+0+16  DVI-I-1-2

10:36 $ xrandr --listproviders 
Providers: number : 2
Provider 0: id: 0xb5 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 4 outputs: 3 associated providers: 1 name:nouveau
Provider 1: id: 0x63 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 2 outputs: 2 associated providers: 1 name:nouveau

10:28 $ xrandr
Screen 0: minimum 320 x 200, current 7040 x 1216, maximum 16384 x 16384
DVI-I-1 connected 1600x1200+5440+0 (normal left inverted right x axis y axis) 367mm x 275mm
   1600x1200     60.00*+
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
DVI-D-1 connected 1920x1200+3520+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
   720x400       70.08  
HDMI-1 connected primary 1920x1200+1600+16 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
   720x400       70.08  
DVI-I-1-2 connected 1600x1200+0+16 (normal left inverted right x axis y axis) 367mm x 275mm
   1600x1200     60.00*+
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
DP-1-1 disconnected (normal left inverted right x axis y axis)
  1600x1200 (0x64) 162.000MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  75.00KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  60.00Hz
  1280x1024 (0x65) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x66) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1152x864 (0x67) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x68) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x69) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x6a) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x6b) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  640x480 (0x6c) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x6d) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x400 (0x6e) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
Comment 1 mkiselovs 2016-08-01 06:45:22 UTC
I have exactly the same issue in KDE 5.7.2 with simplier multi-monitor setup. I have tree monitors connected to single Nvidia card with latest nvidia proprietary drivers. Task manager on left screen shows window list from right screen and vice-versa, bet middle screen shows correct list of windows.

#  xrandr --listmonitors 
Monitors: 3
 0: +*DVI-D-0 1920/518x1200/324+1920+0  DVI-D-0
 1: +VGA-0 1680/433x1050/271+3840+150  VGA-0
 2: +DVI-D-1 1920/518x1200/324+0+0  DVI-D-1

# xrandr --listproviders 
Providers: number : 1
Provider 0: id: 0x279 cap: 0x1, Source Output crtcs: 4 outputs: 4 associated providers: 0 name:NVIDIA-0

# xrandr
Screen 0: minimum 8 x 8, current 5520 x 1200, maximum 16384 x 16384
VGA-0 connected 1680x1050+3840+150 (normal left inverted right x axis y axis) 433mm x 271mm
   1680x1050     59.88*+  59.95  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00                                                                                                                                                                                                                       
   1024x768      75.03    70.07    60.00                                                                                                                                                                                                     
   800x600       75.00    72.19    60.32    56.25                                                                                                                                                                                            
   640x480       75.00    72.81    59.94                                                                                                                                                                                                     
DVI-D-0 connected primary 1920x1200+1920+0 (normal left inverted right x axis y axis) 518mm x 324mm                                                                                                                                          
   1920x1200     59.95*+                                                                                                                                                                                                                     
   1920x1080     60.00                                                                                                                                                                                                                       
   1680x1050     59.95                                                                                                                                                                                                                       
   1600x1200     60.00                                                                                                                                                                                                                       
   1280x1024     60.02                                                                                                                                                                                                                       
   1280x960      60.00                                                                                                                                                                                                                       
   1024x768      60.00                                                                                                                                                                                                                       
   800x600       60.32                                                                                                                                                                                                                       
   640x480       59.94                                                                                                                                                                                                                       
HDMI-0 disconnected (normal left inverted right x axis y axis)                                                                                                                                                                               
DVI-D-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm                                                                                                                                                     
   1920x1200     59.95*+                                                                                                                                                                                                                     
   1920x1080     60.00                                                                                                                                                                                                                       
   1680x1050     59.95                                                                                                                                                                                                                       
   1600x1200     60.00                                                                                                                                                                                                                       
   1280x1024     60.02                                                                                                                                                                                                                       
   1280x960      60.00                                                                                                                                                                                                                       
   1024x768      60.00                                                                                                                                                                                                                       
   800x600       60.32                                                                                                                                                                                                                       
   640x480       59.94
Comment 2 Jan Pavlicek 2016-08-03 17:46:36 UTC
I can confirm this too, with only 2 screens. Task manager entries are swaped, windows on the right monitor are showed in taskbar on the left one and vice versa. Removing and readding the taskbar seems to correct the issue, but it returns after reboot. It is extremely annoying, making me think about switching back to 5.6. I'm on ArchLinux, updated daily.

Interesting thing is, that on my desktop PC, if I go to display settings, disable, apply and then reenable and apply the second monitor, it does not help. But on my laptop, this fixes the issue and taskbars work as normal (panels don't remember their positions and get repositioned both on one screen and I need to manually correct this, but this is another issue).

Second interesting thing is, that on my desktop PC i have a 16:10 a 4:3 screens. I have respective resolution wallpapers and they get swapped too, the wider one gets black corners and the thinner one is fitted to the screen.

Really hope this gets fixed soon, thanks!
Comment 3 Charlie Waters 2016-08-11 04:21:43 UTC
Same issue here on Arch Linux plasmashell 5.7.3, proprietary Nvidia drivers 367.35. Three monitors, all connected to a single Nvidia card. Left to right: DP-1, DVI-I-1, DVI-D-0. With "show only tasks from the current screen" enabled on all task managers, task manager on DP-1 shows tasks from DVI-D-0, and the task manager on DVI-D-0 shows tasks from DP-1. The task manager on DVI-I-1 is normal. This behavior has been very consistent for several weeks. I have tried different combinations of task managers and panels, but the behavior is always the same. My guess would be that under some conditions, the monitors are enumerated in reverse order.

$ xrandr
Screen 0: minimum 8 x 8, current 5760 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 553mm x 311mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1440x900      74.98    59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 553mm x 311mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1440x900      74.98    59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 553mm x 311mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      74.98    59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
   480x576       50.00  
   480x480       59.94
Comment 4 Eike Hein 2016-08-11 09:13:05 UTC

*** This bug has been marked as a duplicate of bug 356994 ***