Bug 362435 - Description change to .desktop file via KPropertiesDialog not saved
Summary: Description change to .desktop file via KPropertiesDialog not saved
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-28 19:24 UTC by bluelupo
Modified: 2018-05-08 18:51 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot_01.png (8.87 KB, image/png)
2016-04-30 09:57 UTC, bluelupo
Details
Screenshot_02.png (31.23 KB, image/png)
2016-04-30 09:58 UTC, bluelupo
Details
Screenshot_03.png (57.16 KB, image/png)
2016-04-30 09:59 UTC, bluelupo
Details
Screenshot_04.png (32.42 KB, image/png)
2016-04-30 10:00 UTC, bluelupo
Details
Screenshot_05.png (57.16 KB, image/png)
2016-04-30 10:01 UTC, bluelupo
Details
Screenshot_06.png (31.23 KB, image/png)
2016-04-30 10:01 UTC, bluelupo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bluelupo 2016-04-28 19:24:06 UTC
Hello, 

The properties (right click on icon, "Properties") Select a stored on desktop icons for example. of kcalc can not be changed.

After installation of desktop sysmbols these properties can in the dialog while changes but they will not appear at repeated call (old state before the change).

In the *.desktop file in $USER/.local/share/applications/ directory dard changes but stored. So that means the *.desktop files will not be refreshed. The error I can always reproduce with any program. I use the "Folder View" on the Plasma desktop.

Is there a purpose already a solution how to behebn the problem? If I can still data of my system are nessesary this like to post.

Here ist listing of /home/michael/.local/share/applications/dard/kcalc.desktop:

$ cat kcalc.desktop
[Desktop Entry]
Categories=Qt;KDE;Utility;X-KDE-Utilities-Desktop;
Comment[de_DE]=
Comment=
Exec=kcalc
GenericName[de_DE]=Wissenschaftlicher Taschenrechner
GenericName=Wissenschaftlicher Taschenrechner
Icon=kmail2
MimeType=
Name[de_DE]=KCalc
Name=KCalc
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=org.kde.kcalc.desktop
X-DBUS-StartupType=
X-DocPath=kcalc/index.html
X-KDE-SubstituteUID=false
X-KDE-Username=


Reproducible: Always

Steps to Reproduce:
The error I can always reproduce with any program


Actual Results:  
The dialog box does not display the previously made changes.
Comment 1 bluelupo 2016-04-28 19:29:10 UTC
Some data: 

$ uname -a
Linux snowcat 4.5.2-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.5-7 (2016-04-20) x86_64 GNU/Linux

$ dpkg -l | grep -i plasma | awk '{print $1,$2,$3}'
ii breeze 4:5.4.3-1
ii breeze-cursor-theme 4:5.4.3-1
ii breeze-icon-theme 4:5.4.3-1
ii kde-plasma-desktop 5:90
ii kde-standard 5:90
ii kdeconnect 0.9g-1
ii kdeplasma-addons-data 4:5.4.3-1
ii libkdeclarative5 4:4.14.14-1+b2
ii libkf5plasma5:amd64 5.16.0-1
ii libkf5plasmaquick5:amd64 5.16.0-1
ii libkworkspace5-5 4:5.4.3-2
ii libplasma-geolocation-interface5 4:5.4.3-2
ii libplasma3 4:4.14.14-1+b2
ii libtaskmanager5 4:5.4.3-2
ii libweather-ion7 4:5.4.3-2
ii plasma-dataengines-addons 4:5.4.3-1
ii plasma-desktop 4:5.4.3-1
ii plasma-desktop-data 4:5.4.3-1
ii plasma-framework 5.16.0-1
ii plasma-nm 4:5.4.3-1
ii plasma-pa 5.4.3-1
ii plasma-runners-addons 4:5.4.3-1
ii plasma-scriptengine-javascript 4:15.08.3-1+b1
ii plasma-systray-legacy 0~git20151104-ded1538-2
ii plasma-wallpapers-addons 4:5.4.3-1
ii plasma-widget-folderview 4:15.08.3-1
ii plasma-widgets-addons 4:5.4.3-1
ii plasma-workspace 4:5.4.3-2
Comment 2 Eike Hein 2016-04-29 20:30:38 UTC
Editing a .desktop file through "Properties" works just fine for me in both the widget and on the desktop. Please reopen with additional information.
Comment 3 bluelupo 2016-04-30 09:55:21 UTC
Hi Eike,

I have attached a few screenshots for detailed analysis. First, I have a new icon for the calculator on desktop kcalc applied (Screenshot_01.png).

Then called the Properties dialog from the just created desktop icon (Screenshot_02.png). With another screenshot (Screenshot_03.png) I will show you config Kcalc.desktop it.

Now I lead changes in the properties dialog by as shown in the next screenshot (Screenshot_04.png). The description field ("Ein Rechner") and the comment field ("Test") I have added amendments. Then press the OK button to save.

Now again the Properties dialog or opened with the editor Kcalc.desktop (see File Screenshot_05.png and Screenshot_06.png). You see that here no amendments were adopted. Also, the time stamp of Kcalc.desktop file has not changed.

What is wrong?
Comment 4 bluelupo 2016-04-30 09:57:36 UTC
Created attachment 98699 [details]
Screenshot_01.png

Screenshots for the bug report
Comment 5 bluelupo 2016-04-30 09:58:48 UTC
Created attachment 98700 [details]
Screenshot_02.png

Screenshots for the bug report
Comment 6 bluelupo 2016-04-30 09:59:53 UTC
Created attachment 98701 [details]
Screenshot_03.png

Screenshots for the bug report
Comment 7 bluelupo 2016-04-30 10:00:27 UTC
Created attachment 98702 [details]
Screenshot_04.png

Screenshots for the bug report
Comment 8 bluelupo 2016-04-30 10:01:03 UTC
Created attachment 98703 [details]
Screenshot_05.png

Screenshots for the bug report
Comment 9 bluelupo 2016-04-30 10:01:59 UTC
Created attachment 98704 [details]
Screenshot_06.png

Screenshots for the bug report
Comment 10 Eike Hein 2016-04-30 10:35:33 UTC
Seems to happen when the location is not desktop:/. Some sort of bug in KIO/KPropertiesDialog; reassigning.
Comment 11 Eike Hein 2016-04-30 10:35:59 UTC
Reopening.
Comment 12 bluelupo 2016-06-25 09:13:45 UTC
They are more information on reported errors? If the error is already corrected possibly in a KDE version?
Comment 13 Nate Graham 2018-05-08 18:51:27 UTC
Still an issue in KDE Frameworks 5.45.