https://bugs.kde.org/show_bug.cgi?id=522318
Bug ID: 522318
Summary: Khelpcenter does not inherit environment variables
unless started via Terminal
Classification: Applications
Product: khelpcenter
Version First 6.0.25123
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
When starting khelpcenter, qtwebengine makes use of the wrong gpu on my system,
as in, when I click through the programs on the left, the right where the
articles should appear are black. Easy enough, specifying the right gpu should
fix it (MESA_VK_DEVICE_SELECT=10de:2504!). If I do that while in the terminal
the applications works as expected. However, if I now try to edit either the
.desktop File, or KHelpCenter through kmenueditor, while this environment
variable gets saved, it is not being applied. When I start Khelpcenter either
through kruner or the normal application launcher, I have the same issue as
before.
Furthermore, if I edit org.kde.khelpcenter.desktop file to something bogus like
starting okular instead of khelpcenter it still starts khelpcenter so something
is very wrong?
I tried reinstalling khelpcenter if that helped at anything, unfortunately no.
STEPS TO REPRODUCE
1. Start khelpcenter through a terminal emulator like console with some
environment variable
2. Do the same through the 'normal GUI way'
3. Observe difference
OBSERVED RESULT
Environment variables aren't being inherited correctly and does not respect
.desktop file
EXPECTED RESULT
Environment variables should be inherited correctly and respect .desktop file.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.1
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
ADDITIONAL INFORMATION
I was told to refresh the cache with `kbuildsycoca6` which I did, but no
behaviour change.
Entering `where khelpcenter` gives me back two locations. Is that relevant?
/usr/bin/khelpcenter
/bin/khelpcenter
I am on Fedora 44
--
You are receiving this mail because:
You are watching all bug changes.