KeePassX GUI rendering empty in Ubuntu Gnome 15.10

Bug #1513429 reported by Maximilian bloch
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
keepassx (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

KeePassX GUI often does not render, making it unusable (see attached screenshot). This is hard to reproduce, as sometimes it works and sometimes it doesn't. A fresh reboot remedies the issue, but after a while something unknown to me makes it break and once the GUI renders empty, it becomes reproducible.

Ubuntu 15.10 Wily Werewolf
Gnome Shell 3.16

Revision history for this message
Maximilian bloch (maximilian-bloch) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in keepassx (Ubuntu):
status: New → Confirmed
Revision history for this message
Tomas Mrozek (u-mail-j) wrote :

I have the same problem. It's not related only to KeePassX and Ubuntu 15.10. I have the same problem also with ownCloud sync client and I run Ubuntu 14.04.

I think this issue is related to (or a duplicate of) https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1510899.

Revision history for this message
vvhk (vvhk-deactivatedaccount-deactivatedaccount) wrote :

As mentioned in the commends of bug #1510899 the solution of supplying QT_GRAPHICSSYSTEM=native on the command line followed by keepassx "fixed" the issue temporarily.

> QT_GRAPHICSSYSTEM=native keepassx

Runs and renders it properly.

Revision history for this message
Maximilian bloch (maximilian-bloch) wrote :

I can confirm the quick fix of running 'QT_GRAPHICSSYSTEM=native keepassx' on the command line, for a single working instance of keepassx.

For a more sustainable fix, adding 'QT_GRAPHICSSYSTEM=native' to /etc/environment works for all subsequent instances of any effected gui, taken from http://askubuntu.com/a/694276/75991

This root of the issue seems to be with JAVA. I was able to reproduce the issue by simply opening a JAVA dependent program like PHPStorm. I have read about this being fixed with openjdk-8-jre, but I haven't tried that.

Revision history for this message
Leos Bitto (leos-bitto) wrote :

I confirm that this bug still happens on current Ubuntu 16.04 with KeepassX 2.0.2. Openjdk-8 does not fix it. Using QT_GRAPHICSSYSTEM=native still works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.