Bug 356780

Summary: Popups from Panel Have Wrong Geometry
Product: [Plasma] plasmashell Reporter: David E. Narvaez <david.narvaez>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: notmart, plasma-bugs
Priority: NOR    
Version: 5.4.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Application launcher pop-up
Previous notifications pop-up
Screenshot 1 with an overlay of the small screen over the large screen

Description David E. Narvaez 2015-12-16 15:07:23 UTC
I have two monitors:

Id:  67
Name:  "LVDS1"
Type:  "Panel (Laptop)"
Connected:  true
Enabled:  true
Primary:  true
Rotation:  1
Pos:  QPoint(1920,312)
MMSize:  QSize(344, 194)
Size:  QSize(1366, 768)

Id:  69
Name:  "HDMI1"
Type:  "Unknown"
Connected:  true
Enabled:  true
Primary:  false
Rotation:  1
Pos:  QPoint(0,0)
MMSize:  QSize(509, 286)
Size:  QSize(1920, 1080)

My larger HDMI monitor is first from left to right so plasma moves my panel to that monitor (whether that's a bug in itself is another issue, I suppose) but after that, pop-ups like the application launcher, hovering over applets, clipboard contents and the history of notifications pop using the old geometry. The attached screenshots show the problem.

Reproducible: Always

Steps to Reproduce:
1. Have plasma running on your main screen, with a appliation launcher applet.
2. Connect a new, larger screen to the left of your screen — plasma panels should relocate to the new screen.
3. Click on the application launcher applet.

Actual Results:  
Application pop-up appears somewhere in the middle of the screen.

Expected Results:  
Applicationi pop-up should appear right on top of the panel.

The third screenshot shows an overlay of the small scree over the large screen, showing that it seems to be that the pop up is using the old geometry, maybe a kwin bug?
Comment 1 David E. Narvaez 2015-12-16 15:08:09 UTC
Created attachment 96127 [details]
Application launcher pop-up
Comment 2 David E. Narvaez 2015-12-16 15:08:45 UTC
Created attachment 96128 [details]
Previous notifications pop-up
Comment 3 David E. Narvaez 2015-12-16 15:09:28 UTC
Created attachment 96129 [details]
Screenshot 1 with an overlay of the small screen over the large screen
Comment 4 Marco Martin 2016-09-20 14:01:32 UTC
multiscreen management of plasmashell changed in 5.8, please reopen if the same problem happens in Plasma 5.8 or newer