Hi Marc,

On Sat, Apr 02, 2016 at 09:17:37PM +0900, Marc Dequènes (duck) wrote:
> Now I understand better how this is supposed to work.
>
>> If you know any other ways how ReText can extract the icon theme info
>> from your environment, let me know and I will try to implement it.
>
> I don't. nevertheless this is the first time it ends up with no icons, so
> other applications might have found a way.

If GTK+ applications have the icons, then ReText will have them too (as one
of its backends for searching icons is using GTK+).

For Qt applications things are much worse — I am quite sure that any Qt
application that doesn't embed the icons with itself will not find the icon
theme on your environment, just like ReText did.

> So I guess the best way would be to fallback on a default set of icons,

Shipping a subset of some icon theme with ReText package is definitely not
a Debian way of doing things. Also I cannot add a dependency on any icon
theme because any other can be used (and we don't have a virtual package that
any icon theme would satisfy).

> or at least have text on the buttons (expecting people to loop on buttons
> to read the tooltips…).

I have looked at Qt API and there is no easy way to do this. Also, this has
a potential to hide the real bug where people will see the labels and think
that it's by design.

What I can do is add suggestions for packages needed for GSettings icon
theme resolver to work. Done that in SVN.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to