Bug 1060 - Renaming a launcher icon in KDE always gives an error dialog
Summary: Renaming a launcher icon in KDE always gives an error dialog
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on: 2813
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-29 17:54 CEST by Barry Jackson
Modified: 2011-09-23 22:10 CEST (History)
2 users (show)

See Also:
Source RPM: lib64plasma3-4.6.2-3.mga1 ??
CVE:
Status comment:


Attachments

Description Barry Jackson 2011-04-29 17:54:16 CEST
Description of problem:
If a desktop / icon is re-named using the GUI context menu, then on completing the action plasma generates an error dialog complaining that the original filename does not exist.
Nothing crashes or hangs but it's annoying and needs to be OK'ed to continue.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Create a desktop icon for kwrite in a folder view plasmoid  
2.Rename it using the context menu from kwrite.desktop to Kwrite. 
3.A dialog with the title:-
Error- Plasma Desktop Shell

Containing the message:-
The file or folder /home/baz/Launch/kwrite.desktop does not exist.
Comment 1 Barry Jackson 2011-04-29 19:13:47 CEST
After more testing I notice that the .desktop extension only appears when a launcher is placed on a folder view plasmoid. 
If a launcher is placed on the desktop (even when the desktop is itself a folder view - the default) the application name is shown correctly under the icon. e.g. "Kwrite"

This I suppose is logical - since a folder view would be expected to show full filenames, although in the case of [Desktop Entry] file types this is undesirable.
The above is off-topic somewhat, but explains the reason for needing to change the displayed icon text.

If the name is changed of a launcher placed on the desktop (rather than in a folder view) then worse mayhem breaks out. A warning that this will overwrite the source is given, then when that is OK'ed a malformed URL error pops up.

Summary: Renaming a desktop icon in KDE always gives an error dialog => Renaming a launcher icon in KDE always gives an error dialog

Comment 2 D Morgan 2011-04-30 01:07:22 CEST
can you explain more please ?  i don't understand what you mean.

CC: (none) => dmorganec

Comment 3 Barry Jackson 2011-04-30 01:24:38 CEST
OK to reproduce :-
In KDE create a folder view plasmoid. This will default to the home folder.
From the K menu drag Kwrite to the folder view and click copy here.
An icon is now in the folder view plasmoid called kwrite.desktop.
Hover over the icon and right click it, Select "rename" from the context menu.
Rename it to Kwrite.
Error dialog appears.

If a launcher is created as above, but on the desktop instead of the plasmoid, it will be called Kwrite not kwrite.desktop as I explained before. However if you rename a launcher on the desktop, the errors are different and end up leaving a copy behind with a generic icon.
John Balcaen 2011-09-21 12:28:42 CEST

Keywords: (none) => UPSTREAM
CC: (none) => balcaen.john
Hardware: x86_64 => All
See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=270414

Comment 4 John Balcaen 2011-09-21 17:16:55 CEST
Ok should be fixed with the next kdebase4 package.

Version: Cauldron => 1

John Balcaen 2011-09-23 02:22:34 CEST

Depends on: (none) => 2813

Comment 5 Manuel Hiebel 2011-09-23 22:10:10 CEST
closing

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.