Closed Bug 159798 Opened 23 years ago Closed 20 years ago

File/Page Setup menu item does nothing from JavaScript Console

Categories

(Core Graveyard :: Error Console, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jpmelko, Assigned: mozilla)

References

Details

(Keywords: useless-UI, Whiteboard: [patch])

Attachments

(1 file, 3 obsolete files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1b) Gecko/20020723 BuildID: 2002072308 The print setup in file menu of Javasript console don't work Reproducible: Always Steps to Reproduce: 1.Open Javascript console 2.Open FileMenu-PageSetup 3. Actual Results: Nothing Expected Results: Page setup Dialog
Mac specific issue? 2002072707/win98 JS console menu: File Close ----- Exit No print stuff.
There is no print stuff under Linux (2002072204) either.
On My Mac File Close Page Setup... ----- Exit I mac User Please to confirm
Confirmed using Mac/2002080208/9.2.2.
Severity: trivial → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: useless-UI
Summary: JavaScript FileMenu Print Setup don't work → File/Page Setup menu item does nothing from JavaScript Console
Could a MacOSX user tell me if this option still appears in the javascript console ?
Blocks: 218324
I can confirm that on MacOS X we still have a duff Page Setup menu item in the JavaScript console for Mozilla 1.5b. I'll have a go at a patch to remove it this weekend.
OS: Mac System 9.x → MacOS X
Bruce: note related bug 163641. Gerv
The problem is that the page setup menu is added in the global overlay for communicator. It is also defined by the particular overlays that require it (e.g. mailnews, navigator). Removing it from the global overlay doesn't affect it there, but removes it from JavaScript Console (and also bookmark manager, see bug 163641). This patch will currently cause Composer to lose its Page Setup menu item because it relied on the global one. Not requesting review until this is addressed.
Revised patch that adds the page setup command into the editorOverlay so that composer retains its Page Setup menu item following deletion of it from the global overlay. Requesting review.
Attachment #131143 - Attachment is obsolete: true
Taking bug.
Status: NEW → ASSIGNED
Whiteboard: [patch]
Bruce: you need to be chasing reviews on this patch if we are to get it into 1.5 :-) Gerv
Attached patch CVS patch (obsolete) — Splinter Review
CVS patch against the trunk.
Attachment #131144 - Attachment is obsolete: true
Attachment #131196 - Flags: review?(jag)
Comment on attachment 131196 [details] [diff] [review] CVS patch Does this maintain File > Page Setup in the browser?
Attachment #131196 - Flags: review?(jag) → review+
Yes. I have checked (on OS X 10.2.6): Page Setup present and working: Browser Mail Mail compose Composer Page Setup removed: Browser - manage bookmarks Browser - JavaScript console
Attachment #131196 - Flags: superreview?(blake)
I would like to point that the editor module owner recently reviewed a similar patch to Composer, attachment 131557 [details] [diff] [review], which did not rename the entity. I suggest you are unlikely to receive module owner approval for the rename, as that would make it inconsistent with the rest of editorOverlay.dtd, but you are welcome to seek moa, or alternatively you could wait until the Composer portion of the patch gains superreview and only check in the mac portion of your patch.
To my mind it seems wrong to have two entities with different roots for the access key and the label of the same control. As the access key isn't in use until this patch it seems safe to rename it. However if the editor team would prefer I'll respin the patch, without renaming the access key entity in editor, this evening.
Note that attachment 131557 [details] [diff] [review] has now been checked into the trunk so pleae make sure that your patch won't conflict with it.
Comment on attachment 131196 [details] [diff] [review] CVS patch As Neil commented this patch needs to be adapted following an earlier checkin on editor. Will do this early next week.
Attachment #131196 - Attachment is obsolete: true
Attachment #131196 - Flags: superreview?(blake)
Bruce, was your patch ever checked in? Is this fixed? If not, what is the relationship between this and bug 21296?
Assignee: hewitt → js-console
Status: ASSIGNED → NEW
*** Bug 163641 has been marked as a duplicate of this bug. ***
No, my patch was never checked in. Will have a go later this week at preparing a revised patch that addresses the original concerns about renaming the entity.
Assignee: js-console → Bruce.Davidson
The only thing needed now is to remove the menuitem in mac/platformCommunicatorOverlay.xul.
Attachment #184263 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #184263 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #184263 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #184263 - Flags: superreview+
Attachment #184263 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #184263 - Flags: review+
Comment on attachment 184263 [details] [diff] [review] Updated version of Bruce Davidson's patch (Checked in) This is the same as attachment 131143 [details] [diff] [review] isn't it?
Comment on attachment 184263 [details] [diff] [review] Updated version of Bruce Davidson's patch (Checked in) Low-risk patch for Seamonkey that fixes a long-time mac issue with a useless "Page Setup..." menuitem in Bookmarks manager and JavaScript console.
Attachment #184263 - Flags: approval1.8b2?
(In reply to comment #23) > (From update of attachment 184263 [details] [diff] [review] [edit]) > This is the same as attachment 131143 [details] [diff] [review] [edit] isn't it? > ah, yes it is.
Attachment #184263 - Flags: approval1.8b2? → approval1.8b2+
Comment on attachment 184263 [details] [diff] [review] Updated version of Bruce Davidson's patch (Checked in) Checking in xpfe/communicator/resources/content/mac/platformCommunicatorOverlay.xul; new revision: 1.12; previous revision: 1.11 done
Attachment #184263 - Attachment description: Updated version of Bruce Davidson's patch → Updated version of Bruce Davidson's patch (Checked in)
--> Fixed
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → SeaMonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: