https://bugs.kde.org/show_bug.cgi?id=497714

            Bug ID: 497714
           Summary: Modifying the "Environment variables" section of an
                    application is not retained
    Classification: Plasma
           Product: kdeplasma-addons
           Version: 6.2.4
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Quicklaunch
          Assignee: plasma-b...@kde.org
          Reporter: crigu...@gmail.com
  Target Milestone: ---

SUMMARY
**NOTE THAT I SELECTED "QUICKLAUNCH" AS COMPONENT AS I HAD TO SELECT ONE AND
THE CORRECT ONE (APPLICATION DASHBOARD) WAS NOT PRESENT.**
If I edit an application in the Application Dashboard to add an environment
variable, when I re-open the settings for that application the environment
variable is gone. 
Note that the .desktop file on disk is correctly updated, but the Application
Dashboard does not show it.
Also, when launching the application from the Application Dashboard it behaves
as if the environment variable is not set.
If I use kmenuedit to update the application (instead of directly editing it in
the Application Dashboard) the behavior is the same.

STEPS TO REPRODUCE
1. Open Application Dashboard
2. Right click on a launcher and choose "Edit application..."
3. In the properties for the application, click on the "Application" tab
4. Enter an environment variable in the "Environment Variables:" entry field
5. Click the OK button
6. Go through steps 1..3 again and verify the absence of the environment
variable you just set

OBSERVED RESULT
The environment variable is not visible in the application properties.
The environment variable is saved in the .desktop file on disk.
Launching the application from Application Dashboard, it behaves as if no
environment variable was set.

EXPECTED RESULT
The environment variable is visible in the application properties.
The environment variable is saved in the .desktop file on disk.
Launching the application from Application Dashboard, behaves correctly based
on the environment variable that was set.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241217
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.11.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series

ADDITIONAL INFORMATION
n/a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to