Version: 1.0 (using KDE KDE 3.5.5) Installed from: Debian stable Packages OS: Linux \n is not interpreted with --radiolist option, neither with --checklist. this command works well (an empty line between "line 1" and "line 2"): kdialog --msgbox "line 1 \n line 2" but not this one (prints "line 1 \n line 2" on the same line): kdialog --radiolist "line 1 \n line 2" 1 choice1 on 2 choice2 off
This bug also occurs with --inputbox. The code kdialog --msgbox "foo\nbar" works as expected, but kdialog --inputbox "foo\nbar" does not. I'm using KDialog 1.0 on KDE 4.1.3.
Created attachment 33780 [details] Proposed patch
*** Bug 199005 has been marked as a duplicate of this bug. ***
You could use "<br>" instead of "\n". Kdialog 1.0 is able to interpret html tags
Git commit 39f3b6a8b7d3e5261ab24a5a270350891a0caa06 by Oswald Buddenhagen. Committed on 01/07/2012 at 13:14. Pushed by ossi into branch 'master'. interpret backslash escapes in some more options Related: bug 295820 FIXED-IN: 4.9 M +14 -14 kdialog/kdialog.cpp http://commits.kde.org/kde-baseapps/39f3b6a8b7d3e5261ab24a5a270350891a0caa06
Git commit 36733fdcc1242a15374672b6e39e906bb131b958 by Christoph Feck, on behalf of Oswald Buddenhagen. Committed on 01/07/2012 at 13:14. Pushed by cfeck into branch 'KDE/4.9'. interpret backslash escapes in some more options Related: bug 295820 FIXED-IN: 4.9 (cherry picked from commit 39f3b6a8b7d3e5261ab24a5a270350891a0caa06) M +14 -14 kdialog/kdialog.cpp http://commits.kde.org/kde-baseapps/36733fdcc1242a15374672b6e39e906bb131b958