Page 1 of 1

Arrow cursor changes to handtool when hover Flagfox icon

Posted: Sun May 19, 2013 4:51 pm
by emil9216
I don't know if others experience the same but when i hover the flagfox icon the arrow cursor changes to handtool. Is it possible to avoid this cursor change? This handtool icon is annoying for me.

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Sun May 19, 2013 5:26 pm
by DaveG
The cursor changes to the pointer (pointing hand, generally) on hover when you can click on it to do the default action. The other widgets in the address bar use this pointer too, namely the star button and the reload/stop button. I guess it is a little inconsistent with the rest of the toolbar items not having this pointer, but I think it's best to have Flagfox following the same style rules as the things next to it.

If you really wanted to, you could unset the click action in Flagfox's options. (by default this is Geotool) With nothing to go to on click it'll be a normal cursor.

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Sun May 19, 2013 5:56 pm
by emil9216
For me only flagfox icon changes the cursor, all other icons on url bar don't change it. Do you know some userChrome.css trick that can prevent this change?

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Mon May 20, 2013 2:04 am
by DaveG
That's a really good idea. After a bit of experimentation I've found that adding this line to your userChrome.css file will do what you want:

Code: Select all

#flagfox-icon { cursor : default !important; }

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Mon May 20, 2013 9:20 am
by emil9216
Thanks! Works great!

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Mon May 20, 2013 9:35 am
by rleeden
And for users of the Stylish add-on you can add the following Style:

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#flagfox-icon { cursor : default !important; }

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Mon May 20, 2013 3:09 pm
by DaveG
So, what OS or theme is it that doesn't use the pointer cursor for the other icons in the address bar?

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Mon May 20, 2013 3:15 pm
by rleeden
DaveG wrote:So, what OS or theme is it that doesn't use the pointer cursor for the other icons in the address bar?
I don't get the pointer cursor for the other address bar icons on Windows 7, using the default theme.

Re: Arrow cursor changes to handtool when hover Flagfox icon

Posted: Mon May 20, 2013 3:38 pm
by DaveG
Hmm... apparently Windows has a highlight effect instead. I never noticed that its behavior might look out of place to some. Well, after the new default theme lands in a Nightly build I guess I may look into making a consistent "click here" effect. Hopefully they'll be getting rid of a lot of OS theme inconsistencies.