Bug 1383069

Summary: Segfault when attempting to add files in Wayland session
Product: [Fedora] Fedora Reporter: Gareth Williams <gareth>
Component: luminance-hdrAssignee: Franco Comida <francocomida>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: fedora, francocomida, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-08 18:44:41 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 Gareth Williams 2016-10-09 14:45:07 UTC
Description of problem:
Clicking on the + button when attempting to add image files to a new HDR, causes luminance-hdr to segfault.


Version-Release number of selected component (if applicable): 2.4.0


How reproducible: Always


Steps to Reproduce:
1.  Log in to Fedora 25 with Gnome 3 (not Xorg)
2.  Start luminance-hdr;
3.  Click on 'New HDR Image' button;
4.  Click on '+' to add images;

Actual results:
(luminance-hdr:5090): Gdk-WARNING **: gdkwindow-x11.c:5554 drawable is not a native X11 window
Segmentation fault (core dumped)


Expected results: Images can be added


Additional info:  Works when logged in with Gnome (Xorg) session.

Comment 1 Franco Comida 2016-10-13 21:17:43 UTC
I tried luminance-hdr in F25 Workstation Live Beta on a virtual machine.
I can load images and create an HDR. Launching luminance-hdr normally shows a quite broken UI, I cannot maximize it, controls are "BIG", just a mess..
So I installed qt5-qwayland and unset QT_QPA_PLATFORMTHEME (which is set to qgnomeplatform by default) and ran the program with:

@luminance-hdr -platform wayland 

and everything seems working.

Comment 2 Christian Stadelmann 2017-01-08 19:15:22 UTC
Probably a duplicate of bug #1378003.

Comment 3 Christian Stadelmann 2017-01-08 19:17:48 UTC
or bug #1392605.

Comment 4 Rex Dieter 2017-01-08 21:40:43 UTC
Is this still reproducible with
qt5-qtbase-5.7.1-10.fc25
from
https://bodhi.fedoraproject.org/updates/FEDORA-2017-e2f57cb7cd
?

Comment 5 Franco Comida 2017-01-08 22:49:53 UTC
I couldn't crash it even back in October on f25-beta, only the UI was a mess on Xwayland and totally broken on wayland. Keep in mind I'm testing it on qemu/kvm, f25 freshly updated with qt5 5.7.1-10.
If Gareth Williams will confirm it, I would close the bug.

Comment 6 Franco Comida 2017-05-08 18:44:41 UTC
I'm closing this. A new version has been released, I cannot reproduce the crash and there is no new information about it.