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

            Bug ID: 448119
           Summary: [Wayland] Browser CSD decorations create "dead zone"
                    where shadow is, preventing click-through
           Product: kwin
           Version: 5.23.5
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: ryan...@gmail.com
  Target Milestone: ---

Created attachment 145225
  --> https://bugs.kde.org/attachment.cgi?id=145225&action=edit
showing the bug with "dead zone" outlined in red corresponding to the CSD
shadow

SUMMARY
I am unable to switch to a window which is mostly obscured (just part of it
showing underneath the focused browser window) by a CSD browser window, I
originally discovered this with Brave (no title bar enabled/CSD) in Plasma
Wayland Session.  It works fine in Plasma (X11).  I mostly notice this on the
main monitor of my multi-monitor setup (Shimian (LG Panel) detected as "Aculab"
27" 2560x1440 no rotation on left, HP ZR2240w 1920x1080 rotated clockwise on
right).  In fact, there appears to be a "dead zone" for the entire part of the
shadow of the CSD browser window.  I tried dconf-editor which is a gtkheaderbar
application, but it did NOT exhibit this behavior.  I then tried Google Chrome,
which DOES exhibit this same "dead zone" behavior, albeit the zone appears to
be slightly different depending whether you use the inbuilt theme or GTK.  I
was able to reproduce it with the default "Breeze" theme, other GTK themes,
various window decorations, and in both "default" and "GTK" modes of both
browsers.  I was also able to reproduce the issue in Firefox after overriding
the default behavior which is to "Show Titlebar" (customize menu).

STEPS TO REPRODUCE
1. Install Brave Browser or Google Chrome (or Firefox)
2. Right click empty part of tab bar, uncheck "Use system titlebars and
borders" (or right click Firefox userchrome, click customize, uncheck Title
bar)
3. Put terminal overlapping browser window, put it underneath.  You should be
able to see exactly where the "dead zone" from the shadow ends (on Konsole,
your mouse cursor should change from an Arrow (default) to an I-beam when it's
past the "dead zone" and officially in the terminal.

OBSERVED RESULT
Unable to click on shadow area of these browsers in non-titlebar mode

EXPECTED RESULT
Same as X11, you should be able to utilize this area and be able to click
windows along the sides and bottom of the browser window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon User Edition (Linux 5.11.0-44 x86_64)
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

WORKAROUND:
For the time being, the best way to avoid this behavior is to use the server
side decorations in the affected browser.  On both Chromium and Brave, you can
right-click the title bar and choose to "Use System title bars and borders". 
On Firefox, (it's the default), you can right click the user interface area,
click Customize, and check "Title bar".

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

Reply via email to