Summary: | Task manager sometimes opens new instance of an already-running app on left click when using wayland | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | zellox <zellox> |
Component: | Task Manager and Icons-Only Task Manager | Assignee: | Eike Hein <hein> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | 1i5t5.duncan, andihartmann, anubhabghosh.me, bigsqueaks, d.schroeter, kde, kubapet, mangoo, nate, plasma-bugs, postix, qydwhotmail, rocihic162, sites+kdebugs, sourcework, zellox |
Priority: | NOR | Keywords: | wayland |
Version: | 5.25.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | task manager while bug is occuring |
Description
zellox
2021-09-12 06:48:17 UTC
Haven't seen this yet. Which apps? Is it consistent? When it happens, it affects all apps on the task manager. It occurs probably every 2-3 days. This is on a relatively new install from earlier this year. Is there any debug logs I can get that might help (when it occurs)? 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! See info above Some further info. Clicking on e.g. the kde notification systray icon will temporarily fix the bug. Will test 5.23 when it is released on arch linux. It's released now. Is it still happening in 5.23? (In reply to Nate Graham from comment #6) > It's released now. Is it still happening in 5.23? Yep it's still occurring on 5.23. Oh! I might know what this is. Can you attach a screenshot of your task manager when it's in this state? (In reply to Nate Graham from comment #8) > Oh! I might know what this is. Can you attach a screenshot of your task > manager when it's in this state? Sure will do. Might take a while as I'm using this particular desktop (with wayland) less often, but will reply once I get it. 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! Pending recurrence (I use this desktop less often currently). 99% sure this is Bug 429168. *** This bug has been marked as a duplicate of bug 429168 *** (In reply to Nate Graham from comment #12) > 99% sure this is Bug 429168. > > *** This bug has been marked as a duplicate of bug 429168 *** What makes you say that? (In reply to zellox from comment #13) > (In reply to Nate Graham from comment #12) > > 99% sure this is Bug 429168. > > > > *** This bug has been marked as a duplicate of bug 429168 *** > > What makes you say that? [as original reporter of the duped bug, hope this answers your question] While the duped bugs don't seem to be identical (mine won't show running windows at all, for instance, yours and some other dupes show running windows normally but the theory seems to be that it's losing track of the running instances so starts a new one if clicking on a pinned icon), I believe they're being marked dupe on the theory that the investigation and fix for any of them will be a sufficiently big change that the others will either be fixed with it, or at minimum, change the situation sufficiently that closing them all together and filing new bugs for any remaining buggy behavior would be the most efficient way forward. I actually expect these other "works intermittently" bugs (including this one) to be fixed first, but with any luck that'll fix my bug too, and if not, it's likely to at least point to a fix for mine. (I'm not a dev but can do the occasional hack-patch, and as a live-git user, quite often commits fixing other people's bugs are the pointer I need to allow me to do the hack-patch fixing mine. Tho in this case it may actually simply point me at the component I seem to be missing and I can either install it or decide it's not worth the hassle and that I must continue using alternative solutions.) The bug this was marked as a duplicate of was just fixed in Plasma 5.24.1, which was released today. Can you upgrade and see if it's fixed for you too? (In reply to Nate Graham from comment #15) > The bug this was marked as a duplicate of was just fixed in Plasma 5.24.1, > which was released today. Can you upgrade and see if it's fixed for you too? Sure will test it now. I haven't encountered the bug for the past two weeks (updated to 5.24) which is promising. Just to close the loop but I think this is resolved. I haven't encountered this bug for a while. Marking as fixed. This is still occurring unfortunately. I have attached a screenshot of the task manager when this is occurring as requested. KDE Plasma 5.25.4 KDE frameworks 5.96.0 QT 5.15.5 Created attachment 151551 [details]
task manager while bug is occuring
I have had this bug happen rarely. I ignored it, it seemed to not happen for a month or longer. It just happened again. The circumstances were: I had not used my computer all day, when I entered the screenlock password, my desktop was a grey screen with my mouse cursor. The only thing I could do besides ctrl+alt+Fn, was alt+space to open KRunner and execute 'kstart5 plasmashell' and the desktop appeared. No programs were shown in my task manager panel. I clicked programs pinned to my task manager, and they started. Like vivaldi, I had eight windows open up. Clicking any of the windows would open a new Vivaldi window. Same for my foot window, or any other program. The workaround I immediately used was right click worked properly and I could gain focus of windows that way. Comment 5 suggestion to click on the notification area fixed the left click opening new windows back to normal selection mode, which is left-click places windows on top when left-clicked in the task manager. For the most part KDE works great for me, but I think there are a few, perhaps wayland related, issues. I use three monitors. I add the following for relatedness or completeness. 1) Maybe every other day, when the screensaver or screenlock is timed on, all of my screens will display the same desktop image, instead of my desktop spanning across three monitors. To fix this, I go into System Settings > Display and Monitor, and re-arrange and re-size the overlayed monitor rectangles to my normal desktop setup. 2) Daily, when I unlock my system from the screenlock, applications are somehow re-arranged across my three monitors. Curiously, not all on the same monitor. 3) Daily but less frequently than apps re-arranging, opening menus (File, Edit, etc) will not be placed as expected, they appear somewhere else floating on the screen. Their position may be related to screen edges or corners. I can't remember them appearing just in the middle randomly. Operating System: Arch Linux KDE Plasma Version: 5.25.4 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.5 Kernel Version: 5.19.2-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon R9 390 Series Same problem here with Plasma 5.26.3. Left click on an already running app (icon) in the taskbar opens a new instance of the app. This happens with each active program - not just one. Mouse over the program icon until the small preview of the program appears and clicking on this preview works as expected. As zellox wrote, clicking on the notification systray makes the problem disappear here, too. Exactly the same issue happens to me.. Time to time, like mentioned, at least once per day. It affects all apps and it keeps opening new instances. Once I click on the systray or minimize all windows and click desktop, the problem disappears and clicking certain app in taskbar reactivates the existing instance(s) again. It gets really annoying If anyone feels the bug is unbearable, https://invent.kde.org/plasma/kwin/-/merge_requests/3481 is worth a try. However, the fix is not the best fix so it won't be merged to upstream kwin. STEPS TO REPRODUCE: - Enable "Textual list" - Open many Konsole windows - Open the textual list by clicking the group parent task of Konsole - Shift+Click one task item in the list *** Bug 465118 has been marked as a duplicate of this bug. *** This happens also for me - randomly - on Kubuntu 23.04. Extremely annoying. *** Bug 465377 has been marked as a duplicate of this bug. *** I also expire this problem in Debian 12 (Plasma 5.27.5-2). I'm not quite sure but it may be related with Vivaldi. I just closed the browser, re-opened it and the behavior suddenly disappeared. As far as I remember, it could always have been the case that a Vivaldi window was open when the bug occurred, even if the problem is not limited to the Vivaldi-Window when it appeared. Another user also mentioned Vivaldi in comment #c20. (In reply to Roland Tapken from comment #28) > I'm not quite sure but it may be related with Vivaldi. I just closed the > browser, re-opened it and the behavior suddenly disappeared. > > As far as I remember, it could always have been the case that a Vivaldi > window was open when the bug occurred, even if the problem is not limited to > the Vivaldi-Window when it appeared. Another user also mentioned Vivaldi in > comment #c20. I am the commenter in #20. I have not experienced this bug in months now. I also coincidentally have quit using vivaldi. However, I may have had some hardware changes, and many other updates. Operating System: Arch Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.112.0 Qt Version: 5.15.11 Kernel Version: 6.6.7-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD FirePro W5100 Manufacturer: Gigabyte Technology Co., Ltd. Product Name: X570 AORUS MASTER System Version: -CF I have tried the patch from #23, it does not solve the problem Just happened for me today with Konsole. KDE Plasma Version: 5.27.10 KDE Frameworks version: 5.112.0 Qt Version: 5.15.10 I just found out that when this behaviour occurs, Wayland interprets the normal mouse click as "middle mouse button". And I have the feeling that this does not only affect the taskbar, because also the tabs in Vivaldi behaved weird in this situation. Workaround, at least for the taskbar: Disable the middle mouse click function in the taskbar settings. > Workaround, at least for the taskbar: Disable the middle mouse click function in the taskbar settings.
Where exactly is this setting?
(In reply to Tomasz Chmielewski from comment #33) > > Workaround, at least for the taskbar: Disable the middle mouse click function in the taskbar settings. > > Where exactly is this setting? Right click task bar -> more -> configure task manager -> behavior -> configure "middle-clicking any task" I never considered this workaround but it's not ideal because then you'll get getting strange behaviours in other apps (as all left clicks will act like middle clicks) and unless you remember this, you might think it's some other weird bug and waste time debugging that. I still get this bug but less frequently. Probably about once every 2-3 weeks. I also have this issue. One thing I've noticed is that this bug only occurs for me when I have more than one virtual desktop. When deleting all extra virtual desktops on Wayland it works as expected. To reproduce on my end, I open Firefox on virtual desktop one and use a keyboard shortcut to go to the right desktop then a shortcut to go back to the left desktop (original with Firefox open), and this reported bug occurs where clicking on FF in the task manager opens a new instance instead of showing the existing one(s). After initiating the above steps, double clicking the application launcher to open and close it seems to fix it in that FF will now show the current instances instead of opening new ones. Although, moving virtual desktops again will trigger this bug and I would have to double click the application manager to set it back to normal. Disabling the middle mouse click function in taskbar settings, as mentioned in a comment here, did not work in my instance. plasma 5.27.8 ; still happening from time to time |