https://bugs.kde.org/show_bug.cgi?id=493279

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/112f375
                   |                            |ec175e5aedfb58a3a3bf76535cc
                   |                            |959575

--- Comment #3 from Méven <[email protected]> ---
Git commit 112f375ec175e5aedfb58a3a3bf76535cc959575 by Méven Car, on behalf of
Weinan Li.
Committed on 12/09/2025 at 08:29.
Pushed by meven into branch 'master'.

informationpanel: use QTextEdit for filename display to avoid newlines in
copied text

QLabel does not support line wrapping at arbitrary positions. The original code
achieved word wrap by manually adding newline characters to the text, which
resulted in these newlines being included when the filename was selected and
copied.

This patch replaces QLabel with QTextEdit for filename display, leveraging
QTextEdit's built-in word wrap functionality that handles line breaks purely
for display without modifying the underlying text. This ensures copied
filenames remain free of unintended newlines.

M  +13   -24   src/panels/information/informationpanelcontent.cpp
M  +2    -1    src/panels/information/informationpanelcontent.h

https://invent.kde.org/system/dolphin/-/commit/112f375ec175e5aedfb58a3a3bf76535cc959575

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to