Closed
Bug 462222
Opened 16 years ago
Closed 11 years ago
getZOrderDOMWindowEnumerator broken on Linux and Mac
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 3.6
People
(Reporter: ehsan.akhgari, Assigned: dao, NeedInfo)
References
()
Details
(Keywords: dev-doc-needed, fixed1.9.1)
Attachments
(1 file, 1 obsolete file)
805 bytes,
patch
|
mconnor
:
review+
mconnor
:
approval1.9.1+
|
Details | Diff | Splinter Review |
getZOrderDOMWindowEnumerator seems to be working only on Windows. We need to adjust the #ifdefs at the following places accordingly:
https://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#4267
https://mxr.mozilla.org/mozilla-central/source/browser/components/nsBrowserContentHandler.js#253
Comment 1•16 years ago
|
||
Bug 456439 will be adding another copy of this code to nsBrowserGlue.js as well.
Updated•16 years ago
|
Flags: blocking-firefox3.1?
Comment 2•16 years ago
|
||
Yeah... we need to fix this.
bug 156333 is the longstanding Linux bustage.
Depends on: 156333
Comment 3•16 years ago
|
||
As per comment 2, dunno why he didn't flip the flag himself ;)
Flags: blocking-firefox3.1? → blocking-firefox3.1+
Target Milestone: --- → Firefox 3.1
Updated•16 years ago
|
Assignee: nobody → dtownsend
Updated•16 years ago
|
Priority: -- → P2
Comment 4•16 years ago
|
||
Looks like this isn't going to get fixed on Mac anytime soon. Ehsan, do you have a good understanding of the changes we need to handle this?
Assignee | ||
Updated•16 years ago
|
Reporter | ||
Comment 5•16 years ago
|
||
Without the dependencies being fixed, there is nothing to do here. This bug is mostly about removing the conditional code inside of BROKEN_WM_Z_ORDER blocks, once the dependencies are fixed.
Given that bug 450576 is blocking1.9.1-, and bug 156333 is wanted1.9.1+, I'm not sure how this one ended up being blocking1.9.1+. Turning the flag to ? for reconsideration.
Flags: blocking-firefox3.1+ → blocking-firefox3.1?
Comment 6•16 years ago
|
||
bug 450576 was previously blocking but josh has concluded that it is too risky to take for 1.9.1, so we can't block here either.
Assignee: dtownsend → nobody
Flags: blocking-firefox3.1? → blocking-firefox3.1-
Comment 7•16 years ago
|
||
Pretty sure we still have to fix the ifdefs so that we don't assume mac will work...
Flags: blocking-firefox3.1- → blocking-firefox3.1+
Assignee | ||
Comment 8•16 years ago
|
||
this is what nsPrivateBrowsingService.js already does
Attachment #356324 -
Flags: review?(mconnor)
Comment 9•16 years ago
|
||
The patch in bug 462478 would make this one simpler.
Updated•16 years ago
|
Whiteboard: [has patch][needs review mconnor]
Updated•16 years ago
|
Assignee: nobody → dao
Assignee | ||
Comment 10•16 years ago
|
||
Attachment #356324 -
Attachment is obsolete: true
Attachment #356633 -
Flags: review?(mconnor)
Attachment #356324 -
Flags: review?(mconnor)
Comment 11•16 years ago
|
||
Comment on attachment 356633 [details] [diff] [review]
updated (checked in)
thanks!
Attachment #356633 -
Flags: review?(mconnor)
Attachment #356633 -
Flags: review+
Attachment #356633 -
Flags: approval1.9.1+
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch][needs review mconnor] → [needs landing]
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 12•16 years ago
|
||
Comment on attachment 356633 [details] [diff] [review]
updated (checked in)
https://hg.mozilla.org/mozilla-central/rev/d765319f547d
https://hg.mozilla.org/releases/mozilla-1.9.1/rev/a05e3e37e030
Attachment #356633 -
Attachment description: updated → updated (checked in)
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed → fixed1.9.1
Whiteboard: [needs landing]
Assignee | ||
Updated•16 years ago
|
Assignee: dao → nobody
Target Milestone: Firefox 3.1 → ---
Comment 13•16 years ago
|
||
This is "fine" for now, but we should stay on top of this for .next
Flags: blocking-firefox3.6+
Flags: blocking-firefox3.5-
Flags: blocking-firefox3.5+
Comment 14•15 years ago
|
||
Connor, this is blocking, but there's a checked in patch? I think we want to:
- close this bug
- open a new bug with a description of what has to change
- make that bug blocking, if you believe it needs to be
- make sure that bug has an assignee
Assigning this to mconnor for now to handle.
Assignee: nobody → mconnor
Comment 15•15 years ago
|
||
After further discussion with mconnor - this doesn't block. mconnor does still believe we should fix it, instead of just assuming broken z order everywhere except windows. It may well belong in its own bug instead of here, but either way, marking it blocking-.
Flags: blocking-firefox3.6+ → blocking-firefox3.6-
Updated•14 years ago
|
Assignee: mconnor → nobody
Priority: P2 → --
Comment 16•13 years ago
|
||
while on Mac it is working it still fails on Linux. Is there anything we can do here to get this enumerator fixed?
Comment 17•11 years ago
|
||
Looks like this is working now across platforms. Ehsan, can you verify that?
Flags: needinfo?(ehsan)
Reporter | ||
Comment 18•11 years ago
|
||
The code in question doesn't exist any more.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(ehsan)
Resolution: --- → WORKSFORME
Assignee | ||
Comment 19•11 years ago
|
||
It still exists. (See the URL field.)
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Reporter | ||
Comment 20•11 years ago
|
||
Oh, right, it was moved... by me! ;-)
Comment 21•11 years ago
|
||
What I wanted to say in comment 17 is that we have a test for Mozmill which makes use of the getZOrderDOMWindowEnumerator and works well across platforms. So I wonder if those remaining ifdef declarations are still necessary.
Comment 22•11 years ago
|
||
According to bug 874566, the ZOrder enumerator now works on Mac, so updating this accordingly.
Summary: getZOrderDOMWindowEnumerator broken on both Linux and Mac → getZOrderDOMWindowEnumerator broken on Linux
Assignee | ||
Comment 23•11 years ago
|
||
(In reply to Mark Hammond (:markh) from comment #22)
> According to bug 874566, the ZOrder enumerator now works on Mac, so updating
> this accordingly.
Please continue that discussion in bug 450576. Once resolved, we should update this bug, and file a bug on updating our BROKEN_WM_Z_ORDER logic.
Summary: getZOrderDOMWindowEnumerator broken on Linux → getZOrderDOMWindowEnumerator broken on Linux and Mac
Comment 24•11 years ago
|
||
This bug doesn't seem useful anymore.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 25•11 years ago
|
||
I morphed bug 891194 into being about fixing BROKEN_WM_Z_ORDER
Updated•11 years ago
|
Resolution: FIXED → INCOMPLETE
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dao
Resolution: INCOMPLETE → FIXED
Target Milestone: --- → Firefox 3.6
Comment 26•8 years ago
|
||
Dao, so this issue got fixed 4 years ago, right? I ask because MDN still refers to this bug and says that it is broken on Linux and OS X.
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIWindowMediator#getZOrderDOMWindowEnumerator()
Flags: needinfo?(dao+bmo)
Assignee | ||
Comment 27•8 years ago
|
||
You're misunderstanding what this bug is about. It's not about whether getZOrderDOMWindowEnumerator is broken but where it's broken.
Flags: needinfo?(dao+bmo)
Assignee | ||
Comment 28•8 years ago
|
||
Somebody should update MDN to say that it's broken on Linux and point to bug 156333 rather than this bug. Unfortunately editing MDN requires a github account these days and I don't have one.
Comment 29•8 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #28)
> Somebody should update MDN to say that it's broken on Linux and point to bug
> 156333 rather than this bug. Unfortunately editing MDN requires a github
> account these days and I don't have one.
Thanks Dao. Sheppy, can you or someone else please update the above referenced page? Thanks.
Flags: needinfo?(eshepherd)
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•