Bug 74186 - An ampersand in Name becomes '&&'
Summary: An ampersand in Name becomes '&&'
Status: RESOLVED WORKSFORME
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 0.5
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 74175 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-05 03:15 UTC by Taishin Kin
Modified: 2004-02-05 17:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taishin Kin 2004-02-05 03:15:21 UTC
Version:           0.5 (using KDE KDE 3.2.0)
Installed from:    RedHat RPMs
Compiler:          gcc-3.2.5-5.i386.rpm 
OS:          Linux

Please look at my screenshot at:
http://emo.jaist.ac.jp:8000/~taishin/kde/snapshot1.png
Whereas submenu name is "Lost & Found",
tree view shows "Lost && Found."
I cleared the Name entry and re-entered "Lost & Found".
But the result is same.
'&' becomes always '&&'.
Therefore '&&' becomes '&&&&'.
'\&' becomes '\&&'.

However, in case of menu item, kmenuedit behaves differently.
Click on "New Item" button in the toolbar
then type something containing ampersand e.g. "Me & My Familly".
The tree view shows "Me && My Familly".
But, once you edit Name entry, say, delete redundant 'l' in "Familly", then suddenly tree view shows ampersand correctly
i.e. "Me & My Family".

Thanks.
Comment 1 Waldo Bastian 2004-02-05 12:27:48 UTC
*** Bug 74175 has been marked as a duplicate of this bug. ***
Comment 2 Taishin Kin 2004-02-05 17:36:53 UTC
According to WebCVS, this bug is quickly fixed.
I downloaded current CVS of kmenuedit then built it
and it worked without this bug.
Very quick shot!
Thanks!