Open Bug 1527950 Opened 6 years ago Updated 2 years ago

Hover tool-tips are improperly displayed when using touchscreen

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P2)

Desktop
Windows 10
defect

Tracking

()

Tracking Status
firefox67 --- affected

People

(Reporter: danibodea, Unassigned)

References

(Blocks 1 open bug)

Details

Note

  • Some tooltips are displayed like the app detects hovering on some button when only the touchscreen is being used.

Affected versions

  • Nightly v67.0a1 (2019-02-14) (arch64 build)

Affected platforms

  • Windows 10 v1803 on Lenovo Yoga (table mode)

Steps to reproduce

  1. Open https://www.google.com/maps
  2. Tap on the "Directions" icon button from the right of the search input box.
    (The icon looks like a blue diamond-shaped street sign with an arrow pointing right.)

Expected result

  • No unexpected tool-tip is displayed.

Actual result

  • "Close directions" tooltip is displayed, like when hovering the area with a cursor.

Steps to reproduce - part 2
4. Tap on the "X" button to close the "Directions" mode.

Expected

  • No unexpected tool-tip is displayed.

Actual

  • "Directions" tooltip is displayed like when hovering the area with a cursor.

Additional notes

  • This issue does not occur in EDGE browser, but it does occur on Chrome in a slightly different way.

Hmm, so, we shouldn't show any tooltips I guess.
Like https://searchfox.org/mozilla-central/rev/38035ee92463c9e9fbca729ac7e66476ac7eb27a/layout/xul/nsXULTooltipListener.cpp#138-141 checking whether mouseEvent->MozInputSource() is MOZ_SOURCE_TOUCH or something like that. And something for e10s too.

Priority: -- → P2
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.