Closed Bug 58619 Opened 24 years ago Closed 23 years ago

unecessary print dialog comes up when going to Print Plus | Print Central

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: sujay, Assigned: sfraser_bugs)

References

Details

(Whiteboard: [dialog][ui] fixed, reviewed, a=asa)

Attachments

(3 files)

using 10/30 build of netscape

1) launch netscape
2) launch composer
3) insert text
4) On toolbar click on Print | Print Plus | Print Central

it does two things:

a) the page loads that HP print central site
b) it brings up the print dialog

we shouldn't be bringing up the print dialog.

It works fine from File menu when doing PRint Central, doesn't bring
up the Print dialog there.

all platforms.
reassign to cmanske
Assignee: beppe → cmanske
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
I see a second print dialog come up even when that's the first dialog I chose!
Anyone know where the code (I assume JS) is for this stuff?
moving to mozilla0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
I don't think this is happening any more. Sujay, please retest.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
I'm resolving this as fixed since it was definitely broken and it's now working 
as expected
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: mozilla0.9.2 → mozilla0.9
this is still happening in my 4/25 build.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
ok, I was wrong.  I didn't do the steps properly.  
It's only broken from the toolbar (the menu works correctly).

This is only broken in Composer.  It works fine in Navigator.
Moving to mozilla 0.9.2 for Charley.  (Hopefully he can get to it sooner though)
Target Milestone: mozilla0.9 → mozilla0.9.2
Keywords: correctness
Whiteboard: [dialog][ui]
I've played with this and can't figure out how to fix it.
Since the entire menu is inserted via global overlay, there must be something
strange going on because we are not a browser.
Matt or Ben: Any ideas what could be happening?
For now, I suggest we simply don't include the 'Print Plus' submenu in the
menupopup from the toolbar button, since it is available in the File Menu.
To do that, simply don't include the id "printMenu", so the overlay won't
append the Print Plus items.
Status: REOPENED → ASSIGNED
Whiteboard: [dialog][ui] → [dialog][ui] FIX IN HAND need r=, sr=
Again, I think, instead of masking the problem, we need to find out why this is 
happening. A simple breakpoint in the code that invokes the print dialog should 
be enough.
The reason that you get the print dialog is that the "observes="cmd_print" is on 
the <menubutton>. So the command bubbles up from the print central menu item, and 
fires on the <menubutton>.
Taking. r/sr please on attachment 38134 [details] [diff] [review] ?
Assignee: cmanske → sfraser
Status: ASSIGNED → NEW
sr=blake
r=cmanske
I suspected that as well adn tried moving the observer to just the print item,
but that didn't work! The prevent bubble is great.
Thanks very much!
Whiteboard: [dialog][ui] FIX IN HAND need r=, sr= → [dialog][ui] FIX IN HAND
Whiteboard: [dialog][ui] FIX IN HAND → [dialog][ui] fixed, reviewed, need a=
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
Blocks: 83989
Whiteboard: [dialog][ui] fixed, reviewed, need a= → [dialog][ui] fixed, reviewed, a=asa
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: