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

            Bug ID: 444332
           Summary: [Wayland] Fullscreen snapping causes incorrect window
                    size in Chromium-based browsers
           Product: kwin
           Version: 5.23.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: indecisiveautoma...@gmail.com
  Target Milestone: ---

SUMMARY
Under Wayland, "snapping" a Chromium-based browser window to fullscreen by
dragging it to the top of the window results in an incorrectly sized window on
Chromium-based browsers. It only affects these browsers when they're running on
Wayland (e.g., adding the flags "--enable-features=UseOzonePlatform
--ozone-platform=wayland"), and does not affect them under Xwayland. I have
tested Chromium, Brave, and Brave Beta.

I am unsure if this affects Electron, as the only Electron based app I use that
works with Wayland is Discord (VSCodium causes a system lockup, unable to
test). When using the above flags with Discord the issue is not present, it
correctly sets window geometry.


STEPS TO REPRODUCE
1. Open a Chromium-based web browser (including standard Chromium)
2. Drag window to the top of the screen to maximise it
3. Window is extended too far to the right and too far to the bottom, cut off
from view.


OBSERVED RESULT
When snapping Chromium-based browsers to fullscreen, the window is extended too
far to the right and too far on the bottom. However, the window is correctly
set to fullscreen. There are no rounded corners, and the maximise button
changes to a minimise button.

Double-clicking the window along the top or pressing the maximise button will
correctly set the window to fullscreen and correctly set its size. It is only
the "snap" action that causes this incorrect sizing.


EXPECTED RESULT
Snapping a window to fullscreen should maximise in the same way as double
clicking the window's titlebar or clicking the maximise button.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.14-arch1-1 (64bit)
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Does not appear to affect Electron apps, but may require additional testing.

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

Reply via email to