Closed Bug 483148 Opened 16 years ago Closed 16 years ago

it's bad z-order when dependent and alwaysraised window coexisted

Categories

(Core :: Widget, defect)

1.9.1 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: lhuang.perter.pan, Unassigned)

Details

Attachments

(1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-CN; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-CN; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 (.NET CLR 3.5.30729) some dependent window was placed behind parent window Reproducible: Always Steps to Reproduce: 1.create three dependent window and a alwaysraised window and a parent window for dependent 2.mouse click one of dependent window 3.mouse click another dependent window. if before this click, you have click alwaysraised window,no error was generated. Actual Results: some of dependent window was placed behind parent window Expected Results: all of dependent window was above parent window
fix the z-order misorder problem, and add new chrome feature "noactivate" that don't grab inuse window's focus
(In reply to comment #0) change "1.create three dependent window and a alwaysraised window and a parent window for dependent" to "1.after create a parent window with three dependent window , create a alwaysraised window" > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-CN; rv:1.9.1b3) > Gecko/20090305 Firefox/3.1b3 (.NET CLR 3.5.30729) > Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-CN; rv:1.9.1b3) > Gecko/20090305 Firefox/3.1b3 (.NET CLR 3.5.30729) > > some dependent window was placed behind parent window > > Reproducible: Always > > Steps to Reproduce: > 1.create three dependent window and a alwaysraised window and a parent window > for dependent > 2.mouse click one of dependent window > 3.mouse click another dependent window. if before this click, you have click > alwaysraised window,no error was generated. > Actual Results: > some of dependent window was placed behind parent window > > Expected Results: > all of dependent window was above parent window
(In reply to comment #1) also fix that problem that combobox list can't popup in panel > Created an attachment (id=367184) [details] > fix this problem and another problem that grab focus > > fix the z-order misorder problem, and add new chrome feature "noactivate" that > don't grab inuse window's focus
my code changed from FIREFOX_3_0_1_RELEASE
Version: unspecified → 1.9.1 Branch
I'm looking forward to become a mozilla developer, so that I can merge my changes into hg. (In reply to comment #4) > my code changed from FIREFOX_3_0_1_RELEASE
I have committed request, bug #483465 (In reply to comment #5) > I'm looking forward to become a mozilla developer, so that I can merge my > changes into hg. > (In reply to comment #4) > > my code changed from FIREFOX_3_0_1_RELEASE
hi mats.palmgren, could you please give some suggestion?
In 3.1b3, alwaysraised didn't work, please let var xulWin = window.QueryInterface(Ci.nsIInterfaceRequestor) .getInterface(Ci.nsIWebNavigation) .QueryInterface(Ci.nsIDocShellTreeItem) .treeOwner .QueryInterface(Ci.nsIInterfaceRequestor) .getInterface(Ci.nsIXULWindow); xulWin.zLevel = xulWin.raisedZ;
(In reply to comment #4) > my code changed from FIREFOX_3_0_1_RELEASE Correct, that's FIREFOX_3_0_RELEASE
Thank you for reporting this bug. (In reply to comment #9) > (In reply to comment #4) > > my code changed from FIREFOX_3_0_1_RELEASE > > Correct, that's FIREFOX_3_0_RELEASE I'm not sure that I understand what you are saying has changed. Did Firefox 3.0 (Gecko 1.9.0) behave as expected, or did it also show this bug?
my meaning is that I fix the bug on FIREFOX_3_0_RELEASE, not on FIREFOX_3_0_1_RELEASE. this bug exist among FIREFOX_3_0_1_RELEASE, FIREFOX_3_0_RELEASE and firefox3.5b5pre (In reply to comment #10) > Thank you for reporting this bug. > > (In reply to comment #9) > > (In reply to comment #4) > > > my code changed from FIREFOX_3_0_1_RELEASE > > > > Correct, that's FIREFOX_3_0_RELEASE > > I'm not sure that I understand what you are saying has changed. > Did Firefox 3.0 (Gecko 1.9.0) behave as expected, or did it also show this bug?
Comment on attachment 367184 [details] [diff] [review] fix this problem and another problem that grab focus z-order is not incorrect.if let child window or owned window locate below a special window, then the problem will appear. though MDI prevent from dragging , opera look like MDI。 In fact, opera was not MDI but child. nsWindow::WindowProc's WM_WINDOWPOSCHANGING need be filter out when window was child.
Attachment #367184 - Attachment is obsolete: true
firefox's interphase window relation was so blankness. so you hope to own opera similar interphase, you may do with the bug according to upper description.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: