Menu

#1837 Qt5.7: No icons

None
works-for-me
nobody
None
1
2016-07-08
2016-07-01
Anonymous
No

My system:

  • TeXstudio 2.11.0 (hg 6066+:2a9bee6257ec+)
    Using Qt Version 5.7.0, compiled with Qt 5.7.0 D

or

  • TeXstudio 2.11.0 (hg 6066+:2a9bee6257ec+)
    Utilise Qt version 5.7.0, compilé avec Qt 5.6.0 R

My Problem

Since the update to Qt 5.7 of my distrib (ArchLinux), I lost most icons from TexStudio.

I reported this bug to the ArchLinux people [1].

I tried to recompile it myself: same error, I have almost no icons. It is the only program for which I spot this, so I guessed it was a bug on your side.

[1] https://bugs.archlinux.org/task/49855

Discussion

  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-07-01

    due to the infamous track record of arch linux, we don't debug issues there.
    You might want to make sure that the qt svg module is installed.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-07-01
    • status: open --> works-for-me
    • Group: -->
     
  • ochurlaud

    ochurlaud - 2016-07-01

    I have everything installed, and it was working perfectly before Qt 5.7 update.

    What does it mean "infamous track record of arch linux"?

    I did the compilation by myself, from your mercurial source, and I have the same issue. It is quite a rude answer to someone who tries to help.

     

    Last edit: ochurlaud 2016-07-01
  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-07-01

    if everything works until an update of qt, why do you suppose that there is a bug in txs ?
    Here txs works fine with Qt5.7.
    The track record, which has just been extended, are a couple of bugs reported on arch systems which are not reproducible on any other system and which partially resolved themselves.

     
  • ochurlaud

    ochurlaud - 2016-07-05

    After bisecting the issue, the problem seems to be that QIcon::fromTheme(icon) finds the icons, whereas it doesn't exist. I don't understand the internals of the function, so I'm stuck here.

    Maybe it's a bug in KDE's plasma theme?

    Commenting utilsSystem.cpp, line 256

    if (useSystemTheme && QIcon::hasThemeIcon(icon)) return QIcon::fromTheme(icon);
    

    Makes icons come again.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-07-05

    the option to disable system theme is not visible because "Q_WS_X11" is not defined with Qt 5.x
    You can change the option in texstudio.ini directly:
    GUI\Use%20System%20Theme=false

    Apart from that I concur that the problem probably comes from a bug between Qt and window manager which we can't fix.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-07-05

    visibility of option is fixed

     
  • ochurlaud

    ochurlaud - 2016-07-05

    Uh, I checked the "advanced options" box and in "General" I unchecked "Use the icons of the system theme" [approximative translation, as my interface is in french]

    However there is a bug here: if you come back to the config menu, you need to uncheck then check "advanced options" to see the "Use the icons of the system theme" option.

    Anyway, the bug is on Qt or KDE side. I'll keep posting here when needed.

     
  • ochurlaud

    ochurlaud - 2016-07-05

    You see... It's manageable to find the source of the bug :)

     
  • ochurlaud

    ochurlaud - 2016-07-08

    This should be fixed with https://git.reviewboard.kde.org/r/128397/. in next KF5 release

    So you can close it.

    Keep up the good work, 5 years this is my best LaTeX editor. :)

     

Log in to post a comment.