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

            Bug ID: 457730
           Summary: Additional %u in recently-used.xbel exec attributes
           Product: frameworks-kio
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Places
          Assignee: kio-bugs-n...@kde.org
          Reporter: fab...@ritter-vogt.de
                CC: k...@privat.broulik.de, kdelibs-b...@kde.org,
                    meven....@kdemail.net
  Target Milestone: ---

While looking at recently-used.xbel for another bug, I noticed that all exec
entries had "%u" appended unconditionally, e.g.

          <bookmark:application name="org.kde.kmail2" exec="kmail -qwindowtitle
%c %u %u" modified="2022-08-04T18:31:13.290000Z" count="1"/>
          <bookmark:application name="org.kde.kate" exec="kate -b %U %u"
modified="2022-08-04T18:34:30.890000Z" count="1"/>
          <bookmark:application name="vivaldi-stable"
exec="/usr/bin/vivaldi-stable %U %u" modified="2022-08-10T18:28:58.305000Z"
count="1"/>

The specification only allows "%u" and "%f", which makes sense in this context.
I don't know what effects this can have.

Maybe this can be passed through KIO::DesktopExecParser with "%u" or "%f" as
"local path" to get a valid command?

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

Reply via email to