gwenview shows black image with QT_GRAPHICSSYSTEM=native

Bug #1455796 reported by Vincas Dargis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gwenview (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

export QT_GRAPHICSSYSTEM=native was set on /etc/profile to walkaround some kind Plasma bug to under 30bit colours (LG 31MU97-B, GeForce GTX 770 using NVidia 331.113 drivers ).

Currently, 24bit is reverted in xorg.conf due to some proprietary software not supporting 30bit mode, but QT_GRAPHICSSYSTEM=native was not removed from profile.

Now, all Qt, GDK apps runs normally except gwenview. It does not display images - it's only black rectangle (window itself, controls, buttons and grey image background are OK, see screenshot attached), no matter what format or image size.

Terminal output:
$ env | grep QT_GRAPHICSSYSTEM
QT_GRAPHICSSYSTEM=native

$ gwenview /usr/share/icons/oxygen/128x128/actions/address-book-new.png
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
gwenview(3047)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory!
gwenview(3047)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory!
X Error: BadMatch (invalid parameter attributes) 8
  Extension: 155 (Uknown extension)
  Minor opcode: 22 (Unknown request)
  Resource id: 0x460075c
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension: 156 (Uknown extension)
  Minor opcode: 4 (Unknown request)
  Resource id: 0x46007bb
X Error: GLXBadPixmap 172
  Extension: 155 (Uknown extension)
  Minor opcode: 16 (Unknown request)
  Resource id: 0x46007bb

If QT_GRAPHICSSYSTEM is unset:

$ env -u QT_GRAPHICSSYSTEM gwenview /usr/share/icons/oxygen/128x128/actions/address-book-new.png
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
gwenview(3065)/kdeui (kdelibs): Attempt to use QAction "edit_redo" with KXMLGUIFactory!
gwenview(3065)/kdeui (kdelibs): Attempt to use QAction "edit_undo" with KXMLGUIFactory!

image is displayed as expected.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gwenview 4:4.13.3-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.16.0-37.51~14.04.1-generic 3.16.7-ckt9
Uname: Linux 3.16.0-37-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
CurrentDesktop: KDE
Date: Sat May 16 20:30:28 2015
InstallationDate: Installed on 2014-12-07 (159 days ago)
InstallationMedia: Kubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: gwenview
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Vincas Dargis (talkless) wrote :
Revision history for this message
Paul White (paulw2u) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

Ubuntu 14.04 (trusty) reached end-of-standard-support on April 25, 2019.

I'm setting the status of this bug to 'Incomplete' as it's not seen any activity for some time. If this is still an issue when using a currently maintained release of Ubuntu then please let us know which one(s) otherwise this bug report can be left to expire in approximately 60 days time.

Changed in gwenview (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gwenview (Ubuntu) because there has been no activity for 60 days.]

Changed in gwenview (Ubuntu):
status: Incomplete → Expired
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.