Bug 1269862

Summary: Dolphin fails to render using X w/o root rights (sudo dolphin displays a blank window)
Product: [Fedora] Fedora Reporter: Peter Hostačný <phostacn>
Component: dolphinAssignee: Daniel Vrátil <dvratil>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dkutalek, dvratil, jeischma, kde-sig, kevin, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-08 21:25:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Hostačný 2015-10-08 11:28:36 UTC
Description of problem:
When I try to launch dolphin under root, I get asked for password as normal, then the window shows, but the main pain is just blank/gray. I am using F22 with gnome desktop environment, so maybe it is issue related only for gnome users.

Version-Release number of selected component (if applicable):
Using: GNOME Shell 3.16.3
Qt: 4.8.6
KDE: 4.14.11
Dolphin: 15.04.0

How reproducible:
always

Steps to Reproduce:
1. $ sudo dolphin
or
1. $ su
2. $ dolphin

Actual results:
gray window

Expected results:
normal window displaying dolphin GUI

Workaround:
"QT_GRAPHICSSYSTEM=raster [kdesu|sudo] dolphin"
"QT_GRAPHICSSYSTEM=native [kdesu|sudo] dolphin"

Similar bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1212180

Comment 1 Rex Dieter 2015-10-08 11:44:43 UTC
It's more than just similar, it's the same one.

The workaround is the same, to run qt4 apps as root, set environment variable,

QT_GRAPHICSSYSTEM=native

Comment 2 Kevin Kofler 2015-10-08 21:25:01 UTC

*** This bug has been marked as a duplicate of bug 1236528 ***