Closed
Bug 266769
Opened 20 years ago
Closed 19 years ago
parent window isn't movable / draggable when sheet is open
Categories
(Core Graveyard :: Widget: Mac, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: uncommon, Assigned: the_great_spam_bin)
References
Details
(Keywords: regression, verified1.8)
Attachments
(1 file)
1.76 KB,
patch
|
mark
:
review+
sfraser_bugs
:
superreview+
asa
:
approval1.8b5+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1
When a sheet is open, such as an error alert, the about box, or the preferences
window, the parent window is not draggable.
Reproducible: Always
Steps to Reproduce:
1. Have a browser window open
2. Select About Mozilla Firefox or Preferences from the application menu
3. Try to drag the browser window
Actual Results:
It beeps.
Expected Results:
The window should be draggable; that's a basic part of how sheets are supposed
to work.
Comment 1•20 years ago
|
||
Looks as we don't have an older report, confirmed.
Assignee: bugs → jag
Status: UNCONFIRMED → NEW
Component: OS Integration → XP Toolkit/Widgets
Ever confirmed: true
Product: Firefox → Browser
QA Contact: firefox.os-integration → jrgmorrison
Whiteboard: DUPEME
Version: unspecified → Trunk
*** Bug 276425 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Assignee: jag → sfraser_bugs
Component: XP Toolkit/Widgets → Widget: Mac
QA Contact: jrgmorrison
Summary: Window not draggable when sheet is open → parent window isn't movable / draggable when sheet is open
Whiteboard: DUPEME
This seems to fix it. I haven't noticed any ill effects. Does anyone know the
justification for the check that I removed?
Attachment #170620 -
Flags: review?(sfraser_bugs)
Comment 4•20 years ago
|
||
CVS blame:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/widget/src/mac/nsMacMessagePump.cpp
says that change was made to fix bug 126786.
OK, now I think I know what's going on:
The check was added in bug 126786, but was not meant to apply to OS X. In fact, the original check
was:
+ if (nsToolkit::OnMacOSX() ||
+ !topWidget || NS_FAILED(topWidget->IsEnabled(&enabled)) || enabled ||
+ (anEvent.modifiers & cmdKey)) {
See comments 9 and 10 in bug 126786.
But then, the patch for bug 223545 removed the "nsToolkit::OnMacOSX()". Since that bug doesn't seem
to have anything to do with dragging, but did replace nsToolkit::OnMacOSX() with nsToolkit::
OSXVersion(), I think this is an accidental regression. Since OS9 is dead, we can probably just remove
the whole check.
Updated•19 years ago
|
Assignee: sfraser_bugs → joshmoz
Comment 6•19 years ago
|
||
This is a serious bug that is super annoying, and can cause FF to get into a
locked state if window layering changes while a sheet is up and FF is in the
background.
Flags: blocking1.8b5?
Comment 7•19 years ago
|
||
Comment on attachment 170620 [details] [diff] [review]
potential patch
This is the right thing to do. r=me, as long as the indentation is fixed to
reflect that ::DragWindow and friends have moved up a level.
Here's the regression, where it went wrong:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&r
oot=/cvsroot&subdir=mozilla/widget/src/mac&command=DIFF_FRAMESET&file=nsMacMess
agePump.cpp&rev2=1.143&rev1=1.142
Attachment #170620 -
Flags: superreview?(sfraser_bugs)
Attachment #170620 -
Flags: review?(sfraser_bugs)
Attachment #170620 -
Flags: review+
Comment 8•19 years ago
|
||
Comment on attachment 170620 [details] [diff] [review]
potential patch
Thanks for the archaeology.
Attachment #170620 -
Flags: superreview?(sfraser_bugs) → superreview+
Updated•19 years ago
|
Assignee: joshmoz → the_great_spam_bin
Updated•19 years ago
|
Attachment #170620 -
Flags: approval1.8b5?
Comment 9•19 years ago
|
||
Fixed on the trunk. This is a regression, though it regressed before 1.7/aviary
1.0 - let's get this for the branch too if we can. Low risk.
Comment 10•19 years ago
|
||
I recommend taking this on the branch.
Updated•19 years ago
|
Attachment #170620 -
Flags: approval1.8b5? → approval1.8b5+
Comment 11•19 years ago
|
||
Checking in nsMacMessagePump.cpp;
/cvsroot/mozilla/widget/src/mac/nsMacMessagePump.cpp,v <-- nsMacMessagePump.cpp
new revision: 1.148.8.1; previous revision: 1.148
done
Keywords: fixed1.8
Comment 12•19 years ago
|
||
belatedly setting the blocking 1.8b5 flag since we took this fix on the branch.
Flags: blocking1.8b5? → blocking1.8b5+
Updated•19 years ago
|
Keywords: fixed1.8 → verified1.8
You need to log in
before you can comment on or make changes to this bug.
Description
•