Back button jumps to first entry in tab's history rather than previous entry
Categories
(Firefox for Android :: History, defect)
Tracking
()
People
(Reporter: notjerl, Unassigned)
References
Details
(Whiteboard: [qa-triaged])
Attachments
(2 files)
Steps to reproduce:
- Open a webpage (page 1) in a new tab.
- Follow links on that page to navigate to a different page (page 2)
- Follow links on that page to navigate to another different page (page 3).
- Press the Back button in the browser or the Android UI (happens with both).
NOTE: The pages I tested this with do not use JavaScript to modify the page. They are normal hyperlinks that request an actual new webpage.
Actual results:
The browser navigates to the very first page in that tab's history (page 1).
Expected results:
The browser navigates to the previous page (page 2).
I didn't include my useragent since I have it spoofed to avoid ever being served a mobile version of a webpage, but I'm on Firefox for Android Nightly 131.0a1 (Build #2016041431) on Android 13.
Oh, and I have the Menu Redesign and Navigation Toolbar enabled in Secret Settings. I have not tested whether this occurrs with either of these turned off.
Comment 3•2 years ago
•
|
||
Hey notjerl,
Thanks for reporting this bug! I just tested on a Samsung A35, Android 14 on 131 and could not reproduce the issue. Can you provide us with a video of the issue please, along with your device and its Android version? Also, if you tap and hold on the back button on the toolbar, you can see your stack of navigated websites. Can you verify if this stack is correct? Thanks
I'm using a Samsung Galaxy Note20 Ultra on Android 13. The stack shows correctly, it just jumps to the very bottom of the stack rather than the previous entry.
I have noticed that it only seems to occur on websites that use GET parameters to differentiate pages rather than subfolders or files. For example, if you're at example.com/index.php?page=post and you click on a link to example.com/index.php?page=post&pid=2, then a link to example.com/index.php?page=user&username=JohnDoe, clicking back takes you to just ?page=post. They're all loaded from the same document, index.php, so that might be relevant. They are, nevertheless, completely different pages, and some of the sites I've experienced this on serve millions of different unique pages from a single index.php at the server's base directory.
Comment 6•1 year ago
|
||
The severity field is not set for this bug.
:rsainani, could you have a look please?
For more information, please visit BugBot documentation.
Comment 7•1 year ago
|
||
Hey QA, can we please see if this issue is reproducible?
Comment 8•1 year ago
|
||
I was not able to reproduce this issue on the Fenix Nightly 132.0a1 from 9/16, nor on 9/17.
Tested with:
- Realme GT Master Edition (Android 13),
- Google Pixel 6 (Android 15), and
- Samsung Galaxy Note 8 (Android 9).
I will try toggling the pref mentioned in that ticket and see if the behavior stops.
Comment 10•1 year ago
|
||
This seems likely to be a case of the issue that should be fixed now that bug 1917369 has been resolved.
Comment 11•1 year ago
|
||
Can confirm the issue is still present.
- Firefox Nightly 132.0a1 from 2024-09-21T11:40:21.078206015.
132.0a1 (Build #2016045727), hg-f4ffb4b9ac47+ - GV: 132.0a1-20240921091547
- AS: 132.20240919050342
- Xiaomi Poco X6 5G.
- HyperOS 1.0.12.0 Android 14.
- Additional information: TalkBack 15.0 is enabled.
Comment 12•1 year ago
|
||
(In reply to Diego Ramírez [:BlindMoon38] from comment #11)
Can confirm the issue is still present.
- Firefox Nightly 132.0a1 from 2024-09-21T11:40:21.078206015.
132.0a1 (Build #2016045727), hg-f4ffb4b9ac47+- GV: 132.0a1-20240921091547
- AS: 132.20240919050342
- Xiaomi Poco X6 5G.
- HyperOS 1.0.12.0 Android 14.
- Additional information: TalkBack 15.0 is enabled.
If you disable TalkBack, do you still see the problem? Thanks.
Comment 13•1 year ago
|
||
Yes, the issue still occurs with TalkBack disabled.
- Firefox Nightly from 2024-09-25T00:07:24.819766181.
- 132.0a1 (Build #2016046407), hg-adf3c6ac684d+
- GV: 132.0a1-20240924212303
- AS: 132.20240924050319.
Comment 14•1 year ago
|
||
I've been having this issue for a few months now and I'm able to reproduce it in Firefox Beta.
Phone: OnePlus 12
Android 15 (CPH2611_15.0.0.600(EX01)
Firefox Beta 137.0b1 (Build #2016077151), hg-27b9a9fd5547+
GV: 137.0-20250303230155
AS: 137.0
Comment 15•1 year ago
|
||
I can't always get it to reproduce in 2 search queries, but almost all the time with 3 search queries. I'm not sure if it's because the 3rd query is usually a longer string or if it's something else.
Steps to reproduce:
- Using either the address bar or by going to Google.com, enter a search query (e.g. Firefox Beta)
- Visit a link in the search
- Click on the back button/do the back gesture
- Edit your search query (on Google.com, NOT in the address bar) and search again (e.g. Firefox Beta Test)
- Visit a link in the search
- Click on the back button/do the back gesture
- The search query should've reverted to your original search (e.g. Firefox Beta) rather than your last query (e.g. Firefox Beta Test)
- If it didn't revert back to the original query, try to edit the search query yet again (on Google.com and not the Address bar) and it should revert. Sometimes it takes 3 searches to get it to trigger.
Comment 16•1 year ago
|
||
(In reply to Syl Surette from comment #15)
Created attachment 9470626 [details]
Reproducing Firefox Android Back Button Google Search IssueI can't always get it to reproduce in 2 search queries, but almost all the time with 3 search queries. I'm not sure if it's because the 3rd query is usually a longer string or if it's something else.
Steps to reproduce:
- Using either the address bar or by going to Google.com, enter a search query (e.g. Firefox Beta)
- Visit a link in the search
- Click on the back button/do the back gesture
- Edit your search query (on Google.com, NOT in the address bar) and search again (e.g. Firefox Beta Test)
- Visit a link in the search
- Click on the back button/do the back gesture
- The search query should've reverted to your original search (e.g. Firefox Beta) rather than your last query (e.g. Firefox Beta Test)
- If it didn't revert back to the original query, try to edit the search query yet again (on Google.com and not the Address bar) and it should revert. Sometimes it takes 3 searches to get it to trigger.
I am experiencing this behaviour on one of two Android 15 devices I have.
Both are running the same build of Firefox:
136.0 (Build #2016076311), hg-2da0b1797683+
GV: 136.0-20250227124745
AS: 136.0
2025-02-27T18:20:28.917303452
Both installations of Firefox are configured identically.
The device experiencing the bug is a Xiaomi 14, running Android 15 build AQ3A.240627.003, 1 Jan 2025 security patch date
Being a Xiaomi device, Firefox has been added to "Autostart" and is also set as a "Locked" app. These are necessary to prevent Firefox from being pushed out of memory quickly. This can happen in the amount of time it takes to switch to a password management app (BitWarden) or a 2FA app (Aegis). Enabling Firefox in "Autostart" negates this issue.
The device not experiencing the bug is a Oppo Find N5, running Android 15 build CPH2671_15.0.1.202(EX01), 1 Feb 2025 security patch date
No such tweaks were necessary for correct functionality of Firefox on this device.
Comment 17•1 year ago
|
||
Same back button issues with Google searches on Samsung S21 Ultra for both stable 136.0 (Build #2016076311) and beta 137.0b4 (Build #2016078383).
Software versions dump
One Ul version:
6.1
Android version:
14
Google Play system update:
1 July 2024
Baseband version:
G998BXXSEGXL2
Kernel version:
5.4.242-28575149-abG998BXXSEGYA2
#1 Wed Jan 22 18:02:09 KST 2025
Build number: UP1A.231005.007.G998BXXSEGYA2
SE for Android status:
Enforcing
SEPF_SM-G998B_12_0001
Wed Jan 22 18:25:04 2025
Knox version:
Knox 3.10
Knox API level 37
Knox ML 1.4
DualDAR 1.6.0
HDM 2.0 - 17
Service provider software version:
SAOMC_SM-G998B_OXM_VOD_14_0007
VOD/VOD,VOD/EUX/VOD
Security software version:
MDF v3.3 Release 1
BT v1.0 Release 1
WLAN v1.0 Release 2
VPN Client v2.4 Release 1.0
ASKS v8.4 Release 20240926
ADP v3.1 Release 20230510
FIPS BoringSSL v1.7
FIPS SKC v2.2
FIPS SCrypto v2.6
FIPS FMP v3.0
SMR Feb-2025 Release 1
Android security patch level:
1 February 2025
Comment 18•1 year ago
|
||
Have the same problem with a Xiaomi 14T.
Android version: 15 AP3A.240905.015.A2
Security update: 2024-11-02
Comment 19•1 year ago
|
||
I'm having the same problem with google search for quite a time now. But in my case the last page visited appears as next page in the stack of navigated websites.
Happens with stable 136.0.2 (Build #2016079799) on Galaxy S24 with One UI 6.1 and security patch level 1 February 2025. Issue still occured after a reset of Firefox.
Comment 20•1 year ago
|
||
This is an issue when I'm using stable 137.0 (Build #2016081319), and I'm able to replicate it using the (In reply to Syl Surette from comment #15)
Created attachment 9470626 [details]
Reproducing Firefox Android Back Button Google Search IssueI can't always get it to reproduce in 2 search queries, but almost all the time with 3 search queries. I'm not sure if it's because the 3rd query is usually a longer string or if it's something else.
Steps to reproduce:
- Using either the address bar or by going to Google.com, enter a search query (e.g. Firefox Beta)
- Visit a link in the search
- Click on the back button/do the back gesture
- Edit your search query (on Google.com, NOT in the address bar) and search again (e.g. Firefox Beta Test)
- Visit a link in the search
- Click on the back button/do the back gesture
- The search query should've reverted to your original search (e.g. Firefox Beta) rather than your last query (e.g. Firefox Beta Test)
- If it didn't revert back to the original query, try to edit the search query yet again (on Google.com and not the Address bar) and it should revert. Sometimes it takes 3 searches to get it to trigger.
This is an issue when I'm using stable 137.0 (Build #2016081319), and I'm able to replicate it using these steps.
Nightly 139.0a1 (Build #2016082983) doesn't have this issue, though.
Comment 21•1 year ago
|
||
I have experienced the same (Google search steps) with Firefox Android 137.0 (Build #2016081319.
Comment 22•1 year ago
|
||
I have the exact same issue as described here. Happens every single search following the described flow.
OnePlus 10 Pro 5G (NE2213_11)
Android version 15
NE2213_15.0.0.700(EX01V50P03)
Security update March 1, 2025
137.0 (Build #2016081319), hg-7a43394d2f4f+
GV: 137.0-20250325171416
AS: 137.0
Comment 23•1 year ago
|
||
I have exactly the same issue, and have had it for months.
Google Pixel 8
Android version 15
137.0.2 (Build #2016085103), hg-5d1d0e27dc3a+
GV: 137.0.2-20250414091429
AS: 137.0
Comment 24•1 year ago
|
||
Hi Mira,
Can you try to reproduce this again please? I am still unable to reproduce this. It seems that we're getting an influx of people commenting that they are also experiencing this issue. Thanks
Comment 25•1 year ago
•
|
||
Thanks, Nicholas!
I was able to reproduce this issue on Firefox for Android 137.0.2, 138.0, Beta 138.0b9, and Nightly 139.0a1 from 4/23.
Tested with: OnePlus 5 (Android 10), and Google Pixel 6 (Android 16).
The STR are:
- Load google.com or enter a search query (e.g. "trouble").
- Tap on a link from the search results provided.
- Tap the back button/do the back gesture.
- Edit your search query on the search field of google.com, NOT in the address bar, and search again (e.g. "proof").
- Tap on a link from the provided search results.
- Tap the back button/do the back gesture, and observe.
Actual results:
The search query displayed after step 6 is for "trouble" not for "proof".
If, at step 4 you search for a term in the address bar, the issue is not reproducible.
I'll confirm the issue.
Comment 26•1 year ago
|
||
Hi,
I am experiencing the same issue as described in this thread. It has been happening for some time now.
A description of the issue:
*Search for something in google
*Modify the search to add to the search query
- Click on a link in the updated search results
- Go back (either via Firefox's back or the system back buttons)
- Browser returns to the original search query.
- Going forward via Firefox's button take you to the link that was clicked.
- Going back again shows the original google search results.
- Clicking on the search box shows the updated search query.
137.0.2 (Build #2016085103), hg-5d1d0e27dc3a+
GV: 137.0.2-20250414091429
AS: 137.0
Samsung galaxy S23 ultra.
Comment 27•1 year ago
|
||
Comment 30•1 year ago
|
||
I'm going to close this bug in favour of Bug 1958609 because I think there's some more useful information in the comments there. I will copy the STR from comment 25 though as I was able to reproduce the issue from that. (Thanks Mira)
Description
•