Closed
Bug 64129
Opened 24 years ago
Closed 24 years ago
If file already open in Composer, browser's Open location in new composer window does not find it
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.8
People
(Reporter: sfraser_bugs, Assigned: cmanske)
Details
Attachments
(1 file)
3.40 KB,
patch
|
Details | Diff | Splinter Review |
Normally in Composer, opening a file which is already open for editing just brings the relevant window to the front, to avoid opening the file twice. However, this does not work if, when the file is already open in Composer, you use the 'Open location dialog' in the browser window (and pick open in new composer window). We need to go through the logic to look for an open window with that file in this case also.
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.8
Assignee | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
sr=sfraser
Assignee | ||
Comment 3•24 years ago
|
||
All non-editor windows that want to create an editor with a particular url should now use "editPage()" method in utilityOverlay.js. It will search for Opening an editor via File | Edit Page, File | Open Location, and "Edit Link" on the context menu now use editPage().
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 4•24 years ago
|
||
Reopening, this broke Edit Page and Edit Link in Composer in navigator.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 5•24 years ago
|
||
JavaScript error: chrome://communicator/content/utilityOverlay.js line 441: launchWindow has no pr operties Maybe you need to update the calls from nsContextMenu.js and navigatorOverlay.xul? Although you have that launchWindow check.
Assignee | ||
Comment 6•24 years ago
|
||
This seems to be an unrelated problem in nsEditorShell.cpp::CheckOpenWindowForURLMatch(), which changed recently. It's chocking when one of the editors hasn't saved to file yet. Sorry, I realize my testing always used existing files, given the nature of the bug, that made sense! It makes better sense to open a new bug for this.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 8•24 years ago
|
||
Hmm...really? I can't imagine this not being a problem with the fix, given the launchWindow JS error...
You need to log in
before you can comment on or make changes to this bug.
Description
•