Closed Bug 122271 Opened 23 years ago Closed 23 years ago

Create editorTasksOverlay to allow optional inclusion of Composer button on the component bar

Categories

(SeaMonkey :: Composer, defect)

All
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: cmanske, Assigned: cmanske)

References

Details

Attachments

(10 obsolete files)

Spin-off request from bug 89975: > Moved all editor-related code out of XPFE and into editorApplicationOverlay.js, > which is included via editorNavigatorOverlay.xul by the browser. But not by other apps. This means that the editor button in the component bar is broken unless the app happens to overlay editorNavigatorOverlay.xul or editorMailOverlay.xul, i.e. only for browser and mail, but not e.g. ChatZilla. Please either move NewEditorWindow() back to tasksOverlay.js, or (better) create editorTasksOverlay.xul and editorTasksOverlay.js to resolve this, thus making it easier to remove Editor.
Attached file Proposed editorTasksOverlay.xul (obsolete) —
Attached patch Changes to tasksOverlay.* (obsolete) — Splinter Review
I'll test this soon.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Attachment #67742 - Attachment is obsolete: true
Attached patch Tweak mailTasksOverlay.xul (obsolete) — Splinter Review
This patch ensures that Composer appears in the correct place in the tasks menu and component bar in case mailTasksOverlay.xul loads before editorTasksOverlay.xul as I'm not sure if the load order can be guaranteed.
This is Neil's work.
Keywords: nsbeta1+
Attached file editorTasksOverlay.xul bitrotted (obsolete) —
Attachment #67902 - Attachment is obsolete: true
Attached patch tasksOverlay.* bitrotted (obsolete) — Splinter Review
Attachment #67745 - Attachment is obsolete: true
Attached patch mailTasksOverlay.xul bitrotted (obsolete) — Splinter Review
Attachment #67903 - Attachment is obsolete: true
Whiteboard: NEIL
*** Bug 124366 has been marked as a duplicate of this bug. ***
*** Bug 126281 has been marked as a duplicate of this bug. ***
Attached patch Changes to contents.rdf (obsolete) — Splinter Review
Sorry, I forgot to do these earlier.
Problems I see with this: 1. In Browser and Mail windows, the Composer task icon is in the 1st position 2. You need to alter addressbook.xul and messengercompose.xul just as you did for others. 3. When an existing Composer window is found, the focus doesn't propagate to the editing content window -- must click in there to edit. (This probably isn't your fault!) 4. Add editorTasksOverlay.xul to editor\jar.mn 5. The method toEditor() can simply be: function toEditor() { if (!CycleWindow("composer:html")) // Defined in editorApplicationOverlay.js NewEditorWindow(); } Anyone including editorTasksOverlay.xul should also have access to editorApplication.js. On this topic, maybe we should just have editorTasksOverlay.xul and .js and elliminate editorApplicationOveralay.js? The latter isn't complete anyway: There are still "menu_newEditor" items in other module XUL that should be added only via a Composer overlay. And the New Blank page commands are still broken in history (bug 126281), Addressbook, and JS Console windows. I think we should try to solve all of these with one editor overlay set.
Charles Manske wrote: > Problems I see with this: > 1. In Browser and Mail windows, the Composer task icon is in the 1st position I don't see this. I can't even see how this would happen. > 2. You need to alter addressbook.xul and messengercompose.xul just as you did > for others. I don't understand this comment. They use tasksOverlay, that's the point. > 3. When an existing Composer window is found, the focus doesn't propagate to > the editing content window -- must click in there to edit. (This probably > isn't your fault!) I don't know what happened before, sorry. > 4. Add editorTasksOverlay.xul to editor\jar.mn Is it just this file that's affected? 5. <snip> I disagree. The point is that editorApplicationOverlay is only used to overlay the browser and messenger, it has no relevance to the rest of Mozilla.
changing milestone
Target Milestone: mozilla0.9.9 → mozilla1.0
Really sorry for missing this one off, must have confused you somewhat!
*** Bug 127036 has been marked as a duplicate of this bug. ***
*** Bug 127523 has been marked as a duplicate of this bug. ***
Comment on attachment 68520 [details] editorTasksOverlay.xul bitrotted r=cmanske
Attachment #68520 - Flags: review+
Comment on attachment 68521 [details] [diff] [review] tasksOverlay.* bitrotted r=cmanske
Attachment #68521 - Flags: review+
Comment on attachment 68522 [details] [diff] [review] mailTasksOverlay.xul bitrotted r=cmanske
Attachment #68522 - Flags: review+
Comment on attachment 70531 [details] [diff] [review] Changes to contents.rdf r=cmanske
Attachment #70531 - Flags: review+
Comment on attachment 70919 [details] [diff] [review] Changes to editorApplicationOverlay.js r=cmanske
Attachment #70919 - Flags: review+
Keywords: patch, review
Whiteboard: NEIL → NEIL, FIX IN HAND, need sr=
Comment on attachment 68520 [details] editorTasksOverlay.xul bitrotted sr=hewitt
Attachment #68520 - Flags: superreview+
Comment on attachment 68521 [details] [diff] [review] tasksOverlay.* bitrotted sr=hewitt
Attachment #68521 - Flags: superreview+
Attachment #68522 - Flags: superreview+
Comment on attachment 68522 [details] [diff] [review] mailTasksOverlay.xul bitrotted sr=hewitt
Comment on attachment 70531 [details] [diff] [review] Changes to contents.rdf sr=hewitt
Attachment #70531 - Flags: superreview+
Comment on attachment 70919 [details] [diff] [review] Changes to editorApplicationOverlay.js sr=hewitt
Attachment #70919 - Flags: superreview+
Comment on attachment 68520 [details] editorTasksOverlay.xul bitrotted a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #68520 - Flags: approval+
Comment on attachment 68521 [details] [diff] [review] tasksOverlay.* bitrotted a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #68521 - Flags: approval+
Comment on attachment 68522 [details] [diff] [review] mailTasksOverlay.xul bitrotted a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #68522 - Flags: approval+
Comment on attachment 70531 [details] [diff] [review] Changes to contents.rdf a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #70531 - Flags: approval+
Comment on attachment 70919 [details] [diff] [review] Changes to editorApplicationOverlay.js a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #70919 - Flags: approval+
Whiteboard: NEIL, FIX IN HAND, need sr= → NEIL, FIX IN HAND, approved
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: patch, review
Resolution: --- → FIXED
Whiteboard: NEIL, FIX IN HAND, approved
Attached patch Preventative measure (obsolete) — Splinter Review
I have been able to break my build of Mozilla by manually editing some internal configuration files, and I am worried that normal use of Mozilla may reproduce my edits, which would break the tasks menu. However this patch prevents that.
Attachment #68520 - Attachment is obsolete: true
Attachment #68521 - Attachment is obsolete: true
Attachment #68522 - Attachment is obsolete: true
Attachment #70531 - Attachment is obsolete: true
Attachment #70919 - Attachment is obsolete: true
Charley, please verify this bug...thanks
Reopened to work on issue Neil found with overlay load order.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
verification instructions per cmanske = verify New Blank Page works from all modules.
also test that the icons for each moduel on the taskbar appear in the correct order.
Comment on attachment 75958 [details] [diff] [review] Preventative measure r=cmanske This controls order of overlay loading so editorTasksOverlay is always loaded before mailTaskOverlay
Attachment #75958 - Flags: review+
Blocks: 133167
I'm going to mark this fixed. The new patch addresses problem reported separately in bug 133167 and is moved there.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Attachment #75958 - Attachment is obsolete: true
verified in 3/26 build. REOPEN if anyone disagrees.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: