Discussion:
cursor spec
Philipp A.
2014-04-06 17:35:27 UTC
Permalink
hi people,

how about adding zoom-in and zoom-out to the cursor spec? (I’d guess
“nice-to-have” section)

http://www.freedesktop.org/wiki/Specifications/cursor-spec/

best, philipp
Jerome Leclanche
2014-04-07 13:15:23 UTC
Permalink
All the web browsers already use the same convention, don't they? If
so, it should probably be added, yes.
J. Leclanche
Post by Philipp A.
hi people,
how about adding zoom-in and zoom-out to the cursor spec? (I’d guess
“nice-to-have” section)
http://www.freedesktop.org/wiki/Specifications/cursor-spec/
best, philipp
_______________________________________________
xdg mailing list
http://lists.freedesktop.org/mailman/listinfo/xdg
Bastien Nocera
2014-04-07 14:24:01 UTC
Permalink
Post by Philipp A.
hi people,
how about adding zoom-in and zoom-out to the cursor spec? (I’d guess
“nice-to-have” section)
http://www.freedesktop.org/wiki/Specifications/cursor-spec/
Are there implementations already using this?

We'd be happy having this added in GNOME.

Cheers
Philipp A.
2014-04-07 15:38:10 UTC
Permalink
Post by Jerome Leclanche
All the web browsers already use the same convention, don't they? If
so, it should probably be added, yes.
J. Leclanche
they use the name in the CSS, but implementations are
 complicated.

under the hood, firefox and chrome use gdk_cursor_new, which does NOT use
the spec names (e.g. it uses “plus”, not “cell”)

the gdk cursor type is a direct mirror of the XLib constants, and indeed
gdk_cursor_new thinly wraps XLib

https://developer.gnome.org/gdk3/stable/gdk3-Cursors.html#GdkCursorType

however, i got a patch in that adds more robust behavior to firefox:

https://hg.mozilla.org/mozilla-central/rev/068ed8d0e7c2

i’ll file another bug with patch to get in vertical-text and the zoom
things once the latter are added to the spec.
Post by Jerome Leclanche
Are there implementations already using this?
We'd be happy having this added in GNOME.
Cheers
i researched a bit, and there are quite a few cursor themes which do have
it, and all use zoom-in and zoom-out (except for one, that uses zoomIn and
zoomOut. but since no other cursor has camelCase, i think we should ignore
that)

i think toolkit maintainers are hesistant to add support until there’s some
agreed-upon name (that’s speculation, though)

best, phil
Philipp A.
2014-04-10 11:10:02 UTC
Permalink
Hi,

So what’s going on?

Does any one of you have edit rights on that wiki and wants to put it in?

I’d like to patch firefox with it once it’s nailed down, and i think the
evidence of usage is enough.

Best, phil
Post by Jerome Leclanche
All the web browsers already use the same convention, don't they? If
Post by Jerome Leclanche
so, it should probably be added, yes.
J. Leclanche
they use the name in the CSS, but implementations are
 complicated.
under the hood, firefox and chrome use gdk_cursor_new, which does NOT use
the spec names (e.g. it uses “plus”, not “cell”)
the gdk cursor type is a direct mirror of the XLib constants, and indeed
gdk_cursor_new thinly wraps XLib
https://developer.gnome.org/gdk3/stable/gdk3-Cursors.html#GdkCursorType
https://hg.mozilla.org/mozilla-central/rev/068ed8d0e7c2
i’ll file another bug with patch to get in vertical-text and the zoom
things once the latter are added to the spec.
Are there implementations already using this?
Post by Jerome Leclanche
We'd be happy having this added in GNOME.
Cheers
i researched a bit, and there are quite a few cursor themes which do have
it, and all use zoom-in and zoom-out (except for one, that uses zoomIn and
zoomOut. but since no other cursor has camelCase, i think we should ignore
that)
i think toolkit maintainers are hesistant to add support until there’s
some agreed-upon name (that’s speculation, though)
best, phil
Jerome Leclanche
2014-09-09 20:58:02 UTC
Permalink
Seeing as there is renewed activity on the list, it'd be nice to know
what's going on with these.
J. Leclanche
Hi,
So what’s going on?
Does any one of you have edit rights on that wiki and wants to put it in?
I’d like to patch firefox with it once it’s nailed down, and i think the
evidence of usage is enough.
Best, phil
Post by Jerome Leclanche
All the web browsers already use the same convention, don't they? If
so, it should probably be added, yes.
J. Leclanche
they use the name in the CSS, but implementations are… complicated.
under the hood, firefox and chrome use gdk_cursor_new, which does NOT use
the spec names (e.g. it uses “plus”, not “cell”)
the gdk cursor type is a direct mirror of the XLib constants, and indeed
gdk_cursor_new thinly wraps XLib
https://developer.gnome.org/gdk3/stable/gdk3-Cursors.html#GdkCursorType
https://hg.mozilla.org/mozilla-central/rev/068ed8d0e7c2
i’ll file another bug with patch to get in vertical-text and the zoom
things once the latter are added to the spec.
Post by Jerome Leclanche
Are there implementations already using this?
We'd be happy having this added in GNOME.
Cheers
i researched a bit, and there are quite a few cursor themes which do have
it, and all use zoom-in and zoom-out (except for one, that uses zoomIn and
zoomOut. but since no other cursor has camelCase, i think we should ignore
that)
i think toolkit maintainers are hesistant to add support until there’s
some agreed-upon name (that’s speculation, though)
best, phil
Loading...