[dolphin] [Bug 493270] "Extract here" will result in freeze when specific folders exist
Akseli Lahtinen
bugzilla_noreply at kde.org
Wed Nov 13 09:03:50 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=493270
Akseli Lahtinen <akselmo at akselmo.dev> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/fram
| |eworks/kcoreaddons/-/commit
| |/50c3c2ed1c7c03bacb47a16437
| |41039b8cf274f0
--- Comment #4 from Akseli Lahtinen <akselmo at akselmo.dev> ---
Git commit 50c3c2ed1c7c03bacb47a1643741039b8cf274f0 by Akseli Lahtinen.
Committed on 13/11/2024 at 09:03.
Pushed by akselmo into branch 'master'.
kfileutils: compare to basename in makeSuggestedName
Instead of searching from oldName, search from baseName since that is what
we want to modify anyway.
When searching from oldName here and then modifying baseName, with
weird filenames like "super.weird.filename(123).txt(54321)" it gets
stuck in endless loop.
This also adds a test for above filename. The regex has an added space before
the parentheses match, since the number we append also has a space in front of
it.
M +1 -0 autotests/kfileutilstest.cpp
M +3 -3 src/lib/io/kfileutils.cpp
https://invent.kde.org/frameworks/kcoreaddons/-/commit/50c3c2ed1c7c03bacb47a1643741039b8cf274f0
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list