Summary: | Extra dot added to the file name when saving a file using the "Save As" dialog | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Huanyu Liu <1293660441> |
Component: | Open/save dialogs | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs-null |
Priority: | NOR | ||
Version First Reported In: | 5.116.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/053420fb34fb1d1a3632aa3386d45b931036834d | Version Fixed In: | |
Sentry Crash Report: |
Description
Huanyu Liu
2025-03-05 07:25:49 UTC
Thanks for the report, can confirm. Seems to be a regression from https://phabricator.kde.org/D10114 in KIO, also still happens with KF6 version, Guess Okteta being the only victim of this logic, I have to bite and see to fix that :( Will have a look to get this sorted out soonish. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1827 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1828 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1829 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1830 Git commit a7be926869d82d70de549970c25ee76a88a2e6a9 by Friedrich W. H. Kossebau. Committed on 14/03/2025 at 21:19. Pushed by kossebau into branch 'master'. KFileWidget: drop broken workaround for old s-m-i octet-stream file suffix Old logic was establishing m_extension to be '.' and thus screwing over the edited filename when "application/octet-stream" is the set filter, KFileWidget: drop broken workaround for old s-m-i octet-stream file suffix Logic was establishing m_extension to be '.' when "application/octet-stream" is the set filter and currentExtension being empty, thus screwing over the edited filename. s-m-i 1.10 and Qt 5.11.0 got the octet-stream file suffix fixed, and with KCoreAddons 6.13 now also requiring at least s-m-i 2.1, the work-around can be dropped. M +5 -0 autotests/kfilewidgettest.cpp M +1 -2 src/filewidgets/kfilewidget.cpp https://invent.kde.org/frameworks/kio/-/commit/a7be926869d82d70de549970c25ee76a88a2e6a9 Git commit 053420fb34fb1d1a3632aa3386d45b931036834d by Friedrich W. H. Kossebau. Committed on 14/03/2025 at 21:20. Pushed by kossebau into branch 'kf5'. KFileWidget: drop broken workaround for old s-m-i octet-stream file suffix Logic was establishing m_extension to be '.' when "application/octet-stream" is the set filter and currentExtension being empty, thus screwing over the edited filename. s-m-i 1.10 and Qt 5.11.0 got the octet-stream file suffix fixed, and with KCoreAddons 5.117.0 now also requiring at least s-m-i 1.10, the work-around can be dropped. M +5 -0 autotests/kfilewidgettest.cpp M +1 -2 src/filewidgets/kfilewidget.cpp https://invent.kde.org/frameworks/kio/-/commit/053420fb34fb1d1a3632aa3386d45b931036834d |