Bug 170876

Summary: Filenames containing newlines do not appear nicely in the Documents list
Product: [Applications] kate Reporter: Luke-Jr <luke-jr+kdebugs>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: andresbajotierra, christoph
Priority: NOR    
Version: 2.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Unspecified   
Latest Commit: Version Fixed In: 4.8
Sentry Crash Report:

Description Luke-Jr 2008-09-11 20:44:31 UTC
Version:            (using KDE 3.5.9)
Installed from:    Gentoo Packages

Not quite sure how these *should* look, but if I have a file named "a\nb\nc\nd", it looks pretty odd in the documents list. This is probably only one of many cases it looks odd in KDE.
Comment 1 Christoph Cullmann 2009-04-18 16:45:22 UTC
Enhancement ;)
Comment 2 Dominik Haumann 2011-08-12 15:07:49 UTC
Git commit 7499f1e157770b86010c5043ca9842e9bec17d0e by Dominik Haumann.
Committed on 12/08/2011 at 17:06.
Pushed by dhaumann into branch 'master'.

remove \r and \n from visible file names

BUG: 170876

M  +1    -1    part/document/katedocument.h
M  +16   -3    part/document/katedocument.cpp

http://commits.kde.org/kate/7499f1e157770b86010c5043ca9842e9bec17d0e
Comment 3 Dominik Haumann 2011-08-13 18:21:12 UTC
Git commit e52e005bf8f8366f5898e0bec16fe7f17ed3b608 by Dominik Haumann.
Committed on 12/08/2011 at 17:06.
Pushed by dhaumann into branch 'KDE/4.7'.

remove \r and \n from visible file names

BUG: 170876

M  +1    -1    part/document/katedocument.h
M  +16   -3    part/document/katedocument.cpp

http://commits.kde.org/kate/e52e005bf8f8366f5898e0bec16fe7f17ed3b608