[systemsettings] [Bug 345807] New: multiple hotkey settings written into kdeglobals cause hotkeys unusable

farseerfc at gmail.com farseerfc at gmail.com
Thu Apr 2 16:01:49 BST 2015


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

            Bug ID: 345807
           Summary: multiple hotkey settings written into kdeglobals cause
                    hotkeys unusable
           Product: systemsettings
           Version: 5.2.2
          Platform: Archlinux Packages
               URL: https://www.youtube.com/watch?v=kzf-_sGWx-0
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kcm_standard_actions
          Assignee: unassigned-bugs at kde.org
          Reporter: farseerfc at gmail.com

By applying "default" hotkey settings for multiple times, the file 
~/.config/kdeglobals will contain multiple hotkeys for each action in the
"Shortcuts" section, which result to shortcuts be unusable in qt5 applications
such as kate.

By deleting the whole "Shortcuts" section in ~/.config/kdeglobals , the
function of shortcuts will recover in the said applications.

I record a video to demonstrate this bug (sorry for using the Chinese locale):
https://www.youtube.com/watch?v=kzf-_sGWx-0 

Reproducible: Always

Steps to Reproduce:
1. Open systemsettings5, Shortcuts, Application Keyboard Shortcuts
2. Click "Default" button in the bottom, and then click "Apply"
3. Go back to overview
4. Repeat steps 1~3 for 2 times
5. Open Kate
6. Press Ctrl+O

Actual Results:  
A Dialog says:
The key sequence 'Ctrl+O' is ambiguous. Use 'Configure Shortcuts'
from the 'Settings' menu to solve the ambiguity.
No action will be triggered.

Expected Results:  
"Open File" dialog should be opened.

Look into the "Shortcut" section in "~/.config/kdeglobals" file, it will
contain settings like this (part of the file):
Close=Ctrl+W; Ctrl+Esc; Ctrl+W; Ctrl+Esc; Ctrl+W; Ctrl+Esc; Ctrl+W; Ctrl+Esc
Copy=Ctrl+C; Ctrl+Ins; Ctrl+C; Ctrl+Ins; Ctrl+C; Ctrl+Ins; Ctrl+C; Ctrl+Ins
Cut=Ctrl+X; Shift+Del; Ctrl+X; Shift+Del; Ctrl+X; Shift+Del; Ctrl+X; Shift+Del

>From my understanding, the settings should NOT append after each line, instead
it should overwrite the existing settings.

By removing these lines, the shortcuts function recovered in kate.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list