Closed Bug 764318 Opened 12 years ago Closed 12 years ago

[responsive mode] use this.tab.selected

Categories

(DevTools :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: paul, Assigned: paul)

Details

Attachments

(1 file, 3 obsolete files)

No description provided.
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #632623 - Flags: review?(dao)
Dao, I am also interested to know if this is the best way to be notified if a tab has been selected / hidden.
(In reply to Paul Rouget [:paul] from comment #2) > Dao, I am also interested to know if this is the best way to be notified if > a tab has been selected / hidden. Normally you'd use a TabSelect listener on gBrowser.tabContainer.
Attached patch patch v1.1 (obsolete) — Splinter Review
Comment on attachment 632635 [details] [diff] [review] patch v1.1 Thanks.
Attachment #632635 - Flags: review?(dao)
Attachment #632623 - Attachment is obsolete: true
Attachment #632623 - Flags: review?(dao)
When does this event listener get removed?
Attached patch patch v1.2 (obsolete) — Splinter Review
erf
Attachment #632635 - Attachment is obsolete: true
Attachment #632635 - Flags: review?(dao)
Attachment #632637 - Flags: review?(dao)
Attachment #632637 - Flags: review?(dao) → review+
Whiteboard: [land-in-fx-team]
Whiteboard: [land-in-fx-team]
Actually, this won't work because we uncheck the buttons if another tab is selected. But we don't know if the next tab is not in the responsive mode.
Attached patch patch v1.3Splinter Review
Uncheck only if the new selected tab is not in responsive mode
Attachment #632637 - Attachment is obsolete: true
Attachment #632643 - Flags: review?(dao)
Comment on attachment 632643 [details] [diff] [review] patch v1.3 Please file a bug on renaming tab.responsiveUI to tab.__responsiveUI, since it's no property managed by tabbrowser.xml but entirely external.
Attachment #632643 - Flags: review?(dao) → review+
Bug 766512 - Rename tab.responsiveUI to tab.__responsiveUI
Whiteboard: [land-in-fx-team]
Assignee: nobody → paul
Status: NEW → ASSIGNED
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 16
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: