Summary: | xdg_toplevel.set_fullscreen does not center surface and doesn't add black background/padding/bars | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Robert Mader <robert.mader> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | audvare, chrsmrtn, frank.praznik, kinetocore, nate, oleg, shtetldik, solomoncyj, thederpyworld |
Priority: | NOR | ||
Version First Reported In: | 6.2.5 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robert Mader
2022-10-27 11:14:11 UTC
For the record, SDL could use this as well, as currently the Wayland mode-switching emulation stretches everything to the display dimensions, which distorts things (especially on ultrawide displays). Attempts to implement aspect-correct scaling with subsurfaces were made, but were dropped as they proved too buggy to be usable across all desktops. Now that almost all compositors center and mask around fullscreen windows, this can be revisited, but KWin missing support means that it either couldn't be enabled by default, or KDE would need to be detected and fall back to stretching the image instead of using the correct aspect ratio. *** Bug 452731 has been marked as a duplicate of this bug. *** *** Bug 489546 has been marked as a duplicate of this bug. *** For the reference, it affects winewayalnd: https://bugs.winehq.org/show_bug.cgi?id=57456 *** Bug 501243 has been marked as a duplicate of this bug. *** Any chance of this getting fixed for 6.4? This is quite a serious issue for anyone running (e.g.) games through wine on wayland, especially if you have an OLED display. Thanks. |