Bug 506224 - repeatedly opening the same app in quick succession hangs discover and opens them multiple times
Summary: repeatedly opening the same app in quick succession hangs discover and opens ...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 6.4.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-26 15:31 UTC by renner0
Modified: 2025-07-14 15:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
spamming left click on the app (775.76 KB, video/mp4)
2025-06-26 15:31 UTC, renner0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renner0 2025-06-26 15:31:05 UTC
Created attachment 182692 [details]
spamming left click on the app

SUMMARY
repeatedly opening the same app in quick succession hangs discover and opens them multiple times

STEPS TO REPRODUCE
1. open discover
2. spam left click on any app (on search, main view)
3. 

OBSERVED RESULT
discover queues all of them up and opens a page for every click you did on the app, resulting in unresponsiveness

EXPECTED RESULT
the same app should not be able to be queued multiple times as there is no benefit to that

Operating System: Aurora 42
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor: AMD Radeon RX 6750 XT

ADDITIONAL INFORMATION
❯ plasma-discover --listbackends
Available backends:
* flatpak-backend
* fwupd-backend

perhaps this could be an issue for people with hand tremors or defective input devices?
Comment 1 TraceyC 2025-06-26 22:01:25 UTC
To reproduce this, I ran Discover with just the flatpak backend, this isn't strictly necessary:
plasma-discover --backends flatpak-backend

I reproduced this once on git-master, then the details page behaved normally, with the back button going back to the result list

1. Open Discover, search for Amberol
2. Click it once to bring up the details page that has a back button
3. Spam click the app icon. I can trigger the bug with about 30 clicks
4. Click the back button

Additionally, I see a non-recoverable hang if I do this:

1. Open Discover, search for Amberol
2. Spam click a result (before going to the details page). I can trigger the bug with about 30 clicks

Discover was unresponsive for a couple of minutes, and triggered the non-responsive window prompt. There was no crash in the logs.
This group of logs was written multiple times in that duration, but they don't seem terribly interesting

Jun 26 16:31:17 tlc-xps17-solus plasma-discover[187532]: qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "implicitHeight":
                                                         file:///home/tracey/kde/usr/lib64/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
Jun 26 16:31:17 tlc-xps17-solus plasma-discover[187532]: qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "y":
                                                         file:///home/tracey/kde/usr/lib64/qml/org/kde/kirigami/templates/OverlaySheet.qml:117:5
Jun 26 16:31:17 tlc-xps17-solus plasma-discover[187532]: qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "implicitHeight":
                                                         file:///home/tracey/kde/usr/lib64/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
Jun 26 16:31:17 tlc-xps17-solus plasma-discover[187532]: qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:905:5: QML AddonsView: Binding loop detected for property "implicitHeight":
                                                         file:///home/tracey/kde/usr/lib64/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5