Closed
Bug 1088257
Opened 10 years ago
Closed 10 years ago
Share button label and tooltip are mixed up
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 36
People
(Reporter: dao, Assigned: pduguet33, Mentored)
References
Details
(Whiteboard: [good first bug][lang=js])
Attachments
(1 file, 2 obsolete files)
1.32 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1084419 +++
The share button uses social-share-button.label as the tooltip and social-share-button.tooltiptext as the label. This makes no sense.
We should remove the label and tooltiptext properties here, because they should be picked up automatically based on the id:
http://hg.mozilla.org/mozilla-central/annotate/d8de0d7e52e0/browser/components/customizableui/CustomizableWidgets.jsm#l396
This is the modified file that does not have the label or tooltip properties for the share button. I was not sure if this was a patch or what.
Attachment #8511211 -
Flags: review?(dao)
Reporter | ||
Comment 2•10 years ago
|
||
Comment on attachment 8511211 [details]
This is the updated file with the unnecessary lines (398, 399) of code removed.
You need to create the patch using "hg diff", e.g. "hg diff > ~/mypatch.diff". You can read more about it here: https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_diff_and_patch_files.3F
Before you create the patch, make sure Mercurial is set up properly:
https://developer.mozilla.org/en-US/docs/Installing_Mercurial#Basic_configuration
Attachment #8511211 -
Flags: review?(dao)
Comment 3•10 years ago
|
||
As of my first bug to start up, can u please assign me this bug.
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Siddartha L K [:siddu] from comment #3)
> As of my first bug to start up, can u please assign me this bug.
Please feel free to just attach a patch, we'll then formally assign the bug to you.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [good first bug] → [good first bug][lang=js]
This looks like fixed. I don't see the tooltip and label properties.
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to tejdeepg from comment #5)
> This looks like fixed. I don't see the tooltip and label properties.
They're still there as far as I can tell.
Assignee | ||
Comment 7•10 years ago
|
||
Fixed with this patch. My first one so hoping I did correctly :)
Attachment #8522562 -
Flags: review?(dao)
Reporter | ||
Comment 8•10 years ago
|
||
Comment on attachment 8522562 [details] [diff] [review]
Fix patch
Looks good, but this patch is using DOS line endings (\r\n) rather than Unix line endings (\n), which prevents it from applying cleanly. I'm not sure how this happened. Do you think you can fix it?
Attachment #8522562 -
Flags: review?(dao) → feedback+
Assignee | ||
Comment 9•10 years ago
|
||
This is probably because I made it on ubuntu and transfered it to windows before submitting it. I'm going to fix that and work solely from the VM.
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8522562 -
Attachment is obsolete: true
Attachment #8523008 -
Flags: review?(dao)
Reporter | ||
Comment 11•10 years ago
|
||
Comment on attachment 8523008 [details] [diff] [review]
Patch with Unix line endings
Looks good, thanks!
Attachment #8523008 -
Flags: review?(dao) → review+
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → pduguet33
Keywords: checkin-needed
Assignee | ||
Comment 12•10 years ago
|
||
Is there any test to produce or run ? What are the next steps ?
Comment 13•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug][lang=js] → [good first bug][lang=js][fixed-in-fx-team]
Reporter | ||
Comment 14•10 years ago
|
||
(In reply to Paul Duguet from comment #12)
> Is there any test to produce or run ? What are the next steps ?
Unless your patch causes unexpected problems, we're done here and the fix will appear in one of the next nightly builds.
Reporter | ||
Updated•10 years ago
|
Attachment #8511211 -
Attachment is obsolete: true
Comment 15•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=js][fixed-in-fx-team] → [good first bug][lang=js]
Target Milestone: --- → Firefox 36
You need to log in
before you can comment on or make changes to this bug.
Description
•