Open
Bug 1402631
Opened 8 years ago
Updated 2 years ago
"Open last closed tab" replaces previously created new tab and loses text typed in the url bar (shouldn't consider tabs with `userTypedValue` to be empty)
Categories
(Firefox :: Tabbed Browser, defect, P5)
Tracking
()
People
(Reporter: 32d3e595-e51c-4518-bfdb-4fb7eb2d301e, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20170923100045
Steps to reproduce:
1. Create a new profile "P"
2. Open FF using "P"
3. Close window
4. Open FF using "P". "T1" be the now active tab
5. Type "my useful text" into address bar
6. Press "Ctrl+T" to create new tab "T2"
7. Type "mozilla.org" into the address bar
8. Press enter
9. Press "Ctrl+W" to close "T2". "T1" is now the active tab. "my useful text" is in the address bar
10. Press "Ctrl+Shift+T" to reopen "T2"
Actual results:
"mozilla.org" opens in the currently active tab "T1".
This behavior is inconsistent with the behavior, which is observed when step 4 is replaced by the following steps:
4.1 Open FF using "P"
4.1 Type "example.com" into the address bar
4.2 Type enter.
4.3 Press "Ctrl+T" to create a new tab "T1"
In the latter case after step 10 "T2" reopens right beside "T1".
Expected results:
"T1" is kept alive. "T2" opens right beside "T1"
Updated•8 years ago
|
Component: Untriaged → Tabbed Browser
Updated•8 years ago
|
Summary: "Open last closed tab" replaces previously created new tab → "Open last closed tab" replaces previously created new tab and loses text typed in the url bar (shouldn't consider tabs with `userTypedValue` to be empty)
Updated•8 years ago
|
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
Comment 1•2 years ago
|
||
Not sure if the definition of an empty tab has changed/clarified since this was reported.
This still reproduces on MacOs 12, Win 11 and Ubuntu 22 with Fx versions 102.11.0esr, 112.0.2, 113.0 and 114.0a1 (2023-05-03) following these steps:
- Launch Firefox.
- (only one new tab is opened) type something in the address bar.
- In a second tab, open to a random site (https://ro.wikipedia.org/wiki)
- Close the tab opened in step 3. (Ctrl/Cmd+W)
- Reopen the tab closed in step 4. (Ctrl/Cmd+Shift+T)
Additional notes:
The page is NOT reopened in the currently active new tab if any of this applies:
- you use arrows to focus one of the suggestions,
- the text typed in step 2. matches one of the suggested links - you would need a dirty profile for this.
- a third tab is opened
Closing the 2nd or the 3rd tab (to have it reopen) and having the focus on the 1st tab or not doesn't seem to matter).
Similar issues: bug 1811731, bug 1812113
Status: UNCONFIRMED → NEW
Has STR: --- → yes
status-firefox112:
--- → affected
status-firefox113:
--- → affected
status-firefox114:
--- → affected
status-firefox-esr102:
--- → affected
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop
You need to log in
before you can comment on or make changes to this bug.
Description
•