Bug 401332 - Renaming of desktop shortcuts files should display their regular names e.g. 'Dolphin' not domain names e.g. 'org.kde.dolphin.desktop' in 'File Already Exists' dialog
Summary: Renaming of desktop shortcuts files should display their regular names e.g. '...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-23 13:54 UTC by Alexander Mentyu
Modified: 2021-03-10 04:04 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2018-11-23 13:54:06 UTC
SUMMARY
When copying same app icon from app launcher to desktop - if 'Suggest New Name' button is pressed in 'File Already Exists' dialog - the desktop icon is displayed identically with previous e.i. 'Dolphin' and 'Dolphin' desktop icons - even after 'Suggest New Name' and Rename buttons were pressed (implying that new desktop icon will be displayed differently) 

STEPS TO REPRODUCE
1. Drag for example Dolphin icon from application launcher to desktop.
2. Select for example 'Copy Here' in option menu.
3. Drag Dolphin icon from application launcher to desktop again (without removing the previous icon).
4. Select 'Copy Here' in option menu.
5. Look at 'Rename' text field in 'File Already Exists' dialog.

OBSERVED RESULT
Domain app name is displayed in it - i.e. 'org.kde.dolphin.desktop'

EXPECTED RESULT
Regular app name is displayed in it - i.e. 'Dolphin'

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.53.0
Qt Version: 5.11.2
Kernel Version: 4.15.0-39-generic
Comment 1 Kai Uwe Broulik 2018-11-23 14:28:53 UTC
The file name is in fact "org.kde.dolphin.desktop", so that's what it bases this decision on. Desktop folder has special magic to read the pretty name from the file and pretend it's the file name.
Comment 2 Nate Graham 2021-03-10 04:04:46 UTC
This is such an edge case, and there is no obvious solution, that I think it's not worth fixing, sorry. :(