Summary: | The Activities switcher steal the focus after I switch using meta+tab and after that it does not autohide | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | whoopsdecade <jcdopsec> |
Component: | Activity Switcher | Assignee: | Ivan Čukić <ivan.cukic> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | airdrik, jim.duchek, jlmaturanag, kde, macieksitarz, mathojojo, nate, plasma-bugs, thomas.surrel |
Priority: | NOR | ||
Version: | 5.12.2 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-desktop/c1f3b45cabe0cf89e13a5b1c9b7a673992320826 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Fix
Desktop.qml |
Description
whoopsdecade
2018-05-06 16:28:06 UTC
I've also run into this on PCLinuxOS, Plasma 5.12.4 (not sure if I've updated to 5.12.5 yet, though I know I've seen this for a couple minor releases at least). This behaviour has been around for quite a while. It's very annoying, I haven't found any workaround as of yet. It is not even 'reproducible' (though it happens all the time). It seems to be a timing issue of some sort -- Doing meta-tab very slowly makes it never seem to occur... going _very_ fast seems to make it rarer as well. I turned off meta (the Windows key) opening up the application menu, wondering if it might be a conflict. This did not help. Created attachment 112784 [details]
Fix
Oops, I meant to provide more information with the attached patch. I will try to get that upstream but in the meantime you can apply the patch to the Desktop.qml file (you don't need to recompile anything). On ArchLinux you can find it under /usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/. Please confirm that fixes the issue for you as well. Thomas, thanks for the patch! I suggest to add it to https://phabricator.kde.org/differential/diff/create/ to get Plasma developers seeing it. It's done: https://phabricator.kde.org/D13012 Thomas -- the patch appears to work for me. I have never been able to reproduce the bug 100% of the time, but it was quite common. It has not appeared since I applied your patch. Git commit d234b8fde4c3c131545686a117e284b31c6a95a9 by Nathaniel Graham, on behalf of Thomas Surrel. Committed on 22/05/2018 at 20:35. Pushed by ngraham into branch 'master'. Activity switcher auto-hide when using Meta-Tab Summary: Commit 174aa217180434ab93b899d9c7cf967bd2daff7e created a new issue where the activity switcher would not hide anymore when switching activities with the Meta-Tab global shortcut and releasing the keys under one second. This patch fixes this by unconditionnal toggling the activity switcher visibility if it should be hidden, but keeping the timestamp condition before showing it, so that both Meta-q and Meta-Tab behaves correctly. Reviewers: mart, ngraham Reviewed By: mart, ngraham Subscribers: ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D13012 M +6 -7 desktoppackage/contents/views/Desktop.qml https://commits.kde.org/plasma-desktop/d234b8fde4c3c131545686a117e284b31c6a95a9 *** Bug 394798 has been marked as a duplicate of this bug. *** Nice work, but I'm not developer. How do I use the attached file with my Desktop.qml ?? A copy/paste ? where? Sorry Created attachment 112953 [details]
Desktop.qml
I have eattached the full file, if it can help others while the fix makes its way into an official release.
Git commit c1f3b45cabe0cf89e13a5b1c9b7a673992320826 by James D. Smith, on behalf of Thomas Surrel. Committed on 02/06/2018 at 18:49. Pushed by smithjd into branch 'Plasma/5.13'. Activity switcher auto-hide when using Meta-Tab Summary: Commit 174aa217180434ab93b899d9c7cf967bd2daff7e created a new issue where the activity switcher would not hide anymore when switching activities with the Meta-Tab global shortcut and releasing the keys under one second. This patch fixes this by unconditionnal toggling the activity switcher visibility if it should be hidden, but keeping the timestamp condition before showing it, so that both Meta-q and Meta-Tab behaves correctly. Reviewers: mart, ngraham Reviewed By: mart, ngraham Subscribers: ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D13012 M +6 -7 desktoppackage/contents/views/Desktop.qml https://commits.kde.org/plasma-desktop/c1f3b45cabe0cf89e13a5b1c9b7a673992320826 This is super weird. The last message shows we got a committed in 5.13, but it's not in the repo. There was a forced rewind in June after a bad merge. Probably around this time. Right now commit is only in master. (In reply to Thomas Surrel from comment #4) > Oops, I meant to provide more information with the attached patch. I will > try to get that upstream but in the meantime you can apply the patch to the > Desktop.qml file (you don't need to recompile anything). On ArchLinux you > can find it under > /usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/. > > Please confirm that fixes the issue for you as well. btw after applying this fix "Move to activity" (right click on window item on the bottom panel) stopped working. Don't know why. This is still a problem. When I press meta+tab, the activity switcher appears but doesn't auto-hide and I cannot get rid of it no matter what I do. I have to logout and start a new plasma session. The window switcher (alt+tab) works as expected and I suppose that the way the activity switcher should work Operating System: Manjaro Linux KDE Plasma Version: 5.19.3 KDE Frameworks Version: 5.72.0 Qt Version: 5.15.0 Kernel Version: 5.7.9-1-MANJARO *** This bug has been marked as a duplicate of bug 424020 *** |