Bug 473443 - Editing menuitem doesn't save environment variable field
Summary: Editing menuitem doesn't save environment variable field
Status: CONFIRMED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 6.2.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-16 09:00 UTC by Erec
Modified: 2024-12-01 16:03 UTC (History)
5 users (show)

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


Attachments
screenshot of edit application (33.85 KB, image/png)
2023-08-16 09:00 UTC, Erec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erec 2023-08-16 09:00:43 UTC
Created attachment 161000 [details]
screenshot of edit application

SUMMARY

STEPS TO REPRODUCE
1. Bring the menuitem up (Firefox, for example)
2. right click and "Edit Application"
3. Set "Environment Variables" under "Application" tab (FOO="my_bar1", for example)


OBSERVED RESULT
FOO is not set for the application

EXPECTED RESULT
FOO would be set to "my_bar1" and application would behave appropriately.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kmenuedit5-5.27.4-bp155.1.7.x86_64

(available in About System) 
CANNOT COPY PASTE from "About System"

KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Piotr Gliźniewicz 2023-11-24 08:45:01 UTC
Same for the "Arguments" field. I'm trying to add -conf %U for DOSBox Staging, and it never saves it.

Platform: Fedora 39, Plasma 5.27.9
Comment 2 Max Buchholz 2023-12-19 11:18:25 UTC
Still exists for me.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
kmenuedit5-5.27.10-1
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 3 Halim 2024-11-19 23:59:31 UTC
Upgraded from Fedora 39 to 41 yesterday and noticed the same behaviour. "Environment Variables" set in the application menu items are ignored. 

On Fedora 39 it was working all the time.
Comment 4 Halim 2024-11-20 00:04:56 UTC
Forgot to add a detail. On my end added values to the "Environment Variables" field doesn't disappear after saving. But they are still ignored.
Comment 5 zeroxdead 2024-12-01 16:03:31 UTC
Have the same issue on Arch Linux. There's seems to be some bug in KActivityManager. As a workaround you can try to remove ~/.config/kactivitymanager-*, ~/.local/share/kactivitymanager/*, ~/.cache. After that logout and login again