Bug 415124 - Neon unstable edition: widget explorer and notifications are semi-transparent and unresponsive to mouse clicks on Wayland
Summary: Neon unstable edition: widget explorer and notifications are semi-transparent...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-wayland (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 369867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-12-13 09:02 UTC by Patrick Silva
Modified: 2019-12-22 19:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.66


Attachments
screenshot (233.72 KB, image/png)
2019-12-13 09:02 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-12-13 09:02:09 UTC
Created attachment 124457 [details]
screenshot

SUMMARY
See the attached screenshot please.
Cannot undo widget removing because click on "Undo" button has no effect.
Clicks on any part of the widget explorer also have no effect.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.17.80
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.2
Comment 1 David Edmundson 2019-12-13 09:08:45 UTC
Ack. I've seen it too. 

I suspect it's on the kwin side, but we can leave it here and investigate.
Comment 2 Patrick Silva 2019-12-13 09:30:50 UTC
OSDs (volume level adjust, virtual desktop switching, screen brightness adjust)
and sometimes tooltips of items in plasma panel also are semi-transparent.
Comment 3 David Edmundson 2019-12-13 09:39:17 UTC
If you can play with kwin effects and narrow down if any are keeping the window alive accidentally that would help.
Comment 4 David Edmundson 2019-12-22 11:37:11 UTC
Git commit d25bc3ce2138779e1b14ca0f7463396299b3ee1c by David Edmundson.
Committed on 22/12/2019 at 11:37.
Pushed by davidedmundson into branch 'master'.

Sync QWindow flag WindowDoesNotAcceptFocus to wayland plasmashell interface

Summary:
Currently the widget explorer relied on some QML code calling
KWindowSystem::forceActiveWindow which on plasma implicitly set this
hint.

This works for the first show, but the order of events is somewhat
unreliable. It's invoked from QML when the window is ready, but for the
second show this is before the wl_surface is created and it no-ops.

By syncing the flags in applyType() we can guarantee we call this both
when setFlags is called and when the wl_surface is created in the
correct order.
Related: bug 401172

Test Plan:
Ran plasmashell
Opened widget explorer twice
Had focus each time

Reviewers: #kwin, #plasma, romangg

Reviewed By: #kwin, #plasma, romangg

Subscribers: kde-frameworks-devel

Tags: #frameworks

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

M  +7    -0    src/plasmaquick/dialog.cpp

https://commits.kde.org/plasma-framework/d25bc3ce2138779e1b14ca0f7463396299b3ee1c
Comment 5 David Edmundson 2019-12-22 12:05:16 UTC
*** Bug 369867 has been marked as a duplicate of this bug. ***