Bug 491100 - Reordering the icon in the Task Manager makes first click on other icons unresponsive
Summary: Reordering the icon in the Task Manager makes first click on other icons unr...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.1.3
Platform: Other Linux
: HI normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords: usability
: 489794 489809 490059 491949 492129 493925 499252 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-08-01 07:59 UTC by bahasnyldz
Modified: 2025-02-15 04:35 UTC (History)
25 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bahasnyldz 2024-08-01 07:59:48 UTC
STEPS TO REPRODUCE
1- Rearrange a taskbar icon
2- Try to click on a non-arranged application
3- It does not respond to the first click

Video: https://streamable.com/jgjurx

SOFTWARE/OS VERSIONS
Operating System: Bazzite 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.12-201.fsync.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 3 5300U with Radeon Graphics
Memory: 6,6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82KD
System Version: Lenovo V15 G2 ALC
Comment 1 Nate Graham 2024-08-01 16:10:38 UTC
Oh wow, can reproduce. I wonder how I never noticed this before.
Comment 2 Nate Graham 2024-08-09 20:48:59 UTC
*** Bug 489794 has been marked as a duplicate of this bug. ***
Comment 3 pallaswept 2024-08-10 18:20:05 UTC
Dupe of https://bugs.kde.org/show_bug.cgi?id=489809
Comment 4 pallaswept 2024-08-10 18:25:17 UTC
*** Bug 489809 has been marked as a duplicate of this bug. ***
Comment 5 Niccolò Venerandi 2024-08-13 08:14:41 UTC
Qt bug with ongoing fix upstream: https://bugreports.qt.io/browse/QTBUG-127821
Comment 6 pallaswept 2024-08-13 10:32:03 UTC
(In reply to Niccolò Venerandi from comment #5)
> Qt bug with ongoing fix upstream:
> https://bugreports.qt.io/browse/QTBUG-127821

Nice!

Thanks for your help with this and letting us know.
Comment 7 Niccolò Venerandi 2024-08-27 12:40:44 UTC
*** Bug 492129 has been marked as a duplicate of this bug. ***
Comment 8 pallaswept 2024-08-27 13:58:04 UTC
I heard rumour elsewhere, that this patch is intended to fix this issue: https://codereview.qt-project.org/c/qt/qtwayland/+/565408

If there's any validity to that rumour, I'd be interested to try it out?
Comment 9 Nate Graham 2024-08-29 20:09:08 UTC
It's actually https://codereview.qt-project.org/c/qt/qtwayland/+/581714
Comment 10 pallaswept 2024-08-30 02:53:06 UTC
(In reply to Nate Graham from comment #9)
> It's actually https://codereview.qt-project.org/c/qt/qtwayland/+/581714

Thanks Nate!

Works great here, can confirm that patch resolves this issue at my machine.

I'd normally like to help out my distro by packaging a cherry-picked patch like this, but it seems like it might be too soon for me to go ahead yet(?). I'll keep an eye on that link for when it is approved at that end, but if you feel like it's safe to go ahead and patch distro packages, let me know.

Thanks again and have a good weekend :)
Comment 11 m.kurz 2024-09-12 22:23:36 UTC
*** Bug 490059 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2024-10-01 17:00:05 UTC
*** Bug 493925 has been marked as a duplicate of this bug. ***
Comment 13 pallaswept 2024-10-11 10:03:31 UTC
FYI the above patch is no longer functional in 6.2 - with or without it, Task Manager entries can not be moved at all.

I'll file a separate bug for that, but I wonder if maybe the Icons-and-Text Task Manger is missing from some tests?
Comment 14 saunders 2024-10-11 15:10:29 UTC
I forgot to remove the patch and had the same issue, which also affected moving files in dolphin as well. Removed the patch and recompiled dev-qt/qtwayland (gentoo), rebooted and the issue went away.
Comment 15 Nate Graham 2024-10-11 19:38:36 UTC
*** Bug 491949 has been marked as a duplicate of this bug. ***
Comment 16 pallaswept 2024-10-12 01:05:39 UTC
(In reply to saunders from comment #14)
> I forgot to remove the patch and had the same issue,  Removed the patch and recompiled dev-qt/qtwayland (gentoo), rebooted and the issue went away.

So, plasma 6.2 fixed this bug for you, even without the qt fix above?

For me, the qt patch was added to the distro's stock qt6-wayland package, so I removed my modified package and that installed the distro's stock package in its place. The original problem persists, as does the new one.

> which also affected moving files in dolphin as well.

This sounds like a different bug.
Comment 17 pallaswept 2024-10-12 06:38:47 UTC
(In reply to pallaswept from comment #16)
> (In reply to saunders from comment #14)
> > which also affected moving files in dolphin as well.
> 
> This sounds like a different bug.

Apologies, I misunderstood. I thought that you meant that you saw this dolphin bug with the previously reported bug. In fact, it's a new behaviour. I've just come across it, myself, with 6.2. 

Like the drag'n'drop bug, for me at least, it persists with or without the qt patch from this bug. If you've found a workaround, I'd love to hear any details you could share.

I assume you already filed a bugzilla for the dolphin bug? I couldn't find it, so I went ahead and filed one. https://bugs.kde.org/show_bug.cgi?id=494581. The same behaviour also appears in the launcher: https://bugs.kde.org/show_bug.cgi?id=494582

I guess, since this appeared with a kwin update and without a qt update or application updates, this is an unrelated kwin 6.2 bug, which is masking this original bug - but you've reported that you solved it by rebuilding qt, but qt doesn't have the patch, so....I don't get it?
Comment 18 Nate Graham 2024-10-23 13:55:55 UTC
The fix has been merged for Qt 6.9.0. Now let's see if we can get it backported to 6.8 as well...
Comment 19 m.kurz 2024-10-23 16:56:09 UTC
For to 6.8 (cherry picked): https://codereview.qt-project.org/c/qt/qtwayland/+/599253
Comment 20 pallaswept 2024-12-07 06:31:57 UTC
Looks like it's in 6.8.1, I just got it on Tumbleweed, they aren't patching the source at all, so I guess everyone will get it. 

Thanks heaps for your help everyone!
Comment 21 David Redondo 2025-01-31 09:32:33 UTC
Seems like this is still happening with QT 6.8.1 and I can also reproduce it.
Comment 22 David Redondo 2025-01-31 09:32:45 UTC
*** Bug 499252 has been marked as a duplicate of this bug. ***
Comment 23 pallaswept 2025-01-31 10:21:08 UTC
(In reply to David Redondo from comment #21)
> Seems like this is still happening with QT 6.8.1 and I can also reproduce it.

I notice from the bug you just linked that the reporter is running the 6.3 beta and KF 6.11. This is the current Tumbleweed (just updated to be sure):

> kinfo
Operating System: openSUSE Tumbleweed 20250128
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.13.0-1-default (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2

This bug doesn't exist on the above system.
Comment 24 David Redondo 2025-01-31 12:15:57 UTC
I am running 6.8.1 and git master FWIW and have the issue
Comment 25 Nate Graham 2025-01-31 12:55:10 UTC
I can also still reproduce it with Qt 6.8.1.
Comment 26 pallaswept 2025-01-31 20:19:00 UTC
(In reply to Nate Graham from comment #25)
> I can also still reproduce it with Qt 6.8.1.

I don't mean to argue, but just to help to pin this down, I'm certain this is more 'again' than 'still'. It's definitely fixed in Qt 6.8.1, on plasma 6.2.5. So it seems that maybe something changed on the plasma side (or maybe it's frameworks, assuming you're also on KF 6.11?)

If you need a testbed for this I'm happy to offer my machine.
Comment 27 pallaswept 2025-02-11 02:43:45 UTC
I've heard that 6.3 is due to be released shortly, is there anything I can do to prevent the release having this bug?
Comment 28 David Redondo 2025-02-11 07:50:40 UTC Comment hidden (spam)
Comment 29 David Redondo 2025-02-11 07:51:32 UTC Comment hidden (spam)
Comment 30 David Redondo 2025-02-11 12:55:20 UTC
This commit fixes it fully for me https://codereview.qt-project.org/c/qt/qtwayland/+/623667
Comment 31 altmail 2025-02-11 13:08:38 UTC
This bug has also reappeared for me after upgrading to Plasma 6.3.0 on Fedora 41 (using the testing repo, but the update has been submitted for stable already), after it had been fixed in Qt version 6.8.1.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070/PCIe/SSE2
Comment 32 pallaswept 2025-02-11 14:24:58 UTC
(In reply to David Redondo from comment #30)
> This commit fixes it fully for me
> https://codereview.qt-project.org/c/qt/qtwayland/+/623667

Thanks David
Comment 33 Nate Graham 2025-02-11 14:30:03 UTC
Thanks David!

Once that's merged, we can ask distros to backport it.