| Summary: | Environment setting in Launch Configuration does not work properly for `kcmshell5 about-distro` | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Gregor Mi <codestruct> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED WAITINGFORINFO | ||
| Severity: | minor | CC: | |
| Priority: | NOR | ||
| Version First Reported In: | 5.1.1 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Gregor Mi
2017-07-28 22:40:34 UTC
I don't see why that should not work if the environment variables are the same. You'll need to provide more information and/or investigate yourself. I suspect that the problem has something to do with the dynamic loading mechanism of the System settings KCMs. Maybe someone who is familiar with this mechanism and uses KDevelop for KDE/Plasma development could provide some ideas where to look further or maybe try to reproduce the wrong behaviour I observe. Did you try lauching just "env" and seeing what is in there? Environment variables inside the AppImage are rather complicated. When I tried to launch just "/usr/bin/env" I could not copy the output properly into a text file for comparing. So I launched Konsole and from there "env" if that is also OK. I found these notable differences between my KF5 environment and the KDevelop environment: Existent on KDevelop environment but not in my traditional KF5 env: APPDIR=/tmp/.mount_0dd2si APPIMAGE=/home/gregor/bin/apps/KDevelop-5.1.1-x86_64.AppImage KDE_FORK_SLAVES=1 KONSOLE_DBUS_WINDOW=/Windows/1 LD_PRELOAD=/tmp/.mount_0dd2si/exec_wrapper.so Non-existent on KDevelop environment but in my traditional KF5 env: QML2_IMPORT_PATH=/home/gregor/kde/usr/lib/qml:/home/gregor/kde/usr/lib64/qml:/home/gregor/kde/usr/lib/x86_64-linux-gnu/qml:/usr/qml QT_PLUGIN_PATH=/home/gregor/kde/usr/lib/plugins:/home/gregor/kde/usr/lib64/plugins:/home/gregor/kde/usr/lib/x86_64-linux-gnu/plugins:/usr/plugins: This is interesting because the last two variables (QML2_IMPORT_PATH, QT_PLUGIN_PATH) are definitely set in the KDev Environment dialog but not appear in the env output from KDevelop. |