Jump to content
Tamaskan

[Bugfix] Enpass should ignore QT_STYLE_OVERRIDE

Recommended Posts

Hello,

since Qt 5.7, QGtkStyle is removed, so Qt applications don't look native anymore on the GNOME desktop. To fix this, I installed adwaita-qt5, which is a port of the default Gtk theme to Qt. I globally set QT_STYLE_OVERRIDE=adwaita so all my Qt applications use the new theme.

Actually, Enpass isn't affected by this at all, as is uses bundled Qt 5.6 and uses QGtkStyle on GNOME per default. But settings QT_STYLE_OVERRIDE=adwaita causes Enpass to try to load the Adwaita theme, which fails, and then it falls back to an Windows 95-like theme which is really ugly. The solution is to modify runenpass.sh, just add

export QT_STYLE_OVERRIDE=""

somewhere before the exec statement. Enpass uses QGtkStyle again.

I would be pleased if this change would merged upstream :-)

Share this post


Link to post
Share on other sites

Hi @Tamaskan,

Thanks for reporting this issue. Currently, modifying runenpass.sh is the only solution. We always try to keeps bundled Qt updated. We are still evaluating the changes made in Qt licensing policy since Qt 5.7, so it might take some time to ship updated Qt version with Enpass.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...