Closed
Bug 287162
Opened 20 years ago
Closed 15 years ago
Mac Widget code ignores "minimizable=no" window feature
Categories
(Core :: Widget: Cocoa, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: asaf, Assigned: markus)
References
Details
(Keywords: platform-parity)
Attachments
(1 file)
|
2.25 KB,
patch
|
asaf
:
review+
roc
:
superreview+
faaborg
:
ui-review+
|
Details | Diff | Splinter Review |
Apparenltly, widget:mac is ignoring eBorderStyle_minimize
| Reporter | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta2
| Reporter | ||
Updated•20 years ago
|
Priority: -- → P2
Target Milestone: mozilla1.8beta2 → mozilla1.9alpha
Comment 1•19 years ago
|
||
*** Bug 333339 has been marked as a duplicate of this bug. ***
| Reporter | ||
Updated•18 years ago
|
Assignee: bugs.mano → joshmoz
Status: ASSIGNED → NEW
Target Milestone: mozilla1.9alpha → ---
Updated•16 years ago
|
Assignee: nobody → joshmoz
Component: Widget: Mac → Widget: Cocoa
QA Contact: mac → cocoa
| Assignee | ||
Comment 2•15 years ago
|
||
Here's a patch to implement the minimize behaviour for cocoa windows too, including a fix which disables the minimize button for the about window on mac.
| Reporter | ||
Comment 3•15 years ago
|
||
Comment on attachment 403795 [details] [diff] [review] Implement the "minimize" functionality for widget:cocoa r=mano.
Attachment #403795 -
Flags: review?(mano) → review+
| Assignee | ||
Comment 4•15 years ago
|
||
Asaf, who would I ask for additional reviews/superreviews?
| Assignee | ||
Updated•15 years ago
|
Attachment #403795 -
Flags: ui-review?(faaborg)
Updated•15 years ago
|
Attachment #403795 -
Flags: ui-review?(faaborg) → ui-review+
Updated•15 years ago
|
Hardware: PowerPC → All
| Assignee | ||
Updated•15 years ago
|
Attachment #403795 -
Flags: approval1.9.2?
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
| Reporter | ||
Comment 5•15 years ago
|
||
Comment on attachment 403795 [details] [diff] [review] Implement the "minimize" functionality for widget:cocoa roc
Attachment #403795 -
Flags: approval1.9.2?
| Assignee | ||
Comment 7•15 years ago
|
||
Sorry, I somehow missed the "roc" in your reply, and were told by gavin on irc that it wouldn't need a superreview. Continuing.
| Assignee | ||
Updated•15 years ago
|
Attachment #403795 -
Flags: superreview?(roc)
Comment on attachment 403795 [details] [diff] [review] Implement the "minimize" functionality for widget:cocoa This actually does not need sr, but I'll mark it anyway...
Attachment #403795 -
Flags: superreview?(roc) → superreview+
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 9•15 years ago
|
||
Comment on attachment 403795 [details] [diff] [review] Implement the "minimize" functionality for widget:cocoa >- window.open("chrome://browser/content/aboutDialog.xul", "About", >- "chrome, resizable=no, minimizable=no"); >+ window.openDialog("chrome://browser/content/aboutDialog.xul", "About", >+ "chrome, resizable=no, minimizable=no"); Why this change?
Updated•15 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 10•15 years ago
|
||
(In reply to comment #9) > (From update of attachment 403795 [details] [diff] [review]) > >- window.open("chrome://browser/content/aboutDialog.xul", "About", > >- "chrome, resizable=no, minimizable=no"); > >+ window.openDialog("chrome://browser/content/aboutDialog.xul", "About", > >+ "chrome, resizable=no, minimizable=no"); > > Why this change? Because the minimizable feature is only regarded for dialog windows, not regular windows. See https://developer.mozilla.org/en/Window.open under the "Window functionality features" section, at the "dialog" and "minimizable" definitions. window.openDialog does the same thing as window.open except it defaults to "dialog=yes" which would be the proper thing to do here. See https://developer.mozilla.org/en/DOM/window.openDialog#Default_behaviour for more info. Also, I find it cleaner since the code for other platforms uses openDialog, check out http://mxr.mozilla.org/mozilla-central/source/browser/base/content/utilityOverlay.js#386
Comment 11•15 years ago
|
||
Alright, I didn't realize openDialog() defaults to dialog=yes while open() doesn't.
Keywords: checkin-needed
Comment 12•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/8c32e0eecbad
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
| Reporter | ||
Updated•15 years ago
|
Attachment #403795 -
Flags: approval1.9.2?
Comment 13•15 years ago
|
||
Comment on attachment 403795 [details] [diff] [review] Implement the "minimize" functionality for widget:cocoa approval1.9.2 requests aren't currently being monitored, since we're nearing RC freeze and there are too many outstanding requests, so I'm clearing this request. Feel free to re-request approval if you are confident that it's worth drivers' time to consider whether this non-blocker needs to land for 1.9.2 at this stage.
Attachment #403795 -
Flags: approval1.9.2?
| Assignee | ||
Comment 14•15 years ago
|
||
Gavin: Do I need to take any additional steps to nominate this fix for an upcoming (3.7a1?) Firefox release?
Comment 15•15 years ago
|
||
This fix has already landed on mozilla-central, which means it will be in Firefox 3.7a1. It will *not* be in Firefox 3.6.
You need to log in
before you can comment on or make changes to this bug.
Description
•