Closed Bug 601014 Opened 14 years ago Closed 14 years ago

Session Restore should never set the tab to both pinned and hidden

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: iangilman, Assigned: iangilman)

References

Details

See bug 597220. Relevant comment:

    sessionstore does restore pinned & hidden. We explicitly call pin/unPinTab,
    however we just set hidden directly. If that's a problem we can fix it.

Pinned should take precedence over hidden.
So we should call hideTab before Pin/unPinTab?
(In reply to comment #1)
> So we should call hideTab before Pin/unPinTab?

Yeah, that will give the correct behavior once bug 597218 is fixed.
blocking2.0: --- → betaN+
(In reply to comment #1)
> So we should call hideTab before Pin/unPinTab?

Actually it'd be more efficient to call pinTab before hideTab; hideTab just returns if the tab is already pinned (whereas the other way it would have to hide it and then un-hide it, and that only after bug 597218 lands).
Looks like I'm going to fix this as part of bug 597218.
Assignee: nobody → ian
Status: NEW → ASSIGNED
Depends on: 597218
bug 597218 has landed which contains the fix for this bug.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.