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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/911fed7
                   |                            |0579e1cba529dabf176becf43d2
                   |                            |4d9174
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Méven <[email protected]> ---
Git commit 911fed70579e1cba529dabf176becf43d24d9174 by Méven Car.
Committed on 07/11/2026 at 09:55.
Pushed by meven into branch 'master'.

kitemlistroleeditor: widen the editor while a name that does not wrap is typed

The compact view shows a name on one line, and the rename editor starts as wide
as that name.
Before this change, the editor kept that width while a longer name was typed,
so most of the new name was out of sight.
The editor now gets as wide as the typed name, up to the edge of the view.
It takes the natural width of the line, not the width that
QTextDocument::adjustSize() picks.
A name that wraps, as in the icons view, still makes the editor taller and not
wider.

This was a regression from db901429181f6317d4e72ba481592e1a15702e88

M  +14   -0    src/kitemviews/private/kitemlistroleeditor.cpp
M  +45   -0    src/tests/kitemlistroleeditortest.cpp

https://invent.kde.org/system/dolphin/-/commit/911fed70579e1cba529dabf176becf43d24d9174

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

Reply via email to