Closed
Bug 747338
Opened 13 years ago
Closed 11 years ago
Set last-accessed timestamp when deselecting tabs rather than when selecting them
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 30
People
(Reporter: ttaubert, Assigned: dao)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
ttaubert
:
review+
|
Details | Diff | Splinter Review |
For bug 675539 we need to know when a tab was last selected (or visible).
Not sure if we need a setter for this? If session store is going to store this value (like in bug 739866) we might need to do that.
Attachment #616926 -
Flags: review?(paul)
Assignee | ||
Comment 1•13 years ago
|
||
Comment on attachment 616926 [details] [diff] [review]
patch v1
Having both lastAccessed and lastSelected with different meanings is confusing. If the former isn't what we need, we should fix that.
Attachment #616926 -
Flags: review?(paul) → review-
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #1)
> Having both lastAccessed and lastSelected with different meanings is
> confusing. If the former isn't what we need, we should fix that.
The former isn't what *I* need, but I agree that both are very (or too) similar. Not sure if bug 586067 could use lastSelected, too.
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #2)
> Not sure if bug 586067 could use lastSelected, too.
Yes. The point is to sort tabs in most-recently-used order.
Assignee | ||
Updated•12 years ago
|
Blocks: 739866
Summary: Store last selected timestamp → Set last-accessed timestamp when deselecting tabs rather than when selecting them
Comment 4•12 years ago
|
||
“Set last-accessed timestamp when deselecting tabs rather than when selecting them”
I would rather say : both.
In case of crash, it's good to know that the current tab was accessed. The current tab had been selected, but not yet deselected.
Reporter | ||
Updated•12 years ago
|
Assignee: ttaubert → nobody
Status: ASSIGNED → NEW
Comment 5•11 years ago
|
||
So the only reason this didn't land is because a minor naming concern?
Can we change to lastVisible and land?
Updated•11 years ago
|
Blocks: fxdesktopbacklog
Whiteboard: p=0
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dao
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #616926 -
Attachment is obsolete: true
Attachment #8371390 -
Flags: review?(ttaubert)
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8371390 [details] [diff] [review]
patch
Review of attachment 8371390 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8371390 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Updated•11 years ago
|
No longer blocks: fxdesktopbacklog
Whiteboard: p=0
Comment 10•11 years ago
|
||
wooo, thanks y'all
Updated•11 years ago
|
Whiteboard: [qa-]
Comment 11•11 years ago
|
||
Comment on attachment 8371390 [details] [diff] [review]
patch
Review of attachment 8371390 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/base/content/tabbrowser.xml
@@ +4720,5 @@
> </property>
>
> + <property name="lastAccessed">
> + <getter>
> + return this.selected ? Date.now() : this._lastAccessed;
Seems problematic in preview mode. We may set the time stamp on selected tab to Infinity.
You need to log in
before you can comment on or make changes to this bug.
Description
•