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

Konrad Materka <mate...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/pla |https://commits.kde.org/pla
                   |sma-workspace/02bbef3b506aa |sma-workspace/69786a1ff9471
                   |4c605cee88bd39a6d88dea63f34 |8daf4de2d814037e70df079ec97
   Version Fixed In|5.17.4                      |5.18.0
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #20 from Konrad Materka <mate...@gmail.com> ---
Git commit 69786a1ff94718daf4de2d814037e70df079ec97 by Konrad Materka.
Committed on 08/01/2020 at 16:06.
Pushed by kmaterka into branch 'master'.

[XembedSNIProxy] Hide container window when something shows it

Summary:
For each tray icon XEmbedSNIProxy is creating container window 32x32 in size.
It is black with opaque set to 0 (fully transparent when compositor is
enabled). All of these container windows are stacked below all windows, so
normally you can't see them. On creation all container windows are created in
top-left corner. When user clicks on the tray icon, container window is moved
to the click location (to handle events correctly).
On KWin restart all windows are shuffled, usually KWin is able to restore
ordering correctly, but for some reason not it this case. As a result
black/transparent container windows are stacked above all other windows and
panels.
To solve that, when container window is visible, XembedSNIProxy needs hide it
again by stacking the container window below again.
FIXED-IN: 5.18.0

Test Plan:
1. Run any application with XEmbed system tray icon, do not click on the icon
2. Restart KWin
3. [Optional] Disable compositor - with disable container window is black and
easier to spot
4. Expected:
a) before fix: black/transparent rectangle in the top-left corner, reacts to
mouse click
b) after fix: no rectangle, mouse clicks work as expected.

Reviewers: #plasma_workspaces, #plasma, davidedmundson

Reviewed By: #plasma_workspaces, #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

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

M  +10   -15   xembed-sni-proxy/fdoselectionmanager.cpp
M  +23   -9    xembed-sni-proxy/sniproxy.cpp
M  +4    -2    xembed-sni-proxy/sniproxy.h

https://commits.kde.org/plasma-workspace/69786a1ff94718daf4de2d814037e70df079ec97

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

Reply via email to