Closed
Bug 639403
Opened 13 years ago
Closed 12 years ago
Need method to track active window
Categories
(Add-on SDK Graveyard :: General, enhancement, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: original.roju, Assigned: zer0)
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b12) Gecko/20100101 Firefox/4.0b12 Build Identifier: The windows module allows addons to track two events: "open" and "close". However, there's no way to track the current foreground window. For example, I wrote an addon to go back to the last active tab. However, it doesn't work correctly if the user switches windows, as it receives no notification of that fact. Reproducible: Always Steps to Reproduce: 1. Try to listen for changes to the active window Actual Results: You can't Expected Results: An API along the lines of require("windows").browserWindows.on("activate", function(window) {...});
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Priority: -- → P2
Hardware: x86 → All
Target Milestone: --- → 1.0
Comment 1•13 years ago
|
||
(automatic reprioritization of 1.0 bugs)
Priority: P2 → P1
Target Milestone: 1.0 → 1.1
Updated•13 years ago
|
Assignee: nobody → zer0
Re-prioritizing all 1.1-targeted feature requests to 1.2.
Target Milestone: 1.1 → 1.2
(Pushing all open bugs to the --- milestone for the new triage system)
Target Milestone: 1.2 → ---
Assignee | ||
Comment 4•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•12 years ago
|
Attachment #622674 -
Flags: review?(rFobic)
Updated•12 years ago
|
Attachment #622674 -
Flags: review?(rFobic) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Comment 6•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Comment 7•12 years ago
|
||
Please, ignore these two last comment and attachments. I have no clue why the github extensions doing that meanwhile I was reading just the comment on github. Sorry for the noise.
Comment 8•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/f7eaac3e7ee1efd32a66e4fa71d2fb94331798a7 Merge pull request #434 from ZER0/bug639403 fix Bug 639403 - Need method to track active window r=@gozala
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•