Bug 468568 - Wrong alt tab order with full screen video + gnucash
Summary: Wrong alt tab order with full screen video + gnucash
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.27.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-16 12:06 UTC by fw.smit01
Modified: 2023-08-28 19:44 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 fw.smit01 2023-04-16 12:06:45 UTC
SUMMARY
In some situations, alt tab does not go to the last window used, but instead goes to some window used before that.
I often experience that alt-tab doesn't go to the right window, but this one is easily reproducible so it should help fix the underlying issue

STEPS TO REPRODUCE
1. Open some window (for example dolphin)
2. Open youtube in firefox
3. Start a video
4. Start gnucash
5. Quickly press f to fullscreen firefox
6. Wait for gnucash to start
7. Press f again to exit full screen
8. Press alt+tab

OBSERVED RESULT
When exiting full screen you see the gnucash window, which is fine. But if you press alt-tab, you go to the dolphin window, while it's not the most recently used window.

EXPECTED RESULT
Either one of these is fine
1. alt-tab should go back to firefox
2. when exiting the fullscreen video you should see the firefox window. Alt-tab should go to the gnucash window.  

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: HP
Product Name: HP ZBook Studio G5

ADDITIONAL INFORMATION
You might need to go past the welcome screen of gnucash to reproduce this.
Comment 1 Zamundaaa 2023-08-02 13:31:40 UTC
Does this also happen on Wayland?
Comment 2 Bug Janitor Service 2023-08-17 03:45:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 fw.smit01 2023-08-26 11:53:44 UTC
I tried reproducing in wayland, but cannot reproduce it there. Instead the gnucash window goes on top after starting and alt-tabbing goes back to the video window. This not the unexpected alt-tab behavior as in the report. I'm not sure if it's still reproducible in X11, since I don't use it anymore. Feel free to close the bug report.