Bug 413113 - ktouch crashes on start
Summary: ktouch crashes on start
Status: RESOLVED FIXED
Alias: None
Product: ktouch
Classification: Applications
Component: general (show other bugs)
Version: 19.08.0
Platform: Flatpak Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Gottfried
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-17 20:22 UTC by Alex Bradatan
Modified: 2019-10-18 15:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
terminal output of flatpak run org.kde.ktouch (1.63 KB, text/plain)
2019-10-17 20:22 UTC, Alex Bradatan
Details
terminal output of flatpak run --devices=dri org.kde.ktouch (1.14 KB, text/plain)
2019-10-17 21:02 UTC, Alex Bradatan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Bradatan 2019-10-17 20:22:13 UTC
Created attachment 123293 [details]
terminal output of flatpak run org.kde.ktouch

SUMMARY
ktouch fails to run when launched with flatpak run org.kde.ktouch . Traditionally packaged version, however, works fine.

STEPS TO REPRODUCE
1. flatpak run org.kde.ktouch from terminal or execute .desktop

OBSERVED RESULT
ktouch crashes without reaching gui. Output is attached.


EXPECTED RESULT
ktouch launches.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.3.6-arch1-1-ARCH
KDE Plasma Version: Plasma 5.17
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Comment 1 Sebastian Gottfried 2019-10-17 20:38:40 UTC
Hm, on my computer the flatpak version just launches fine. So I am left to guesswork here. Can please try to run KTouch with:

    flatpak run --device=dri org.kde.ktouch

and report back if this works?
Comment 2 Alex Bradatan 2019-10-17 21:01:33 UTC
With `flatpak run --device=dri org.kde.ktouch` the application launches just fine. If it helps I also attached that output. Since it seems to be dri related, it may be of use to know that I am running a Nvidia gpu with proprietary drivers.
Comment 3 Alex Bradatan 2019-10-17 21:02:08 UTC
Created attachment 123294 [details]
terminal output of flatpak run --devices=dri org.kde.ktouch
Comment 4 Sebastian Gottfried 2019-10-17 21:27:45 UTC
Thanks for the response. Under Flatpak, applications are sandboxed and need to request permissions to access certain hard- and software components. With '--device=dri' you gave the permission to use OpenGL. I will add this to the Flatpak manifest of KTouch, so with next update it will works out of the box.

I have no idea why it I don't need this on my system, though.
Comment 5 Sebastian Gottfried 2019-10-18 15:41:08 UTC
New build is available for download at flathub.