Bug 491559 - Custom shortcut list shows commands instead of names, making it difficult to read
Summary: Custom shortcut list shows commands instead of names, making it difficult to ...
Status: RESOLVED DUPLICATE of bug 473163
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (show other bugs)
Version: 6.1.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-11 01:46 UTC by Angelos Skembris
Modified: 2024-08-11 16:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Multiple similar commands defined but not discernible. (109.68 KB, image/png)
2024-08-11 01:46 UTC, Angelos Skembris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelos Skembris 2024-08-11 01:46:44 UTC
Created attachment 172496 [details]
Multiple similar commands defined but not discernible.

SUMMARY
Creating a custom keyboard shortcut results in a new entry in the "Commands" section in System Settings -> Keyboard --> Shortcuts. Each such entry is listed by the command name, which makes it very difficult to tell them apart if I have multiple commands that are similar (in my case keyboard shortcuts to send specific key combinations, see attached image). 

The column that shows the commands is not resizeable, so long commands get truncated to the same point, and I cannot tell them apart. 

The corresponding .desktop file created has a "Name" field; I can only change it manually by editing the corresponding file in .local/share/applications, but I should have the option to set it when defining the shortcut (as was the case in Plasma 5). 

Even if I change the name, I need to log out and log in for the new name to register in the list, and it is only shown on the right-hand panel (also shown in the image). This means that I cannot edit the name and I need to click on every shortcut in the list to find the one that I'm looking for.  

STEPS TO REPRODUCE
1. Go to "System Settings --> Keyboard --> Shortcuts 
2. Select Add New --> Command or Script
3. Define multiple similar long commands.

OBSERVED RESULT
All commands look similar and their names cannot be edited.

EXPECTED RESULT
I should be able to tell them apart more easily, either by resizing the column or by having their names displayed instead of the commands themselves. The names would be preferable, as some commands are difficult to read, whereas names could be something easier to remember. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4 
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2024-08-11 16:17:12 UTC

*** This bug has been marked as a duplicate of bug 473163 ***