http://bugzilla.novell.com/show_bug.cgi?id=559226
http://bugzilla.novell.com/show_bug.cgi?id=559226#c0
Summary: Allow escaping of literal '&' in UI strings Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rpmcruz@alunos.dcc.fc.up.pt QAContact: jsrain@novell.com Found By: --- Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pt-PT; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5
As Johannes Meixner put it over the yast-devel mailing list: http://lists.opensuse.org/yast-devel/2009-11/msg00075.html
I like to display a literal '&' in a UI dialog string like: ---------------------------------------------------------------- `InputField( `id(`options), _("Options (option1=value1&option2=value2)"), "" ) ---------------------------------------------------------------- but neither "Options (option1=value1&option2=value2)" nor "Options (option1=value1\046option2=value2)" works for me.
When I run the module with yast2 --gt module and with yast2 --qt module the text which is shown in the dialog is always
Options (option1=value1option2=value2)
i.e. the '&' character is omitted.
Reproducible: Always
http://bugzilla.novell.com/show_bug.cgi?id=559226
http://bugzilla.novell.com/show_bug.cgi?id=559226#c1
Ricardo Cruz rpmcruz@alunos.dcc.fc.up.pt changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com, | |kmachalkova@novell.com, | |rpmcruz@alunos.dcc.fc.up.pt AssignedTo|bnc-team-screening@forge.pr |rpmcruz@alunos.dcc.fc.up.pt |ovo.novell.com |
--- Comment #1 from Ricardo Cruz rpmcruz@alunos.dcc.fc.up.pt 2009-11-30 17:41:57 UTC --- I suggest GTK and ncurses UI adopt Qt UI's behavior. That is, double '&' character to convey escape. e.g. "This && that" -> "This & that"
http://bugzilla.novell.com/show_bug.cgi?id=559226
http://bugzilla.novell.com/show_bug.cgi?id=559226#c2
Ricardo Cruz rpmcruz@alunos.dcc.fc.up.pt changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rpmcruz@alunos.dcc.fc.up.pt |kmachalkova@novell.com Summary|Allow escaping of literal |gtk/ncurses: Allow escaping |'&' in UI strings |of literal '&' in UI | |strings
--- Comment #2 from Ricardo Cruz rpmcruz@alunos.dcc.fc.up.pt 2009-12-01 02:58:33 UTC --- Fixed GTK. Katarina, your turn.
http://bugzilla.novell.com/show_bug.cgi?id=559226
http://bugzilla.novell.com/show_bug.cgi?id=559226#c3
--- Comment #3 from Ricardo Cruz rpmcruz@alunos.dcc.fc.up.pt 2009-12-01 02:59:06 UTC --- Created an attachment (id=330169) --> (http://bugzilla.novell.com/attachment.cgi?id=330169) Test case
http://bugzilla.novell.com/show_bug.cgi?id=559226
http://bugzilla.novell.com/show_bug.cgi?id=559226#c
Katarina Machalkova kmachalkova@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED
http://bugzilla.novell.com/show_bug.cgi?id=559226
http://bugzilla.novell.com/show_bug.cgi?id=559226#c4
Katarina Machalkova kmachalkova@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #4 from Katarina Machalkova kmachalkova@novell.com 2010-01-13 12:24:02 UTC --- Finally done, submitreq on the way (y2-nc 2.19.2)
I can't seem to like this UI, it can do so few things by itself and it gets sometimes way too challenging to teach it things other UIs can do by single library call ...
http://bugzilla.novell.com/show_bug.cgi?id=559226
http://bugzilla.novell.com/show_bug.cgi?id=559226#c5
--- Comment #5 from Ricardo Cruz rpmcruz@alunos.dcc.fc.up.pt 2010-01-13 15:56:37 UTC --- I'm sure there's a place in hell for ncurses -- but don't you worry, gtk isn't going to be received in open arms by St. Peter either. ;^)
http://bugzilla.novell.com/show_bug.cgi?id=559226 http://bugzilla.novell.com/show_bug.cgi?id=559226#c6
--- Comment #6 from Bernhard Wiedemann bwiedemann@suse.com --- This is an autogenerated message for OBS integration: This bug (559226) was mentioned in https://build.opensuse.org/request/show/29410 Factory / yast2-ncurses