Bug 459324

Summary: PageRowGlobalToolBarUI: sliding interactive UI controls inappropriately remain interactive while sliding
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Matej Starc <matej.starc>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: nate, notmart
Priority: NOR Keywords: usability
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: bug showcase

Description Matej Starc 2022-09-18 12:36:37 UTC
Created attachment 152184 [details]
bug showcase

SUMMARY
When I tested Filelight I noticed that after you scan a folder and go back, if you spam the forward button, you will also click the back button (for some reason)


STEPS TO REPRODUCE
1. Open filelight
2. Scan a folder
3. Click the back button (top left)
4. Spam on the forward button (you will quickly switch between the root page and scanned folder page)

OBSERVED RESULT
The opposite button is clickable/enabled while the animation accures.

EXPECTED RESULT
Either we disable the button or we don't do the animation in this case.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.9-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics
Comment 1 Nate Graham 2022-09-22 17:44:07 UTC
Can reproduce. This is because the interactive controls on the row animate their X position, which means fast clicks can sometimes activate them while they happen to be under the cursor.
Comment 2 Matej Starc 2022-09-23 14:19:59 UTC
(In reply to Nate Graham from comment #1)
> Can reproduce. This is because the interactive controls on the row animate
> their X position, which means fast clicks can sometimes activate them while
> they happen to be under the cursor.
I think it is best to disable those while the animation happens.