Bug 447667 - [touchscreen] - must tap on an app in dock twice to start it
Summary: [touchscreen] - must tap on an app in dock twice to start it
Status: REPORTED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.10.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-29 21:54 UTC by Arnaud
Modified: 2022-01-13 20:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud 2021-12-29 21:54:15 UTC
SUMMARY

When using a touchscreen, users must touch an app in a dock twice to start them. The first tap highlights the icon, and the second starts it. Happens on both X11 and Wayland.

If an icon is already highlighted (with the mouse for example), a single tap is enough to start the app.

After the last tap successfully started the app, the dock will play the "zoom on hover" animation, until the app is actually shown on screen.

Panels work as expected and users only need to tap once to interact with them.

STEPS TO REPRODUCE
1. Add a simple dock
2. Tap an app icon once
3. Tap on the same icon a second time to start the app

OBSERVED RESULT

Users need to tap twice on an icon to start the app, which then plays a buggy hover animation.

EXPECTED RESULT

Users should need to tap only once to start an app in a dock, and it should only play the starting animation, not the hover. 

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.7-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 2 × Intel® Celeron® CPU N3050 @ 1.60GHz
Memory: 1,8 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 400
Comment 1 Michail Vourlakos 2022-01-08 09:02:26 UTC
does this also occur with plasma panel and plasma taskmanager?
Comment 2 Arnaud 2022-01-13 18:40:57 UTC
Plasma and latte panels work just fine. Only the dock needs a double tap to interact with.
Comment 3 Michail Vourlakos 2022-01-13 18:42:45 UTC
(In reply to Arnaud from comment #2)
> Plasma and latte panels work just fine. Only the dock needs a double tap to
> interact with.

what do you mean latte panels work just fine? with which taskmanager in use?
Comment 4 Arnaud 2022-01-13 20:33:31 UTC
I created a default dock which has the bug. Then I right clicked on the dock and selected "Add Dock/Panel" -> "Default Panel". This created a latte panel with the same appearance as the plasma one. With this panel, I tried the Icons-Only task manager, the Task Manager, the Window List and the Latte Tasks listed under alternatives. All worked as expected, without the double tap bug.

I also right clicked on the desktop and selected "Add Panel" -> "Default panel" to create a plasma panel. I tried the same task managers as with the latte panel, and it also worked without the bug.

So in my case, I can only reproduce the double tap bug on a Latte dock, not Latte panels or Plasma panels.
Comment 5 Michail Vourlakos 2022-01-13 20:35:30 UTC
(In reply to Arnaud from comment #4)
> I created a default dock which has the bug. Then I right clicked on the dock
> and selected "Add Dock/Panel" -> "Default Panel". This created a latte panel
> with the same appearance as the plasma one. With this panel, I tried the
> Icons-Only task manager, the Task Manager, the Window List and the Latte
> Tasks listed under alternatives. All worked as expected, without the double
> tap bug.
> 
> I also right clicked on the desktop and selected "Add Panel" -> "Default
> panel" to create a plasma panel. I tried the same task managers as with the
> latte panel, and it also worked without the bug.
> 
> So in my case, I can only reproduce the double tap bug on a Latte dock, not
> Latte panels or Plasma panels.

too strange because the dock is also using Latte tasks, so I can not imagine why Latte tasks works ok in a panel but not a dock... If you disable the parabolic effect of the dock same issue?
Comment 6 Arnaud 2022-01-13 20:41:13 UTC
I went into "Edit Dock" -> "Appearance" and set "Zoom on hover" to 0 (was at 80%), and it fixed the bug! No weird animation, the application icon happily bounces and the app starts as expected on a single tap.

So yes it might have something to do with the parabolic effect.