TeXstudio immediatly crashes when the theme is changed to gtk2 if the program is invoked through the .desktop file. This doesn't happen when the program is invoked through commandline. It also ignores QT_QPA_PLATFORMTHEME=gtk2.
When I set Terminal=true it gives this error after crashing:
texstudio:3686): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'
I have added all errors it gives in the terminal as a txt file as well as the backtrace.txt it puts in /tmp
As this thread (https://bbs.archlinux.org/viewtopic.php?id=214147&p=2) suggests it may crash because it tries to set QT_STYLE_OVERRIDE=gtk2 which is deprecated as of QT5.7.0-1 and QT_QPA_PLATFORMTHEME=gtk2 is used instead.
When launched with env QT_QPA_PLATFORMTHEME=gtk2 texstudio it uses fusion-theme instead of the gtk2-theme but it starts without any problem.
My Specs:
TeXstudio 2.12.2
QT-Version: 5.8.0
Arch-Linux
as arch has an infamous track record of causing crashes/bugs with txs which are not present anywhere else, we don't debug crashes on that platorm
related: [bugs:#1872]
Related
Bugs:
#1872Last edit: Tim Hoffmann 2017-03-04