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

            Bug ID: 514339
           Summary: In the keyboard shortcut list, related actions can be
                    miles apart depending on language
    Classification: Applications
           Product: konsole
      Version First master
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Actions in the keyboard shortcut list (Configure Keyboard Shortcuts) may be
miles apart from related options (TERM, KILL, HUP etc. being scattered; Split
View Left/Right not being next to Split View Top/Bottom, etc.), especially in
non-English languages.

I'm a translator for zh_TW. I'm forced to choose between sounding natural
(左右分割檢視, 左右 acts as an adverb) or reordering the string to make them sort next
to each other.

STEPS TO REPRODUCE
1. open Configure Keyboard Shortcuts in Konsole
2. Notice Expand View is very far away from Shrink View. In other languages
this can be worse.

OBSERVED RESULT
Actions rely on name sorting for grouping, and related actions may be scattered
depending on the language.

EXPECTED RESULT
Some related actions are grouped together in the shortcuts list with
KActionCategory.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Unstable
KDE Plasma Version: 6.5.80 (Neon Unstable build on 2026-01-04)
KDE Frameworks Version: 6.22.0 (Neon Unstable build on 2026-01-03~04)
Qt Version: 6.10.1

ADDITIONAL INFORMATION
I've tried to implement this a little bit myself, this is mostly notes from
that purpose.
Shortcuts can be grouped by adding them to KActionCategory, which is designed
for this exact purpose ("Categorize actions for KShortcutsEditor")
https://lxr.kde.org/source/frameworks/kxmlgui/src/kactioncategory.h?v=stable-kf6-qt6
The categories can't easily correspond to menu bar categories, it's just a
somewhat better alternative to manually group actions in the shortcuts list.
Lokalize does this (in lokalizemainwindow.cpp).

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

Reply via email to