| Summary: | Widget Explorer doesn't hides on focus lost on Wayland | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Alexander Mentyu <notuxius> |
| Component: | generic-wayland | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugseforuns, nate |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/plasma-framework/d25bc3ce2138779e1b14ca0f7463396299b3ee1c | Version Fixed/Implemented In: | 5.66 |
| Sentry Crash Report: | |||
|
Description
Alexander Mentyu
2018-11-18 17:13:11 UTC
*** This bug has been marked as a duplicate of bug 398669 *** ops, it's not duplicate. Just related. 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 415124 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 |