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

David Gow <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from David Gow <[email protected]> ---
I'm seeing what I think is the same issue with Plasma 5.23.3 on OpenSUSE
Tumbleweed with all SDL2 applications when fullscreen.

What appears to be happening is that the application is receiving a configure
request to resize itself to 1×1, which SDL2 accepts. In my case, due to a scale
factor of 2.00, this results in the game rendering to a 2px×2px buffer, which
is what shows up in the taskbar thumbnail preview.

SDL2 has code to ignore resizes from configure events which try to resize a
non-resizable window, but it only takes effect in non-fullscreen modes. 

I haven't found toggling VSync does anything here: the game gets a 1×1
configure event regardless. Nor am I running applications in Flatpack. Equally,
I can reproduce this with the latest main branch of SDL2. As noted, setting
SDL_VIDEODRIVER=x11 works around the issue by using XWayland.

Excerpts from WAYLAND_DEBUG which illustrate the issue:
[449104.573]  -> [email protected]_fullscreen(wl_output@16)
[449106.869] [email protected]_id(27)
[449107.012] [email protected](1600, 900, array)
[449107.061] [email protected](65673)
[449107.112]  -> [email protected]_buffer_scale(2)
[…]
[449384.857] [email protected](1, 1, array)
[449384.874] [email protected](65674)
[449384.887]  -> [email protected]_buffer_scale(2)
[449384.899]  -> [email protected]_region(new id wl_region@32)
[449384.909]  -> [email protected](0, 0, 1, 1)
[449384.929]  -> [email protected]_opaque_region(wl_region@32)
[449384.938]  -> [email protected]()
[449384.944]  -> [email protected]_window_geometry(0, 0, 1, 1)
[449384.963]  -> [email protected]_configure(65674)

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

Reply via email to