Bug 365864 - Display layout preview renders off-window in Display Configuration using Wayland
Summary: Display layout preview renders off-window in Display Configuration using Wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: KScreen
Classification: Plasma
Component: kcm (show other bugs)
Version: 5.7.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL: https://dl.dropboxusercontent.com/u/4...
Keywords:
: 379819 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-19 14:54 UTC by Eric Hermes
Modified: 2017-05-14 18:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot from Weston (83.84 KB, image/png)
2016-07-21 14:21 UTC, Martin Flöser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Hermes 2016-07-19 14:54:35 UTC
In Display and Monitor: Display Configuration, the display layout preview renders even if it is scrolled off-window. This only happens when logged into a Wayland Plasma session. 

Reproducible: Always

Steps to Reproduce:
1. Log into a Wayland Plasma session
2. Navigate to System Settings: Display and Monitor: Display Configuration
3. Scroll down in "Manage and configure monitors and displays"

Actual Results:  
The display layout preview continues to be rendered over the window chrome and even outside of the System Settings window.

Expected Results:  
The display layout preview is hidden by the window chrome, and does not render outside of the System Settings window.

I am using Gentoo with Plasma 5.7.1, KDE Frameworks 5.24.0, and KDE Apps 16.04.3. Here are the results of emerge --info kde-plasma/systemsettings:

https://gist.github.com/ehermes/b34efdfadbefa23d5b087c9fdd8d0835

The system is running in VMWare Workstation 12 Pro version 12.1.1. I have open-vm-tools (from the vmware github repository) version 10.0.0 installed. I am using the vmwgfx DRM driver built into the Linux kernel (version 4.6.4).
Comment 1 Eric Hermes 2016-07-20 15:15:53 UTC
Updated to Plasma 5.7.2, problem persists.
Comment 2 Sebastian Kügler 2016-07-21 10:04:30 UTC
This was the case until we implemented subsurface support in Wayland, which should be fixed in 5.7. Martin, any idea?
Comment 3 Martin Flöser 2016-07-21 11:29:30 UTC
please provide screenshot of the problem
Comment 4 Eric Hermes 2016-07-21 11:30:45 UTC
There was a screenshot in the URL for this bug report: https://dl.dropboxusercontent.com/u/45069517/plasma_wayland_offscreen.png
Comment 5 Martin Flöser 2016-07-21 12:19:19 UTC
can you please run:
WAYLAND_DEBUG=1 systemsettings5
Comment 6 Eric Hermes 2016-07-21 14:01:35 UTC
Yes, here is a log of me reproducing the bug https://gist.github.com/ehermes/f2acaf5118fb12ae5646f3cf3eaa431c

Let me know if you wanted something else, I'm not certain this is what you were asking for.
Comment 7 Martin Flöser 2016-07-21 14:13:09 UTC
all right, I'm able to reproduce. The key here is that one needs to scroll down, so that the subsurface moves up. I'm not sure whether that's now actually a problem in KWin or Qt.
Comment 8 Martin Flöser 2016-07-21 14:16:24 UTC
Just tested on weston: there it behaves the opposite way around: the QtQuick view stays in the position and the options scroll below -> QtWayland bug.
Comment 9 Eric Hermes 2016-07-21 14:19:28 UTC
Should I submit this to the Qt bug tracker? I'm not sure I understand what makes you believe this is a QtWayland bug, so I don't know how I would phrase the bug report.
Comment 10 Martin Flöser 2016-07-21 14:21:32 UTC
Created attachment 100234 [details]
Screenshot from Weston

How it looks like on Weston
Comment 11 Martin Flöser 2016-07-21 14:22:04 UTC
(In reply to Eric Hermes from comment #9)
> Should I submit this to the Qt bug tracker? I'm not sure I understand what
> makes you believe this is a QtWayland bug, so I don't know how I would
> phrase the bug report.

I'll take care of it.
Comment 12 Martin Flöser 2016-07-21 14:34:41 UTC
reported: https://bugreports.qt.io/browse/QTBUG-54888
Comment 13 Sebastian Kügler 2016-10-16 22:02:19 UTC
Closing this one as upstream, then.
Comment 14 Martin Flöser 2017-05-14 18:46:16 UTC
*** Bug 379819 has been marked as a duplicate of this bug. ***