Bug#1064016: fixed in adwaita-icon-theme 46~beta-2

2024-02-20 Thread Amy Kos

Thank You for the explanation.
My prior suggestion is not worthwhile.


What names is it looking for?


lxqt-config/lxqt-config-appearance looks for:

left_ptr_watch -> progress
size_fdiag -> nwse-resize
d9ce0ab605698f320427677b458ad60b -> help

None of these cursors are high-visibility.
The hash-based alias is likely not visible at all.

I'll try to contact LXQt upstream to address this minor issue.

I would prefer not to have too many aliases that have been specifically 
rejected upstream


Right. I fully agree.

Cheers,
Amy



Bug#1064016: fixed in adwaita-icon-theme 46~beta-2

2024-02-20 Thread Simon McVittie
On Tue, 20 Feb 2024 at 21:05:55 +0100, Amy Kos wrote:
> latest change in 46~beta-4
>  "Use a more minimal set of aliases as requested by upstream"
> is understandable from Gnome perpective.

I did try to get a more comprehensive set of aliases merged, but
the upstream maintainer refused, and I was concerned that if I pushed
harder, he would have rejected the change entirely (leaving e.g. Firefox,
Chromium, SDL in a similarly bad situation).

The policy we ended up with is that where the CSS/freedesktop.org
cursors had an obvious equivalence with one of the XC_ constants in
, we added aliases for those, but we did not add any
aliases for the hashes of custom cursors, or for other non-standardized
names (some of which might have originated in Qt, but the nature of
non-standardized names is that it's hard to tell where they came from
or who might be using them).

> Nevertheless it will take time until other software catch up.
> For instance in LXQt at least these are missing:
>  progress, help, nwse-resize and nesw-resize

Those are some of the standardized (CSS/freedesktop.org) names, so I
assume you mean that LXQt is looking for legacy/non-standardized names
that should be equivalent to those. What names is it looking for?

> Would it be worthwile to provide the missing symlinks
> from 46~beta-3 in Debian for the time being?

I would prefer not to have too many aliases that have been specifically
rejected upstream: if we do that, it will encourage projects whose
upstream maintainers happen to use Debian/Ubuntu to keep using the old
names, and then be surprised when their code doesn't work as intended
on non-Debian-derived distributions.

If these cursors are particularly high-visibility, we could consider
adding back a small number of aliases, but I'd prefer to have a
bug report against the package that needs them (in this case LXQt)
before we do that. That bug report's steps to reproduce will show us
how high-visibility the other package's use of those cursors is, and
watching to see when those bugs are closed will give us a cutoff point
at which we can drop the legacy aliases.

In particular, I don't want to keep the hash-based aliases as a
downstream divergence unless they're absolutely necessary, because
those are *extremely* opaque. (We can at least guess at the intended
semantics of left_ptr_watch, but what are the intended semantics of
1081e37283d983c07f3ef6bf? Nobody knows, unless someone can dig
out the original X11 bitmap that hashes to that value!)

So perhaps you could open a bug report against LXQt as a starting point?
That would consist of a list of some scenarios in which a wrong cursor
is seen, and ideally some suggestions for the CSS/freedesktop.org name
that it should be using in those scenarios. Some useful references:
https://drafts.csswg.org/css-ui/#cursor
https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
https://www.freedesktop.org/wiki/Specifications/cursor-spec/

Or, if you can identify the lower-level code that is actually selecting
these cursors (perhaps Qt?), a bug report against the library that would
need to be updated to switch to CSS/freedesktop.org names would also
be fine.

All of the packages I've looked at so far (Firefox, Chromium, SDL) seemed
to be using either CSS/freedesktop.org names, or  names
(which now have aliases set up, where available), or a mixture of the two:
they were only using other legacy names as fallbacks, if at all.

smcv



Bug#1064016: fixed in adwaita-icon-theme 46~beta-2

2024-02-20 Thread Amy Kos

Hi,

latest change in 46~beta-4
 "Use a more minimal set of aliases as requested by upstream"
is understandable from Gnome perpective.

Nevertheless it will take time until other software catch up.
For instance in LXQt at least these are missing:
 progress, help, nwse-resize and nesw-resize

Would it be worthwile to provide the missing symlinks
from 46~beta-3 in Debian for the time being?
-
81600681408080010102 -> ns-resize
028006030e0e7ebffc7f7070c0600140 -> ew-resize
08e8e1c95fe2fc01f976f1e063a24ccd -> progress
1081e37283d983c07f3ef6bf -> copy
14fef782d02440884392942c11205230 -> ew-resize
2870a09082c103050810ffde0204 -> ns-resize
3085a0e285430894940527032f8b26df -> alias
3ecb610c1bf2410f44200f48c40d3599 -> progress
4498f0e0c1937ffe01fd06f973665830 -> move
5c6cd98b3f3ebcb1f9c7f1c204630408 -> help
6407b0e94181790501fd1e167b474872 -> copy
640fb0e74195791501fd1ed57b41487f -> alias
9081237383d90e509aa00f00170e968f -> move
9d800788f1b08800ae810202380a0822 -> pointer
c7088f0f3e6c8088236ef8e1e3e7 -> nwse-resize
d9ce0ab605698f320427677b458ad60b -> help
dnd-copy -> copy
dnd-link -> alias
dnd-no-drop -> no-drop
e29285e634086352946a0e7090d73106 -> pointer
fcf1c3c7cd4491d801f1e1c78f10 -> nesw-resize
h_double_arrow -> ew-resize
left_ptr_help -> help
left_ptr_watch -> progress
link -> alias
openhand -> grab
size_all -> move
size_bdiag -> nesw-resize
size_fdiag -> nwse-resize
size_hor -> ew-resize
size_ver -> ns-resize
v_double_arrow -> ns-resize
-

Cheers,
Amy