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

            Bug ID: 407386
           Summary: Action shortcut default to "Alt+关" if not specified
           Product: frameworks-kirigami
           Version: 5.57.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: i...@guoyunhe.me
  Target Milestone: Not decided

SUMMARY


STEPS TO REPRODUCE

1. Have the following code:
---------------------------------------------
import org.kde.kirigami 2.0

Action {
    id: aboutAction
    iconName: "help-feedback"
    text: i18n("About")
}
---------------------------------------------
2. text is translated to "关于" in Chinese.

3. Mouse hover on the item, show a tooltip.

OBSERVED RESULT

The tooltip is "Alt+关", an invalid shortcut. Because you cannot find the key
"关" in any keyboard.

EXPECTED RESULT

If shortcut property is not specified, it shouldn't generate a shortcut.

We cannot make sure every action begins with unique letters or even valid
letters. If developers defined action shortcut with same letter, conflicts will
happen.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to