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

Rearranging tabs by drag-and-drop rewrites tab contents on iOS 16 and 15

Open clarmso opened this issue 1 year ago • 3 comments

Steps to reproduce

Note: This issue isn't reproducible on iOS 17.x.

  1. Open a website (say www.wikipedia.org) on a tab.
  2. Open a new tab and open another website (say www.youtube.com).
  3. Open the tab tray.
  4. Long press the 2nd tab (www.youtube.com) until the context menu appears.
  5. Drag the 2nd tab to the left so that it becomes the 1st tab.

Expected behavior

First tab is www.youtube.com and the second tab is www.wikipedia.org.

Actual behavior

Both tabs are www.wikipedia.org.

Device & build information

  • Device: iPhone 14 iOS 16.4 simulator. iPhone 13 iOS 15.5 simulator
  • Build version: March 14, 2024.
  • First seen version: ?

Notes

The bug is shown only on iOS 16.4 and iOS 15.5. Both versions of iOS are supported currently.

The XCUITest DragAndDropTests.testRearrangeTabsTabTray() covers such a scenario.

Attachments:

Here are the screen recording of the behaviour from the same code base but different versions of iOS.

Screen recording on iPhone 15 iOS 17.2 simulator (expected behaviour): https://github.com/mozilla-mobile/firefox-ios/assets/1740517/f87bd92f-0cce-47cb-8dae-0fa15d5e8795

Screen recording on iPhone 14 iOS 16.4 simulator (bug :bug: ): https://github.com/mozilla-mobile/firefox-ios/assets/1740517/501cd650-0d79-40a1-8ded-fa94c82cd8fa

┆Issue is synchronized with this Jira Task

clarmso avatar Mar 14 '24 16:03 clarmso

Similar issue: https://github.com/mozilla-mobile/firefox-ios/issues/18724

clarmso avatar Mar 14 '24 16:03 clarmso

➤ Norberto Andres Furlan commented:

Sophie Amin can I put this for 125?

data-sync-user avatar Apr 02 '24 14:04 data-sync-user

➤ Diana Andreea Barladeanu commented:

Verified as fixed on v9000 (41731), with iPhone SE (16.6).

!Video-2.mov|width=272,height=480,alt="Video-2.mov"!

data-sync-user avatar May 10 '24 06:05 data-sync-user

➤ Diana Andreea Barladeanu commented:

Verified as fixed on v126.1 (41973), with iPhone 15 (17.4).

data-sync-user avatar May 21 '24 08:05 data-sync-user