Closed Bug 483403 Opened 15 years ago Closed 15 years ago

Temporarily disable tabstrip smooth scrolling when restoring a window

Categories

(Firefox :: Session Restore, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.6a1

People

(Reporter: dao, Assigned: dao)

References

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

Attached patch patchSplinter Review
When a window is being restored, smooth scrolling in the tabstrip should be disabled, because a) it's actually not smooth and b) it's better to immediately get to the state in which the window was closed, i.e. with the selected tab visible.
Attachment #367380 - Flags: review?(dietrich)
Comment on attachment 367380 [details] [diff] [review]
patch

this idea seems ok to me, please get additional review from Simon though. nit: only set smoothScroll if changed from original value?
Attachment #367380 - Flags: review?(dietrich) → review+
(In reply to comment #1)
> only set smoothScroll if changed from original value?

This seems like an unnecessary complication, e.g. I'd need another variable, or make the smoothScroll variable tri-state, or something like that.
Attachment #367380 - Flags: review?(zeniko)
Attachment #367380 - Flags: review?(zeniko) → review+
http://hg.mozilla.org/mozilla-central/rev/4b2a90a7726e
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.2a1
Attachment #367380 - Flags: approval1.9.1?
Attachment #367380 - Flags: approval1.9.1? → approval1.9.1+
Comment on attachment 367380 [details] [diff] [review]
patch

a=191, but if you could see if you can add a quick test for this (perhaps in some of the other session restore tests?) that would be super awesome.
The test this should probably be added to, the one for bug 480148, is currently disabled...
Flags: in-testsuite?
Keywords: checkin-needed
Flags: in-testsuite?
Blocks: 1456093
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: