firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

Long pressing on a link occasionally shows a page preview without a context menu

Open cpeterso opened this issue 2 years ago • 7 comments

Steps to reproduce

  1. Load a page and long press on a link on the page.

Expected behavior

A preview of the linked page should open with a context menu below the preview.

Screenshot:

032B450B-C8EB-456B-A570-A984758B27AB

Actual behavior

Occasionally, the preview will open but there will be no context menu. This only happens about 5% of the time and seems to happen most often when first launching the app or after waking up my phone. Seems like a race condition.

Screenshot:

7E0BF2E7-BA39-4616-A320-BFAB740738E2

Device & build information

  • Device: iPhone 12
  • Build version: Firefox Beta v104.0 (14880), but I’ve seen this bug for a long time (maybe a year or longer?) and only finally got around to filling this bug report.

┆Issue is synchronized with this Jira Task

cpeterso avatar Aug 10 '22 03:08 cpeterso

https://github.com/mozilla-mobile/firefox-ios/issues/10026 looks like a similar problem, but I’m not using a trackpad, keyboard, or iPad.

cpeterso avatar Aug 10 '22 03:08 cpeterso

I found a page and link that send to reproduce this bug reliably:

  1. Open https://blog.pragmaticengineer.com/become-and-effective-software-engineering-manager-my-book-review/
  2. Search for the text “I feel pretty strongly about this”.
  3. Long press on the “I feel pretty strongly about this”.

Even long pressing that link on this GitHub issue page, so the issue seems to be related to the page being previewed and not the page with the link?

DE8DD58C-B611-4F1A-9681-2B1A7DE556EB

cpeterso avatar Aug 10 '22 06:08 cpeterso

Similar to #8892.

morachimo avatar May 10 '23 20:05 morachimo