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

            Bug ID: 505066
           Summary: Use `applications:signal.desktop` instead of absolute
                    path to desktop file when dragging icon from
                    Application Launcher to Icons Only Task Manager
    Classification: Plasma
           Product: plasmashell
      Version First 6.3.5
       Reported In:
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

SUMMARY

Currently, when dragging an icon from the Application Launcher to the Icons
Only Task Manager, the `launchers` property of
`[Containments][N][Applets][M][Configuration][General]` in
`~/.config/plasma-org.kde.plasma.desktop-appletsrc` will reference the absolute
path name / absolute URL, e.g.
`file:///nix/store/6j0kc3hvb4s5wrpz0aaxcmd3fdjgp56g-system-path/share/applications/signal.desktop`,
instead of the location-independent form, e.g. `applications:signal.desktop`,
that is used when selecting "Pin to Task Manager" for a running application's
window.

It would be nice if the location-independent form would always be used. I.e. if
the behaviour of clicking "Pin to Task Manager" in the Task Manager's
right-click menu for a running application's window would be applied also when
dragging an icon to the Task Manager.

The current behaviour causes problems when the absolute path changes, cf.
https://github.com/NixOS/nixpkgs/issues/322023.

STEPS TO REPRODUCE

1. Create a panel with Icons Only Task Manager
2. Drag an icon from Application Launcher to Icons Only Task Manager
3. Inspect `~/.config/plasma-org.kde.plasma.desktop-appletsrc` and find a
`file://...` URL with absolute path
4. Start an application
5. Right-click on the Task Manager icon for the open window of that application
and select "Pin to Task Manager"
6. Inspect `~/.config/plasma-org.kde.plasma.desktop-appletsrc` and find an
`applications:xxx.desktop` URI

OBSERVED RESULT

A `file://...` URL with absolute path is used.

EXPECTED RESULT

A location-independent `applications:xxx.desktop` URI is used.

SOFTWARE/OS VERSIONS

Operating System: NixOS 25.11
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.15.0 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 6900HS with Radeon Graphics
Memory: 30,6 GiB of RAM
Graphics Processor 1: AMD Radeon 680M
Graphics Processor 2: AMD Radeon RX 6800S
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G14 GA402RK_GA402RK
System Version: 1.0

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

Reply via email to