Bug 484794 - Some Fullscreen Apps get minimized when switching from one Virtual Desktop to another Virtual Desktop
Summary: Some Fullscreen Apps get minimized when switching from one Virtual Desktop to...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 6.0.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 03:11 UTC by asgardbsd
Modified: 2024-09-19 22:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description asgardbsd 2024-03-31 03:11:55 UTC
SUMMARY
Some apps, since I upgraded from KDE5 (openSUSE TW snapshot 2024-03-07) to KDE6 (openSUSE TW snapshot 2024-03-29), now get minimized when switching from one Virtual Desktop to another.

I first noticed this bugs right after upgrading to KDE6, cause one of the game I was always playing now had this issue. It seem to only affect TRUE full screen mods, and not just maximized window. Whats more, not all apps are affected. Couldn't find a common denominator yet. Some are Wines apps, some are Native...

STEPS TO REPRODUCE
1. Open a true full screen apps
2. Switch from one Virtual desktop to another (Either through shortcut (CTRL + Meta + Keyboard Arrow key), through Cube, or through Meta + G

OBSERVED RESULT
After having switched to another VD, some fullscreen apps immediately get minimized. One can see that with different ways ; Either by going back to the virtual desktop with the apps, where one will notice the apps is now minimized, or by opening the Cube, where on the cube's surface where the apps was supposed to appear, its now an empty cube face with the desktop.

Here are some example of apps where bug trigger or not ;
- WoT in Lutris (Wine + Proton) : Bug happen
- Tropico 5 in steam (Linux Native) : Bug don't happen
- Stellaris in steam (Linux Native) : Bug happen
- Cities Skylines in steam (Linux Native) : Bug don't happen
- Baldure gate 3 in steam (Wine + Proton) Bug don't happen

From speaking with people on Fedora discord, someone using Arch linux was able to reproduce same bugs with a fullscreen Minecraft window... Arch linux and KDE plasma 6.0.3

EXPECTED RESULT
When switching from one Virtual desktop to another virtual desktop, apps should not get minimized.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE TW, snapshot 2024-03-29, KDE plasma 6.0.3
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.0.3

ADDITIONAL INFORMATION
- Kernel 6.8.1
- AMD GPU with opensource driver. AMD Radeon RX7900 XTX
Comment 1 Ali 2024-04-01 01:36:11 UTC
+1, I can reproduce on Arch Linux with Plasma 6.0.3 Wayland.
Games tested:
Stardew Valley - bug doesn't happen - Native 
Half Life 1 - bug doesn't happen - Native
Terraria - bug doesn't happen (though the preview seems a lil glitched when switching back? gameplay is unaffected though) - Native
Pizza Tower - bug does happen - Proton/Steam
Brawlhalla - bug doesn't happen - Proton/Steam
Deltarune - bug does happen - Proton/Steam
Shovel Knight - bug does happen - Native
Minecraft (Tested under OpenGL/Xwayland, OpenGL/Native Wayland via WayGL,Vulkan/Wayland) - bug does happen - Native (NOTE: Enabling windowed fullscreen by way of clicking the titlebar and enabling the fullscreen option from plasma does not have this bug happen)

I think this might apply to other apps that have a fullscreen function built in, but every other app I've fullscreened using the option available by right clicking the title bar > more actions > fullscreen doesn't result in this bug happening.

 SYSTEM DETAILS:
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.6.23-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6267U CPU @ 2.90GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Graphics 550
Manufacturer: Apple Inc.
Product Name: MacBookPro13,2
System Version: 1.0
Comment 2 Zamundaaa 2024-09-19 22:15:29 UTC
Unfortunately this is something that most games do. There's nothing we can do about it, games are just that stupid :(