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

cwo <cwo....@posteo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |6.4.0
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/c6c0a68416b5042032853a6f6
                   |                            |73bddbe475567b7
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from cwo <cwo....@posteo.net> ---
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

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

Reply via email to