Bug 483005 - Application menu (Kicker) using with touchscreen is broken
Summary: Application menu (Kicker) using with touchscreen is broken
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-09 16:47 UTC by Lagetta
Modified: 2024-03-13 16:23 UTC (History)
1 user (show)

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


Attachments
This video shows how this bug works on my laptop (820.75 KB, video/webm)
2024-03-09 16:57 UTC, Lagetta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lagetta 2024-03-09 16:47:36 UTC
SUMMARY
When I use laptop's touchscreen on Application menu it feels sluggish, barely responsive on what I tap and unusable.

STEPS TO REPRODUCE
1. Open Application Menu (doesn't matter if it is with a mouse or touchscreen (it works both ways flawlessly).
2. Try selecting any of the categories like Office, Games or System. The more you tap on the categories, the better chance it is to fail. 
     2.1. Try to press and hold for example Utilities category and drag it slowly to Development (from highest to lowest category).

OBSERVED RESULT
Touchscreen overall works but the categories occasionally do not want to be selected when I tap on them or when I tap & hold and slowly drag my finger around, it starts to flash like crazy. I provided in attachment how it looks in my end.

EXPECTED RESULT
Whatever category I tap on it should instantaneously open all the applications on that category on the menu. When I tap & hold it should automatically open that particular category that my finger is on just like with a mouse cursor.

After a few tests only once was I able to achieve the expected result when I am moving my finger around.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
PC: Dell Inspiron 7386. It has touchscreen functionality.
Comment 1 Lagetta 2024-03-09 16:57:52 UTC
Created attachment 166808 [details]
This video shows how this bug works on my laptop

Sorry for the poor quality.
Comment 2 Nate Graham 2024-03-11 22:54:09 UTC
Can reproduce. Note that this widget was never designed to be touch-friendly; Kickoff is strongly preferred if you have that use case.

That said, it's a legitimate bug and I'll see what I can do to fix it. But I'm just trying to set expectations that a first-class touch experience is not a design goal for Kicker.
Comment 3 Lagetta 2024-03-12 07:54:37 UTC
(In reply to Nate Graham from comment #2)
> Can reproduce. Note that this widget was never designed to be
> touch-friendly; Kickoff is strongly preferred if you have that use case.
> 
> That said, it's a legitimate bug and I'll see what I can do to fix it. But
> I'm just trying to set expectations that a first-class touch experience is
> not a design goal for Kicker.

It's alright if it's too hard or even Impossible. I didn't even expect that this bug will even be fixed since it doesn't break usage of DE at all.

At least it's nice that it's acknowledged.
Comment 4 Nate Graham 2024-03-13 16:23:47 UTC
I took a look, and while it's fixable, it's not easily done without refactoring how the list delegates work. Right now they are super custom; we would have to port them to use a more standard style. Which is a good idea anyway, and should fix this. However that makes it no longer just a simple bugfix, which means it could be done only for Plasma 6.1 at the earliest. Possibly later than that if no one has the cycles to perform the work.