[dolphin] [Bug 466814] dolphin rename file selects part of the extension when name contains composed glyphs (diacritics, emojis)

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Aug 13 17:14:41 BST 2024


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

fanzhuyifan at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/021365d
                   |                            |ceb590a14bfcdb904ea05ffdd69
                   |                            |b7d663

--- Comment #3 from fanzhuyifan at gmail.com ---
Git commit 021365dceb590a14bfcdb904ea05ffdd69b7d663 by Yifan Zhu.
Committed on 13/08/2024 at 16:09.
Pushed by fanzhuyifan into branch 'master'.

KStandardItemListWidget: select by number of unicode chars

Previously during rename, the number of QChar is used for selection,
which might be different from number of unicode characters.

Test plan:
- create the file zz❤️❤️.txt
- rename the file
- verify that the first 4 characters are correctly selected, which
  didn't work before the patch.

M  +8    -9    src/kitemviews/kfileitemlistwidget.cpp
M  +1    -1    src/kitemviews/kfileitemlistwidget.h
M  +12   -1    src/kitemviews/kstandarditemlistwidget.cpp
M  +3    -1    src/kitemviews/kstandarditemlistwidget.h

https://invent.kde.org/system/dolphin/-/commit/021365dceb590a14bfcdb904ea05ffdd69b7d663

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list