[Bug 1455796] [NEW] gwenview shows black image with QT_GRAPHICSSYSTEM=native

Vincas Dargis 1455796 at bugs.launchpad.net
Sat May 16 17:56:01 UTC 2015


Public bug reported:

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)

** Affects: gwenview (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

** Attachment added: "gwenview_bug.jpeg"
   https://bugs.launchpad.net/bugs/1455796/+attachment/4398626/+files/gwenview_bug.jpeg

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to gwenview in Ubuntu.
https://bugs.launchpad.net/bugs/1455796

Title:
  gwenview shows black image with QT_GRAPHICSSYSTEM=native

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gwenview/+bug/1455796/+subscriptions




More information about the kubuntu-bugs mailing list