[MGNLUI-5250] Apps don't open on first click on AppLauncher when using trackpad Created: 17/Jun/19  Updated: 08/Oct/19  Resolved: 19/Sep/19

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.3, 6.2

Type: Bug Priority: Neutral
Reporter: Simon Lutz Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: M6-UI-tech-bug
Remaining Estimate: 0d
Time Spent: 2d 1h
Original Estimate: Not Specified

Attachments: GIF File app_cannot_be_opened_on_first_click.gif     File in_Chromium75.0.3770.90_and_mgnl6.1demo.mkv    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Date of First Response:
Epic Link: M6 UI & UX Improvements
Sprint: UI Framework 6, UI Framework 7
Story Points: 2

 Description   

Reproduce:
1. Click on the App Launcher button, App Launcher displays
2. Click on any app
3. The first click do nothing
Expect: App should be opened immediately after clicked

Happens inconsistently on Chrome and only when using "tap to click" on trackpad.

Happens on Safari.

Does not happen on Firefox.

Possible culprit logic is related to com.googlecode.mgwt.ui.client.widget.touch.TouchDelegate: the utility that was used to have the same handlers for the touch (on tablet devices) and clicks (on desktops). One possible solution is to try to ditch that class (and see how the component would behave on tablets).



 Comments   
Comment by Dai Ha [ 01/Jul/19 ]

During init AppLauncherConnector, there is a eventPreviewHandler set which ignored mouseup event -> no touchFinished event fire later in the chain.

Comment by Federico Grilli [ 19/Sep/19 ]

For the record, I found the issue was happening consistently in all major browsers (Safari, FF, Chrome) on my MacBook Pro (MacOS Mojave).

Generated at Mon Feb 12 09:24:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.