Arrow cursor changes to handtool when hover Flagfox icon

Any feedback, suggestion, bug reports, problems....
Post Reply
emil9216
Posts: 7
Joined: Mon Jan 09, 2012 1:00 pm

Arrow cursor changes to handtool when hover Flagfox icon

Post by emil9216 » Sun May 19, 2013 4:51 pm

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.

User avatar
DaveG
Flagfox Developer
Posts: 723
Joined: Wed Oct 03, 2007 9:06 pm
Location: Philadelphia, USA

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by DaveG » Sun May 19, 2013 5:26 pm

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.

emil9216
Posts: 7
Joined: Mon Jan 09, 2012 1:00 pm

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by emil9216 » Sun May 19, 2013 5:56 pm

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?

User avatar
DaveG
Flagfox Developer
Posts: 723
Joined: Wed Oct 03, 2007 9:06 pm
Location: Philadelphia, USA

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by DaveG » Mon May 20, 2013 2:04 am

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; }

emil9216
Posts: 7
Joined: Mon Jan 09, 2012 1:00 pm

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by emil9216 » Mon May 20, 2013 9:20 am

Thanks! Works great!

User avatar
rleeden
Site Admin
Posts: 117
Joined: Mon Oct 01, 2007 3:13 pm
Location: United Kingdom
Contact:

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by rleeden » Mon May 20, 2013 9:35 am

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; }

User avatar
DaveG
Flagfox Developer
Posts: 723
Joined: Wed Oct 03, 2007 9:06 pm
Location: Philadelphia, USA

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by DaveG » Mon May 20, 2013 3:09 pm

So, what OS or theme is it that doesn't use the pointer cursor for the other icons in the address bar?

User avatar
rleeden
Site Admin
Posts: 117
Joined: Mon Oct 01, 2007 3:13 pm
Location: United Kingdom
Contact:

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by rleeden » Mon May 20, 2013 3:15 pm

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.

User avatar
DaveG
Flagfox Developer
Posts: 723
Joined: Wed Oct 03, 2007 9:06 pm
Location: Philadelphia, USA

Re: Arrow cursor changes to handtool when hover Flagfox icon

Post by DaveG » Mon May 20, 2013 3:38 pm

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.

Post Reply