After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635282 - '&' in playlist names leads to render fail
'&' in playlist names leads to render fail
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: User Interface
1.9.0
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-19 16:50 UTC by Maxim
Modified: 2010-11-19 17:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proofpic (261.20 KB, image/png)
2010-11-19 17:17 UTC, Maxim
Details

Description Maxim 2010-11-19 16:50:26 UTC
If one has '&' character in playlist name, GTK will not render markup as planned, showing raw markup text in gui and warning in terminal window. I think that you should escape '&' as '&' before sending it to gtk. Probably other characters need escaping too.
Comment 1 Gabriel Burt 2010-11-19 17:10:31 UTC
I can't reproduce the bug; works fine for me.
Comment 2 Maxim 2010-11-19 17:17:10 UTC
Created attachment 174862 [details]
Proofpic

Pic & log from terminal:

(Banshee:6738): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &
Comment 3 Gabriel Burt 2010-11-19 17:20:17 UTC
Ah, ok -- is it only messed up in the remove-tracks confirmation dialog(s)?
Comment 4 Maxim 2010-11-19 17:21:59 UTC
I haven't seen it anywhere except remove-confirmation, but not sure.
Comment 5 Gabriel Burt 2010-11-19 17:44:26 UTC
Thanks, fixed in master.