If you open a file/folder which has # or ? in its name, then the name will be truncated and added wrongly to History. Operating System: Manjaro Linux KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Kernel Version: 5.4.118-1-MANJARO OS Type: 64-bit Graphics Platform: X11
Can you show a screenshot?
Created attachment 139119 [details] File/folder name truncated The same happens for file and folder names.
Can confirm. How bizarre.
Git commit c6c0a68416b5042032853a6f673bddbe475567b7 by Christoph Wolk. Committed on 05/06/2025 at 17:45. Pushed by cwo into branch 'master'. applets/kicker: fix filenames containing # in history Kicker takes the resource name as provided by PlasmaActivities.Stats and interprets it as an URL, setting the 'file' url scheme if necessary. This fails when the filenames contain a '#' character, as QUrl will interpret them as url fragments if not percent-encoded (which they are not for local files, but are for remote urls). This makes display and opening of such files fail in both Kicker and Kickoff. Instead, we test whether it's an absolute path (the local history entries are) and if so, use QUrl.fromLocalFile to get the correct url. This is also what PlasmaActivities.Stats does in ResultSet (which is what the Task Manager uses, so everything works there already, but we want a real model here). Related: bug 419449 FIXED-IN: 6.4.0 M +5 -3 applets/kicker/recentusagemodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/c6c0a68416b5042032853a6f673bddbe475567b7
Git commit ab55c53e37814da5aadf9bf29dd5cae7a783ef6e by Christoph Wolk. Committed on 05/06/2025 at 18:33. Pushed by cwo into branch 'Plasma/6.4'. applets/kicker: fix filenames containing # in history Kicker takes the resource name as provided by PlasmaActivities.Stats and interprets it as an URL, setting the 'file' url scheme if necessary. This fails when the filenames contain a '#' character, as QUrl will interpret them as url fragments if not percent-encoded (which they are not for local files, but are for remote urls). This makes display and opening of such files fail in both Kicker and Kickoff. Instead, we test whether it's an absolute path (the local history entries are) and if so, use QUrl.fromLocalFile to get the correct url. This is also what PlasmaActivities.Stats does in ResultSet (which is what the Task Manager uses, so everything works there already, but we want a real model here). Related: bug 419449 FIXED-IN: 6.4.0 (cherry picked from commit c6c0a68416b5042032853a6f673bddbe475567b7) Co-authored-by: Christoph Wolk <cwo.kde@posteo.net> M +5 -3 applets/kicker/recentusagemodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/ab55c53e37814da5aadf9bf29dd5cae7a783ef6e