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

            Bug ID: 366057
           Summary: creation/modification of .desktop application links is
                    broken
           Product: plasmashell
           Version: 5.6.5
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: kdeb...@toeai.com
                CC: bhus...@gmail.com, plasma-b...@kde.org

Observed on current Manjaro - multiple computers.  There are various problems
even beyond what I describe, but until the basics are fixed, it's not worth
describing.  Apologies if I've selected the wrong component - I'm not sure how
all these things work together.

Reproducible: Always

Steps to Reproduce:
0. Delete ~/.local/share/applications directory as if you'd started with a new
profile.  Close and re-open dolphin just to be sure.
1. Right-click in a folder and click Create New -> Link to Application...
2. Press OK.  File is created: "Link to Application.desktop"
3. Right-click file and select Properties.
4. Click blank icon and select an icon, e.g. the smiley face.  Click OK.

Actual Results:  
Get message box popup: "Sorry -- Dolphin" : "Could not save properties.  You do
not have sufficient access to write to /home/[user
name]/.local/share/applications/p."

At this time there is no .local/share/applications directory.  After you press
OK, it will be created, along with a file named simply "p", the contents of
which are:
[Desktop Entry]
Icon=face-smile


Expected Results:  
I don't know the rationale behind the .local/share/applications directory, so I
don't know what to expect, but it does seem rather worthless to create that 'p'
file, and doesn't make sense why, if you go on to change the .desktop file you
originally made (try changing the icon again), it creates an additional more
detailed "n.desktop" file.  It seems like any file that does end up in there,
for whatever reason, should have the .desktop extension and that one file in
there for each file out of there should be more than plenty, and that the icon
I select should show up on the .desktop file I created (it doesn't), not just
on some "p" or "n.desktop" file in a hidden settings directory.   If you open
"Link to Application.desktop" in kate it still says Icon=exec.  You can modify
that manually, and it will work.  Deleted the silly .local/share/applications
directory and things work just fine, as long as you don't mind manually
creating .desktop files.

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

Reply via email to