Bug 368790 - panel on secondary screen of dual monitor setup unclickable in wayland session
Summary: panel on secondary screen of dual monitor setup unclickable in wayland session
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-wayland (show other bugs)
Version: 5.7.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-14 08:14 UTC by solazs
Modified: 2016-10-06 15:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solazs 2016-09-14 08:14:06 UTC
My setup consists of 2 samsung s22c300 monitors. These are horizontally aligned with the one on the right being the primary display.
I've set up one panel on the bottom of each display, both of which for well under X.
In a wayland session the panel on the secondary display is present, but completely unresponsive to any mouse events. Task manager works on it (displays the windows as it should), but otherwise I'm unable to interact with it.
Full screen windows respect the panel, they align well and are not in front of or under the panel.


Reproducible: Always

Steps to Reproduce:
1. Log into X session
2. Set up displays 
3. Set up a panel on the bottom of each display
4. Log out
5. Log into wayland session

Actual Results:  
The panel on the left display is unresponsive to mouse events.

Expected Results:  
I expect to be able to interact with the panel using my mouse.

When the secondary monitor is active and ALT+F1 is pressed, the K menu jumps up and works as expected, but the panel remains unresponsive.
Comment 1 Martin Flöser 2016-09-14 08:31:15 UTC
I can confirm this. Have exactly the same problem and always thought it's just my setup.
Comment 2 Bhushan Shah 2016-10-06 15:08:10 UTC
Git commit 9c94cd136006959d881a614754a0811ae69f03cc by Bhushan Shah.
Committed on 06/10/2016 at 15:07.
Pushed by bshah into branch 'Plasma/5.8'.

[shell] Fix non-interactive panelview on non-primary screen

Summary:
If we don't pass the current screen to QCursor::pos, it will return
position relative to primary screen, which obviously won't be in panel
geometry.

Instead pass it currentScreen, this way we don't filter out the mouse
events for panel.
FIXED-IN: 5.8.1

Test Plan:
added debug statements and verified that I get correct screen position
and as well, panel is now interactive on secondary screen.

Reviewers: mart, graesslin, #plasma, sebas

Reviewed By: graesslin, #plasma, sebas

Subscribers: sebas, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2960

M  +2    -2    shell/panelview.cpp

http://commits.kde.org/plasma-workspace/9c94cd136006959d881a614754a0811ae69f03cc