https://bugs.kde.org/show_bug.cgi?id=490909
            Bug ID: 490909
           Summary: "GenericName" is used instead of "Comment" when
                    showing tooltips for apps in the start menu
    Classification: Plasma
           Product: plasmashell
           Version: 6.1.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Global Menu
          Assignee: plasma-b...@kde.org
          Reporter: epictux...@proton.me
                CC: k...@privat.broulik.de, mvourla...@gmail.com
  Target Milestone: 1.0

SUMMARY
When a .desktop file has both the fields "GenericName" and "Comment" with valid
information, "GenericName" is used to show the tooltip in the start menu, when
"Comment" should be used instead.

STEPS TO REPRODUCE
1. Create a .desktop file with the basics. For reference, I'll create an
example:

============================================================================

/home/user/.local/share/applications/KDE Translator.desktop

[Desktop Entry]
Exec=/home/user/.local/bin/kdetranslator
Type=Application
Name=KDE Translator
GenericName=Translator application
Comment=Translate anything, from any language — from A to Z!

============================================================================

2. Update desktop database and open start menu and search the name of the app.

OBSERVED RESULT
"GenericName" is used as the tooltip for the app if both "GenericName" and
"Comment" exist in the file. When only "Comment" exists, it is used instead of
"GenericName".

EXPECTED RESULT
"Comment" should be prioritized, as I understand it (by reading
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

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

Reply via email to