Bug 354220 - Plasma "more panel options" popup opens in the wrong screen (flushed to left)
Summary: Plasma "more panel options" popup opens in the wrong screen (flushed to left)
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.4.1
Platform: openSUSE Linux
: NOR major
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-22 17:56 UTC by Thiago Macieira
Modified: 2016-09-20 14:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing where the popup showed up (719.79 KB, image/png)
2015-10-22 17:57 UTC, Thiago Macieira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Macieira 2015-10-22 17:56:40 UTC
When a secondary monitor is connected, the "More panel options" popup shows in the wrong screen, flushed to the left. The Y coordinates appear to be correct, but the X is completely wrong (zero).

This happens to me on the standard "extend to the right" dual-monitor setup.

This problem is especially annoying since you cannot move the mouse over ANY screen when you have "focus follows mouse" because Plasma popups are not real popups. KWin will give focus to another window and the popup disappears. To access those options, you must minimise all windows so you can freely move the mouse only over the desktop.

Reproducible: Always

Steps to Reproduce:
1. Connect secondary monitor and make sure there's a Plasma panel there
2. Click the hamburger menu on the right, on the panel on the secondary screen
3. Click "More options"

Actual Results:  
The options popup shows flushed to the left.

Expected Results:  
The popup should have shown right above the "More options" button.

xrandr output:
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
   1920x1080     60.00*+  48.00  
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  50.00    59.94    30.00    24.00    29.97    23.98  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.08    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

qtdiag relevant output:
Screens: 2
# 0 "eDP1" Depth: 24 Primary: yes
  Geometry: 1920x1080+0+0 Available: 1920x1050+0+0
  Virtual geometry: 3840x1080+0+0 Available: 3840x1050+0+0
  2 virtual siblings
  Physical size: 293x165 mm  Refresh: 60 Hz
  Physical DPI: 166.444,166.255 Logical DPI: 120,120
  DevicePixelRatio: 1 Primary orientation: 2
  Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

# 1 "HDMI1" Depth: 24 Primary: no
  Geometry: 1920x1080+1920+0 Available: 1920x1050+1920+0
  Virtual geometry: 3840x1080+0+0 Available: 3840x1050+0+0
  2 virtual siblings
  Physical size: 598x336 mm  Refresh: 60 Hz
  Physical DPI: 81.5518,81.6429 Logical DPI: 120,120
  DevicePixelRatio: 1 Primary orientation: 2
  Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

Touch devices: 2
  TouchScreen "SYNAPTICS Synaptics Large Touch Screen", max 15 touch points, capabilities: Position NormalizedPosition
  TouchPad "DLL060A:00 06CB:2734", max 5 touch points, capabilities: Area Pressure MouseEmulation


LibGL Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Haswell Mobile 
Version: 3.0 Mesa 11.0.2
Shading language: 1.30
Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGB): 8,8,8
Comment 1 Thiago Macieira 2015-10-22 17:57:22 UTC
Created attachment 95084 [details]
Screenshot showing where the popup showed up
Comment 2 Thiago Macieira 2015-10-22 18:08:12 UTC
This also applies to application previews when hovering over the taskbar of the secondary screen: they appear flushed to the left.
Comment 3 Marco Martin 2016-09-20 14:03:00 UTC
multiscreen management of plasmashell changed in 5.8, please reopen if the same problem happens in Plasma 5.8 or newer