Page MenuHomePhabricator

[BUG] Crash on tooltip presentation
Closed, ResolvedPublicBUG REPORT

Description

We've been getting a crash on WMFTooltipPresenting line self?.tooltipViewModels.removeFirst() on Xcode organizer. When the array is empty, is some cases, the system might try to execute this line.

Steps to reproduce

Fresh install the app on the device and enable tabs. Open the article view and click back fast. The tooltip can still be seen on screen when you get back to explore. The app crashes when you try to click the tooltip.

Test Steps

Test in 7.8.3.

  1. Fresh install app on device and enable article tabs dev settings
  2. After onboarding, tap featured article. After tapping "Got it" on first tooltip button, quickly tap the Back button.
  3. App should not crash.
  4. Go back to an article. You should see article tabs tooltips present.
  5. Tap Got It to dismiss tooltips.
  6. Go to another article, tooltips should not present.
  7. Terminate app, launch again. Go to another article. Tooltips should not present.

Event Timeline

Mazevedo triaged this task as Medium priority.Jun 24 2025, 6:00 PM
ABorbaWMF subscribed.

Working for me on 7.7.7 (5447)

Tested on iPhone on iOS 18.6 and iPad on iPadOS 18.5. Tested with tabs enabled and disabled.

Tsevener subscribed.

We still see it in 7.7.7 and @Mazevedo was able to reproduce. Reopening!

Available in 7.7.8 (5517). Test notes updated!

Working for me on 7.7.8 (5546)

Tested on iPhone on iOS 18.6 and iPad on iPadOS 18.5. Tested in multiple languages

HNordeenWMF subscribed.

Separate issue: tooltip doesn't have a great presentation on articles without images:

IMG_0359.PNG (2×1 px, 590 KB)
.

Released on 7.7.8

I still see this in 7.8.1, so reopening.

Looks good on 7.8.3 (5840)

Tested on iPhone 16 on iOS 26 and iPad Pro 12.9 on iOS 26. Tested tooltips.