Rearranging tabs by drag-and-drop rewrites tab contents on iOS 16 and 15
Steps to reproduce
Note: This issue isn't reproducible on iOS 17.x.
- Open a website (say www.wikipedia.org) on a tab.
- Open a new tab and open another website (say www.youtube.com).
- Open the tab tray.
- Long press the 2nd tab (www.youtube.com) until the context menu appears.
- 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
Similar issue: https://github.com/mozilla-mobile/firefox-ios/issues/18724
➤ Norberto Andres Furlan commented:
Sophie Amin can I put this for 125?
➤ 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"!
➤ Diana Andreea Barladeanu commented:
Verified as fixed on v126.1 (41973), with iPhone 15 (17.4).