Open
Bug 75934
Opened 23 years ago
Updated 2 years ago
Display dot in window close widget of windows with unsaved contents
Categories
(Core :: XUL, enhancement)
Tracking
()
NEW
People
(Reporter: hsivonen, Unassigned)
References
(Blocks 2 open bugs, )
Details
Attachments
(2 files)
On Mac OS X, the window close button is supposed to have a dot in the middle, if the window contains unsaved changes. Editor windows don't support this. See page 55 of the Aqua HIG (Macworld draft).
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
We need to use the SetWindowModified API, or whatever it's called, and should probably have generic hooks for this. nsIDiskDocument would be a good place at the lower level, but this would need to communicate up to the widget layer somehow. This is kinda similar to the window icon problem.
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Comment 4•23 years ago
|
||
I was looking at this for some of the window icon stuff and editor at least has an api where you can attach listeners to the ?document? who can observe whether its dirty or not. However since presumably mail compose windows want to do this too, it should be done at a lower level than editor. Henri, did you intend this bug to apply to more than the editor? ie, will you make another one for mailnews?
Comment 5•23 years ago
|
||
Why wouldn't mail compose windows also want this behavior? Wouldn't users want to know if the draft had been saved or not? I think this bug should cover both Composer and Mail Compose.
Reporter | ||
Comment 6•23 years ago
|
||
I haven't been testing Mail&News, but this probably applies to more than just the Editor.
Summary: Dot indicating unsaved changes not supported in Editor windows → Dot indicating unsaved changes not supported
Updated•23 years ago
|
Priority: -- → P4
Updated•23 years ago
|
Whiteboard: OSX
Comment 7•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Updated•23 years ago
|
Whiteboard: OSX
Revising summary.
Summary: Dot indicating unsaved changes not supported → Display dot in window close widget of windows with unsaved contents
Updated•21 years ago
|
Target Milestone: mozilla1.2alpha → mozilla1.5alpha
Comment 10•19 years ago
|
||
*** Bug 317813 has been marked as a duplicate of this bug. ***
Comment 11•17 years ago
|
||
see also bug 370318
Updated•17 years ago
|
QA Contact: sujay → editor
Updated•16 years ago
|
Assignee: sfraser_bugs → nobody
Now works in BlueGriffon ; see http://sources.disruptive-innovations.com/bluegriffon/trunk/src/diOSXDockIconBadger/ and |<method name="updateOSXCloseButton">| in http://sources.disruptive-innovations.com/bluegriffon/trunk/base/content/bluegriffon/bindings/tabeditor.xml
Updated•13 years ago
|
Assignee: nobody → daniel
Component: Editor → OS Integration
Priority: P4 → --
Product: Core → Composer
QA Contact: editor
Target Milestone: mozilla1.5alpha → ---
Version: Trunk → other
Updated•13 years ago
|
Severity: normal → enhancement
Hardware: PowerPC → x86
ehsan just made me the owner of this bug... Hey, ehsan, ask me next time ? Ok, I'll try to make a patch for composer here.
Comment 15•13 years ago
|
||
(In reply to comment #14) > ehsan just made me the owner of this bug... Hey, ehsan, ask me next time ? I didn't actually! You just seem to be the default assignee for this component (probably dating back to several years ago)! Please file a bug to get that fixed. :-) Sorry for the confusion. ;-)
Assignee: daniel → nobody
Comment 16•13 years ago
|
||
(In reply to comment #15) > (In reply to comment #14) > > ehsan just made me the owner of this bug... Hey, ehsan, ask me next time ? > I didn't actually! You just seem to be the default assignee for this component I don't think composer is the right component for this anyway, it seems like something that should be fixed using either an attribute on the <window> or a property on nsIChromeWindow or maybe nsIXULWindow. At some point web pages (e.g. webmail) might want to be able to notify the chrome as to whether they have unsaved changes too, and chrome could then set the dot if any of the tabs has unsaved changes.
Comment 17•13 years ago
|
||
OK, moving over to XUL then.
Component: OS Integration → XUL
Product: Composer → Core
QA Contact: xptoolkit.widgets
Version: other → Trunk
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•