Closed Bug 215473 Opened 22 years ago Closed 22 years ago

Implement tooltips for z-index and layer buttons in Composer.

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.5beta

People

(Reporter: stephend, Assigned: glazou)

Details

Attachments

(2 files)

We (I?) need to implement tooltips for the 3 elements on the Composer toolbar that are found to the right of the 'Align Justified' toolbar button. I've got a preliminary patch, but I don't (yet) know how to actually build those buttons in a self-build via CVS. Daniel, can you provide some feedback/assistance? Thanks. Patch attached.
-->glazman for comments on patch
Assignee: composer → daniel
OS: Windows 2000 → All
Hardware: PC → All
Comment on attachment 129403 [details] [diff] [review] Start of a patch (includes some whitespace cleanup) >@@ -861,9 +862,14 @@ > > <toolbarbutton id="absolutePositionButton" type="checkbox" observes="cmd_absPos"> > <observes element="cmd_absPos" attribute="state" onbroadcast="onStateButtonUpdate(this.parentNode, 'cmd_absPos', 'absolute')"/> >+ tooltiptext="&layer.tooltip;" >+ </toolbarbutton> This is invalid XML, you forgot to remove the /> before tooltiptext attribute... >+ <toolbarbutton id="decreaseZIndexButton" observes="cmd_decreaseZIndex"> >+ tooltiptext="&layerSendToBack.tooltip;" >+ </toolbarbutton> Same thing here for > >+ <toolbarbutton id="increaseZIndexButton" observes="cmd_increaseZIndex"> >+ tooltiptext="&layerBringToFront.tooltip;" > </toolbarbutton> Same thing here for > Should be ok otherwise.
Attachment #129403 - Flags: review-
Comment on attachment 129403 [details] [diff] [review] Start of a patch (includes some whitespace cleanup) > <toolbarbutton id="absolutePositionButton" type="checkbox" observes="cmd_absPos"> > <observes element="cmd_absPos" attribute="state" onbroadcast="onStateButtonUpdate(this.parentNode, 'cmd_absPos', 'absolute')"/> >+ tooltiptext="&layer.tooltip;" >+ </toolbarbutton> More comment on this one: the tooltiptext attribute should be set on the toolbarbutton element, not the observes element.
Daniel, thanks for the reviews. Unfortunately, I was never able to see the fruits of my changes (for some reason, my build never picked up those 3 buttons, so I was doing this blindly based on past knowledge). Also, I've since sent my machine back to AOL, so I no longer have a build environment and have yet to set up mingw. Can you drive the correct fixes in? Thanks!
Comment on attachment 129511 [details] [diff] [review] stephen's patch after cleanup I can review this patch since it really comes from Stephen Donner... r=glazman
Attachment #129511 - Flags: review+
Thanks for cleaning up my mess ;-)
Comment on attachment 129511 [details] [diff] [review] stephen's patch after cleanup sr=bzbarsky
Attachment #129511 - Flags: superreview+
Comment on attachment 129511 [details] [diff] [review] stephen's patch after cleanup Requesting a= for a simple patch that allows people to see what these 3 buttons actually do, using a tooltip.
Attachment #129511 - Flags: approval1.5b?
Comment on attachment 129511 [details] [diff] [review] stephen's patch after cleanup a=asa (on behalf of drivers) for checkin to Mozilla 1.5beta.
Attachment #129511 - Flags: approval1.5b? → approval1.5b+
Daniel, when you get a chance, could you land this for me? Thanks!
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.5beta
Chris, are you available/willing to land my patch? Thanks, either way.
Checked in for stephen.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Thanks so much, Chris. Daniel, sorry if you meant to do this tonight/early morning tomorrow. I don't know the official tree closing date ;-(
No, problem Stephen... remember I live 9 hours ahead of California.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: