The default bug view has changed. See this FAQ.

Gear icon in about:addons page moves 1px down on click

RESOLVED FIXED in Firefox 54

Status

()

Toolkit
Add-ons Manager
P5
normal
RESOLVED FIXED
2 months ago
a month ago

People

(Reporter: Towkir, Assigned: kevin.kwong.chip, Mentored)

Tracking

({good-first-bug})

Trunk
mozilla54
good-first-bug
Points:
---

Firefox Tracking Flags

(firefox53 affected, firefox54 fixed)

Details

(Whiteboard: triaged)

Attachments

(2 attachments)

(Reporter)

Description

2 months ago
Created attachment 8826829 [details]
gear_icon_moves_down.gif

I am not sure about the component here.
Just got to about:addons and navigate to 'Extensions' from the left navigation.

STR:
Now click on the gear icon at the right top corner of the page just before the search bar.

RESULT:
See if the result is similar to the attachment.

EXPECTION:
Definitely not what happened. it should stay still.

Updated

2 months ago
Component: Theme → Add-ons Manager
Product: Firefox → Toolkit

Updated

2 months ago
Keywords: good-first-bug
Priority: -- → P5
Whiteboard: triaged
(Reporter)

Comment 1

2 months ago
Can you mentor this one ? 
Any specific guidelines/steps for a fix ?

Thanks
Flags: needinfo?(sescalante)

Comment 2

2 months ago
The element in question is here:

https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/content/extensions.xul#224

Which means its influenced by CSS applied to (among other things) `header-utils-btn`, you can see all the places that's referenced here:

https://dxr.mozilla.org/mozilla-central/search?q=header-utils-btn&redirect=true

For example:

https://dxr.mozilla.org/mozilla-central/source/toolkit/themes/shared/extensions/extensions.inc.css#252

So its likely you'll need to adjust the CSS in one of those files to fix the 1px jump.

I'm not sure if you've built Firefox before or not, if not the best place to start is here: 

http://areweeveryoneyet.org/onramp/desktop.html

... and follow the instructions from there.

If you have any more questions please feel free to ping me and I'll see if I can help.
Mentor: amckay@mozilla.com
Flags: needinfo?(sescalante)
(Assignee)

Comment 3

a month ago
Hi is anyone assigned to this bug? can I take this and work on it as my good-first-big?
(Reporter)

Comment 4

a month ago
Hi Kevin,
Thanks for your interest. Follow comment 2 , attach a patch to this bug. Someone will then assign this on you.
Flag Needinfo to the mentor if you need anything specific.

Thanks
(Assignee)

Comment 5

a month ago
Created attachment 8838891 [details] [diff] [review]
kevin-proposed-change.patch

Hi, so i'm actually having some trouble pushing the changes that I have committed locally to MozReview, but this attachment shows what I have changed to prevent the button from moving down when it is clicked on my system.

If I can get more time to configure my hgrc files and stuff then hopefully I can push the code change to MozReview
Flags: needinfo?(amckay)

Comment 6

a month ago
I couldn't reproduce this on OS X, but I could on Windows and this patch fixes it for me. I'll set the bug for review for a peer. So you know for your next patch, you need to do this before check-in is allowed.
Flags: needinfo?(amckay)

Updated

a month ago
Attachment #8838891 - Flags: review?(rhelmer)
Attachment #8838891 - Flags: review?(rhelmer) → review+

Comment 7

a month ago
Thanks rhelmer, kevin I've just checkin-needed for you so the sheriffs will pick it up and take it from here. When you do your next bug, you can do that yourself :)
Keywords: checkin-needed
(Assignee)

Comment 8

a month ago
(In reply to Andy McKay [:andym] from comment #7)
> Thanks rhelmer, kevin I've just checkin-needed for you so the sheriffs will
> pick it up and take it from here. When you do your next bug, you can do that
> yourself :)

Alright thanks Andy, for future reference can you elaborate what steps I would need to do to check in the code myself?
Flags: needinfo?(amckay)

Comment 9

a month ago
To check in code for yourself you need to get level three access, the levels are discussed here:

https://www.mozilla.org/en-US/about/governance/policies/commit/access-policy/

Next step for most contributors is level one access so you can run tests on the mozilla testing infrastructure.
Flags: needinfo?(amckay)
Assignee: nobody → kevin.kwong.chip

Comment 10

a month ago
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc1415794974
Reset the padding on top and button to 0 to prevent the button from moving when clicked. r=rhelmer
Keywords: checkin-needed

Comment 11

a month ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/fc1415794974
Status: NEW → RESOLVED
Last Resolved: a month ago
status-firefox54: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.