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

            Bug ID: 524669
           Summary: appstream URLs are always sent in lowercase
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First 6.29.0
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

STEPS TO REPRODUCE
0. Start plasmashell with QT_LOGGING_RULES="*.debug=true"
1. Open Kickoff
2. Right Click an application with appstream metadata (in my case a flatpak
from flathub https://flathub.org/en/apps/io.github.DenysMb.Kontainer)
3. Click Uninstall or Manage Add-ons

OBSERVED RESULT
An appstream handler like Discover or in my case bazaar will open the
corresponding application's page

kf.kio.gui: Starting process: QList("/usr/bin/flatpak", "run",
"--branch=master", "--arch=x86_64", "--command=bazaar-daemon",
"--file-forwarding", "io.github.kolunmi.Bazaar", "@@u",
"appstream://io.github.denysmb.kontainer", "@@")
qt.qpa.services: Launching /usr/bin/xdg-open
appstream://io.github.denysmb.kontainer

Notice that io.github.DenysMb.Kontainer turned into io.github.denysmb.kontainer

EXPECTED RESULT
The capitalization of the application ID is preserved and applications that
open appstream:// don't have to account for plasma sending the lowercased IDs

SOFTWARE/OS VERSIONS
Operating System: Aurora 44
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Bazaar implemented a workaround for this in
https://github.com/bazaar-org/bazaar/commit/7643cd52abe6a38a82dd780a09fe9a842671897c

I'm not sure if this is intentional behavior or not but I thought it was best
to report this behavior anyway. Thanks for reading and have a nice day.

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

Reply via email to