Summary: | Alt+tab with only Thumbnail Grid tabbox brings another window to front, but the focus remains on the first window | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Branimir Amidzic <mail> |
Component: | effects-tabbox | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ales.astone, ben+kde, dancol, ilmari.lauhakangas, kevin, m.weghorn, mail, nate |
Priority: | NOR | ||
Version First Reported In: | 6.2.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | 88c260ab261cb79425cbe5755c6c2758a4b3c19f | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: | Demonstration of reported issue |
Description
Branimir Amidzic
2024-11-05 15:03:05 UTC
Interesting issue. When I follow the steps in your screen recording exactly, I can't make it happen, though. My system: Operating System: Fedora Linux 41 KDE Plasma Version: 6.2.80 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.0 Kernel Version: 6.11.5-300.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 7840U w/ Radeon™ 780M Graphics Memory: 14.9 GB of RAM Graphics Processor: AMD Radeon 780M Can you try again in a new clean user account on the same machine? Hello, Nate! Yes, I can confirm it happens with newly created account. I tried downgrading to v.24.8.0 and the issue is still present. Regards! That is extremely strange. Thanks for testing. I've also noticed this and I remember accidental input into other applications than LibreOffice as a cause. Probably LibreOffice was involved in these cases as I'm always tinkering with it somehow. Especially bad is that keyboard shortcuts target the wrong window, so I might accidentally close a browser tab with unsubmitted text in a field. Testing now per Branimir's steps, I can't reproduce exactly. I did initially get a behaviour where text input did not go *anywhere* after switching. Hitting arrow keys did grab focus into the expected Calc window after that. But after testing for a while, input started working fine and remained consistent. Quitting LibreOffice and retrying, I was again in the state where text input did not appear after switching. But let's set to confirmed per this result anyway. Operating System: EndeavourOS [Arch Linux] KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.11.5-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-6700K CPU @ 4.00GHz Memory: 31.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 530 Version: 24.8.1.2 (X86_64) / LibreOffice Community Build ID: 480(Build:2) CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US 24.8.1-1 Calc: threaded (In reply to Buovjaga from comment #4) > I've also noticed this and I remember accidental input into other > applications than LibreOffice as a cause. Thanks for confirming. Since you mentioned other apps, I noticed one problem with Dolphin. When I Alt+TAB to Dolphin window sometimes I can't grab the selected file (although it is selected). I need to press ESC, select it again and then I can grab it. I think that this problem is also gone now that I'm using "Compact" effect for Alt+TAB and not Thimbnail Grid as before. Oops, I forgot to actually test after deactivating Thumbnail Grid and I still repro. Maybe I'll undo the confirmation then. Here's better demonstration involving two Calc windows and one Dolphin window (https://nextcloud.ambraspace.com/index.php/s/P85wZ7YjfrYi6Pa). This was tested with completely new user account. I also tried two AppImage versions: Fresh, v.24.8.2.1 Still, v.24.2.7.2 and the issue also exists. (In reply to Branimir Amidzic from comment #7) > Here's better demonstration involving two Calc windows and one Dolphin > window (https://nextcloud.ambraspace.com/index.php/s/P85wZ7YjfrYi6Pa). > This was tested with completely new user account. I do repro the issue of not being able to drag a file in Dolphin after Alt+Tabbing from LibreOffice, so I suppose I can set to confirmed. A couple of days ago another KDE-using LibreOffice developer confirmed seeing this sort of Alt+Tab weirdness. I'm not sure if it's this same thing, but I am seeing alt-tab + thumbnail grid focus issues here on fedora rawhide ( kwin-6.2.3-1.fc42.x86_64 ) it's only thumnail grid, all the other visiulizations seem to handle focus fine. Just hitting alt or some other key with the unfocused window up brings it into focus. *** Bug 496406 has been marked as a duplicate of this bug. *** |