Created attachment 129372 [details] dolphin exibiting the bug SUMMARY Newlines in filenames are not shown in any way. STEPS TO REPRODUCE 1. Navigate to a directory containing files which have newlines in their names OBSERVED RESULT The newlines in the filenames are not rendered in dolphin at all. EXPECTED RESULT The newlines should be visually distinguished in some way, e.g. actually showing the filename on multiple lines, showing escape sequences, etc. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Frameworks Version: 5.70.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION I accidentally put a bunch of newlines in filenames because of this bug, which lead me to discover another quirk: https://bugs.kde.org/show_bug.cgi?id=422997 I uploaded two screenshots. One is of dolphin exibiting the bug. The other is an example of pcmanfm rendering the newline-laden filename in what I think is a sensible way.
Created attachment 129373 [details] pcmanfm rendering the newline-laden filename in what I think is a sensible way
Can reproduce Operating System: Arch Linux KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.11 Kernel Version: 6.5.6-273-tkg-eevdf-llvm (64-bit) Graphics Platform: X11 Processors: 20 × 13th Gen Intel® Core™ i9-13900H Memory: 15.2 GiB of RAM Graphics Processor: Mesa Intel® Graphics Manufacturer: ASUSTeK COMPUTER INC. Product Name: ROG Zephyrus G16 GU603VV_GU603VV System Version: 1.0
*** Bug 445292 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/636
Git commit 8ef3c7bc42bad4397bed0711f4317ebad9c0f8f1 by Yifan Zhu. Committed on 23/10/2023 at 19:09. Pushed by meven into branch 'master'. Display newline in filename as Unicode line break Related: bug 444747 M +13 -2 src/kitemviews/kstandarditemlistwidget.cpp M +7 -0 src/kitemviews/kstandarditemlistwidget.h https://invent.kde.org/system/dolphin/-/commit/8ef3c7bc42bad4397bed0711f4317ebad9c0f8f1