Closed
Bug 1292049
Opened 8 years ago
Closed 8 years ago
Ctrl+Tab gets stuck after reopening a closed tab
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 51
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
ritu
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR:
- enable "Ctrl+Tab cycles through tabs in recently used order"
- have a bunch of tabs open
- close a tab
- reopen the tab
- hit Ctrl+Tab
This is because SessionStore.jsm may set lastAccessed on a selected tab, and the lastAccessed getter(!) doesn't account for the tab being selected as of bug 980231.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8777703 -
Flags: review?(mdeboer)
Assignee | ||
Comment 2•8 years ago
|
||
[Tracking Requested - why for this release]: we're now exposing this feature to end users (bug 1116787)
status-firefox50:
--- → affected
tracking-firefox51:
--- → ?
Assignee | ||
Updated•8 years ago
|
tracking-firefox50:
--- → ?
tracking-firefox51:
? → ---
Comment 3•8 years ago
|
||
Comment on attachment 8777703 [details] [diff] [review]
patch
Review of attachment 8777703 [details] [diff] [review]:
-----------------------------------------------------------------
Well-spotted.
Attachment #8777703 -
Flags: review?(mdeboer) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/510f0b4792de
Prevent tab.lastAccessed from being set to a discrete value when the tab is selected. r=mdeboer
Assignee | ||
Comment 5•8 years ago
|
||
Backed out because of this:
04:27:00 INFO - 54 INFO TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_354894_perwindowpb.js | Uncaught exception - at chrome://browser/content/tabbrowser.xml:2023 - TypeError: t.updateLastAccessed is not a function
updateLastAccessed should definitely exist there. Looks like a case of XBL being broken.
Assignee | ||
Comment 6•8 years ago
|
||
Moved the updateLastAccessed call to the tab's XBL constructor. Shouldn't be necessary but it does appear to fix the browser_354894_perwindowpb.js issue.
Attachment #8777703 -
Attachment is obsolete: true
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/343370281fd7
Prevent tab.lastAccessed from being set to a discrete value when the tab is selected. r=mdeboer
Comment 8•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Assignee | ||
Comment 9•8 years ago
|
||
Comment on attachment 8777800 [details] [diff] [review]
patch v2
Approval Request Comment
[Feature/regressing bug #]: bug 1116787
[User impact if declined]: see bug summary and comment 0
[Describe test coverage new/current, TreeHerder]: has a test
[Risks and why]: fairly straightforward and well-understood fix, low risk
[String/UUID change made/needed]: none
Attachment #8777800 -
Flags: approval-mozilla-aurora?
Comment 10•8 years ago
|
||
I have reproduced this bug with nightly 51.0a1 (2016-08-04) on windows 10, 32 bit.
The bug’s fix is now verified on Latest Nightly 51.0a1.
Build ID:20160805030444.
User Agent:Mozilla/5.0 (Windows NT 10.0; rv:51.0) Gecko/20100101 Firefox/51.0.
Assignee | ||
Comment 11•8 years ago
|
||
(In reply to Akash from comment #10)
> I have reproduced this bug with nightly 51.0a1 (2016-08-04) on windows 10,
> 32 bit.
>
> The bug’s fix is now verified on Latest Nightly 51.0a1.
>
> Build ID:20160805030444.
> User Agent:Mozilla/5.0 (Windows NT 10.0; rv:51.0) Gecko/20100101
> Firefox/51.0.
Thanks!
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•8 years ago
|
Tracked since it's a recent regression.
Flags: qe-verify+
Comment on attachment 8777800 [details] [diff] [review]
patch v2
Regression fixed, Aurora50+
Attachment #8777800 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Confirming that this issue no longer reproduces on Win 10x64, Ubuntu 12.04 x86 and Mac OS X 10.11.6 using latest 50.0a2 Aurora, build ID 20160913004005.
You need to log in
before you can comment on or make changes to this bug.
Description
•