Closed Bug 817579 Opened 12 years ago Closed 12 years ago

Command buttons in toolbox do not have tooltip

Categories

(DevTools :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tetsuharu, Assigned: tetsuharu)

References

Details

Attachments

(1 file, 3 obsolete files)

Tilt/responsive view/scratchpad command buttons in toolbox don't have tooltip.
Assignee: nobody → saneyuki.s.snyk
OS: Mac OS X → All
Hardware: x86 → All
Blocks: 816946
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #687802 - Flags: review?(mihai.sucan)
Comment on attachment 687802 [details] [diff] [review]
patch v1

Review of attachment 687802 [details] [diff] [review]:
-----------------------------------------------------------------

Paul: are you working on a patch for this issue?

Tetsuharu: thank you for your bug report and patch. This is something Paul should review.

This patch doesn't seem to work on my system (Ubuntu). I still don't see tooltips.
Attachment #687802 - Flags: review?(mihai.sucan)
Status: NEW → ASSIGNED
(In reply to Mihai Sucan [:msucan] from comment #2)
> This patch doesn't seem to work on my system (Ubuntu). I still don't see
> tooltips.

I tried this patch on OSX, tooltiptext attribute is set correctly.
But the timing showing tooltip is severe. It may have other bug's effect...
Attached patch patch v2 (obsolete) — Splinter Review
> I tried this patch on OSX, tooltiptext attribute is set correctly.
> But the timing showing tooltip is severe. It may have other bug's effect...

Sorry. This is my mistake.
When I had tried the patch, it worked correctly. But when I have attached the patch v1 to bugzilla, I modified the patch unintentionally...


New patch v2 is working correctly. Please review it.
Attachment #687802 - Attachment is obsolete: true
Attachment #688238 - Flags: review?(mihai.sucan)
Comment on attachment 688238 [details] [diff] [review]
patch v2

Review of attachment 688238 [details] [diff] [review]:
-----------------------------------------------------------------

r+ from me, but could we in DeveloperToolbar.jsm, do

    if (command.tooltipText != null) {
      button.setAttribute("tooltiptext", command.tooltipText);
    }
    else if (command.description != null) {
      button.setAttribute("tooltiptext", command.description);
    }
Attachment #688238 - Flags: review?(mihai.sucan) → review+
Mihai, obviously don't let my r+ prevent you from reviewing if you want to.
Attached patch patch v3 (obsolete) — Splinter Review
This followed Joe's comment.

I ask Mihai to review this again tentatively.
Attachment #688238 - Attachment is obsolete: true
Attachment #688702 - Flags: review?(mihai.sucan)
Attached patch patch v3Splinter Review
This followed Joe's comment.

I ask Mihai to review this again tentatively.
Attachment #688238 - Attachment is obsolete: true
Attachment #688704 - Flags: review?(mihai.sucan)
Comment on attachment 688702 [details] [diff] [review]
patch v3

(Double post of attachment)
Attachment #688702 - Attachment is obsolete: true
Attachment #688702 - Flags: review?(mihai.sucan)
(In reply to Ed Morley [UTC+0; email:edmorley@moco] from comment #9)
> Comment on attachment 688702 [details] [diff] [review]
> patch v3
> 
> (Double post of attachment)

Thank you, Ed.
Comment on attachment 688704 [details] [diff] [review]
patch v3

This works for me now. Thank you Tetsuharu!

Also thanks Joe for looking into the patch. I wanted Paul or you to check this patch before I gave my r+.
Attachment #688704 - Flags: review?(mihai.sucan) → review+
Whiteboard: [land-in-fx-team]
Landed in fx-team:

https://hg.mozilla.org/integration/fx-team/rev/2939067fa4e3
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
(In reply to Mihai Sucan [:msucan] from comment #12)
> Landed in fx-team:
> 
> https://hg.mozilla.org/integration/fx-team/rev/2939067fa4e3

Thank you, Mihai!
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
(In reply to Joe Walker [:joe_walker] [:jwalker] from comment #14)
> https://tbpl.mozilla.org/?rev=8a30e07815ff

Joe, what happen?
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: