-
Notifications
You must be signed in to change notification settings - Fork 9
Button sizes aren't perfect on install, after restart, and after moving the button #12
Comments
Where? |
Oops, forgot to copy and paste. Added link. |
Cannot reproduce on ArchLinux using:
What I did: cd /tmp
git clone https://github.com/evanj/ff-toolbar-bug.git
cd ff-toolbar-bug
# To load dependencies in packages/
git submodule init
git submodule update
# Activate Addon SDK and create XPI file
addon-sdk
cfx xpi
# Launch Firefox
mkdir /tmp/nightlyprof
firefox-nightly - profile /tmp/nightlyprof --no-remote /tmp/ff-toolbar-bug/
# When Firefox has been opened, click on the XPI file
# Follow the steps-to-reproduce from issue 12 Can you retry with Firefox Nightly and a new Firefox profile? |
Sure, so that seems to "work", although I need to hack the HTML to make it look more like Firefox's buttons. The default result has the button border, so I can't tell if it is aligned correctly or not: I supposed I can probably hack the browserAction.html to remove the button tag; although my quick attempt to do that didn't seem to work. At any rate: It seems fine to me to say "I don't care because this will eventually fix itself", which is true. Although its going to be many months before that happens. Thanks. |
Can't reproduce with Firefox 28.0b4 either, on Linux and Windows. Did it "work" because you tested with Nighly, or did switching to a new Firefox profile solve your issue? |
Oh, good point. I tried with Firefox Beta 28.0 b4 with a totally new profile: Details: On windows, there is a minor difference in appearance but not enough to care. The extension button on hover: The native button on hover: On Windows, I was able to get the "small" icon thing to happen after dragging the button to the toolbar palette and back into the toolbar (on hover). Just like on Mac, opening a new window fixes it: On Linux, it doesn't look like I can get the bugs to happen, but I was able to get the focus "stuck" on the extension button. Click on the button to get the "pressed" state, then move the mouse off of it and release the button. The button remains looking like this: |
The extension button is always a square, hence the size of the button might be different from the other buttons (esp. when these are rectangles). The other bugs are really minor. I will not fix them, but if anyone sends a PR with an acceptable fix, I will review and merge it. |
I agree with you: these are minor, and will go away with the new Firefox UI in 6 months time. |
This is a minor imperfection. Doing these tests with Pinterest's extension (which is an old-style extension that requires a restart) doesn't cause any button weirdness. Tested this on Firefox Mac 28.0 (Beta channel). Here is what I did:
You can get the source code for my primitive extension here: https://github.com/evanj/ff-toolbar-bug
The text was updated successfully, but these errors were encountered: