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)
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.
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
I'll test this soon.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Comment 4•23 years ago
|
||
Attachment #67742 -
Attachment is obsolete: true
Comment 5•23 years ago
|
||
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.
Comment 7•23 years ago
|
||
Attachment #67902 -
Attachment is obsolete: true
Comment 8•23 years ago
|
||
Attachment #67745 -
Attachment is obsolete: true
Comment 9•23 years ago
|
||
Attachment #67903 -
Attachment is obsolete: true
Assignee | ||
Updated•23 years ago
|
Whiteboard: NEIL
Assignee | ||
Comment 10•23 years ago
|
||
*** Bug 124366 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•23 years ago
|
||
*** Bug 126281 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
Sorry, I forgot to do these earlier.
Assignee | ||
Comment 13•23 years ago
|
||
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.
Comment 14•23 years ago
|
||
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.
Comment 16•23 years ago
|
||
Really sorry for missing this one off, must have confused you somewhat!
Assignee | ||
Comment 17•23 years ago
|
||
*** Bug 127036 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 18•23 years ago
|
||
*** Bug 127523 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 19•23 years ago
|
||
Comment on attachment 68520 [details]
editorTasksOverlay.xul bitrotted
r=cmanske
Attachment #68520 -
Flags: review+
Assignee | ||
Comment 20•23 years ago
|
||
Comment on attachment 68521 [details] [diff] [review]
tasksOverlay.* bitrotted
r=cmanske
Attachment #68521 -
Flags: review+
Assignee | ||
Comment 21•23 years ago
|
||
Comment on attachment 68522 [details] [diff] [review]
mailTasksOverlay.xul bitrotted
r=cmanske
Attachment #68522 -
Flags: review+
Assignee | ||
Comment 22•23 years ago
|
||
Comment on attachment 70531 [details] [diff] [review]
Changes to contents.rdf
r=cmanske
Attachment #70531 -
Flags: review+
Assignee | ||
Comment 23•23 years ago
|
||
Comment on attachment 70919 [details] [diff] [review]
Changes to editorApplicationOverlay.js
r=cmanske
Attachment #70919 -
Flags: review+
Assignee | ||
Updated•23 years ago
|
Comment 24•23 years ago
|
||
Comment on attachment 68520 [details]
editorTasksOverlay.xul bitrotted
sr=hewitt
Attachment #68520 -
Flags: superreview+
Comment 25•23 years ago
|
||
Comment on attachment 68521 [details] [diff] [review]
tasksOverlay.* bitrotted
sr=hewitt
Attachment #68521 -
Flags: superreview+
Updated•23 years ago
|
Attachment #68522 -
Flags: superreview+
Comment 26•23 years ago
|
||
Comment on attachment 68522 [details] [diff] [review]
mailTasksOverlay.xul bitrotted
sr=hewitt
Comment 27•23 years ago
|
||
Comment on attachment 70531 [details] [diff] [review]
Changes to contents.rdf
sr=hewitt
Attachment #70531 -
Flags: superreview+
Comment 28•23 years ago
|
||
Comment on attachment 70919 [details] [diff] [review]
Changes to editorApplicationOverlay.js
sr=hewitt
Attachment #70919 -
Flags: superreview+
Comment 29•23 years ago
|
||
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 30•23 years ago
|
||
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 31•23 years ago
|
||
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 32•23 years ago
|
||
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 33•23 years ago
|
||
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+
Assignee | ||
Updated•23 years ago
|
Whiteboard: NEIL, FIX IN HAND, need sr= → NEIL, FIX IN HAND, approved
Assignee | ||
Comment 34•23 years ago
|
||
checked in
Comment 35•23 years ago
|
||
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.
Assignee | ||
Updated•23 years ago
|
Attachment #68520 -
Attachment is obsolete: true
Assignee | ||
Updated•23 years ago
|
Attachment #68521 -
Attachment is obsolete: true
Assignee | ||
Updated•23 years ago
|
Attachment #68522 -
Attachment is obsolete: true
Assignee | ||
Updated•23 years ago
|
Attachment #70531 -
Attachment is obsolete: true
Assignee | ||
Updated•23 years ago
|
Attachment #70919 -
Attachment is obsolete: true
Comment 36•23 years ago
|
||
Charley, please verify this bug...thanks
Assignee | ||
Comment 37•23 years ago
|
||
Reopened to work on issue Neil found with overlay load order.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 38•23 years ago
|
||
verification instructions per cmanske = verify New Blank Page works from all
modules.
Comment 39•23 years ago
|
||
also test that the icons for each moduel on the taskbar appear in the correct
order.
Assignee | ||
Comment 40•23 years ago
|
||
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+
Assignee | ||
Comment 41•23 years ago
|
||
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 ago → 23 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•23 years ago
|
Attachment #75958 -
Attachment is obsolete: true
Comment 42•23 years ago
|
||
verified in 3/26 build.
REOPEN if anyone disagrees.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•