https://bugs.kde.org/show_bug.cgi?id=401172

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/pla
                   |                            |sma-framework/d25bc3ce21387
                   |                            |79e1b14ca0f7463396299b3ee1c
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #3 from David Edmundson <[email protected]> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to