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

            Bug ID: 472611
           Summary: the key sequence is ambiguous by assigning shortcut to
                    'hide file toolbar' & 'hide brushes and stuff toolbar'
    Classification: Applications
           Product: krita
           Version: 5.1.5
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Shortcuts and Canvas Input Settings
          Assignee: krita-bugs-n...@kde.org
          Reporter: raddlo...@gmail.com
  Target Milestone: ---

SUMMARY
When assigning shortcuts, when i assign a shortcut to: (it does not matter what
shortcut is used)
- hide file toolbar: ctrl+1 
- hide brushes and stuff toolbar: ctrl+2

it works like expected.
but after restarting krita it will give an error message: 

"the key sequence 'Ctrl+1' is ambiguous. Use 'Configure Keyboard Shortcuts from
the 'Setting' menu to solve the ambiguity. No action will be triggerd". Which
implies there is a conflict with double assignment of a shortcut but this is
not the case.


Steps to reproduce:

step1:
    state of krita
    - hide file toolbar: none 
    - hide brushes and stuff toolbar: none

    - assign file toolbar: ctrl+1 
    - assign brushes and stuff toolbar: ctrl+2

    expected result matches observed behaviour: hide & show with shortcut

step2
    - restart krita

step3
    action; press ctrl+1 or ctrl+2
    observed behaviour: the ambiguity error message

    changing it to an unused key works normaly.

step4
    unassign ctrl+1 & ctrl+2 (both set to none)

    action; press ctrl+1 or ctrl+2
    observed behaviour: as if ctrl+1 or ctrl+2 are still assigned

step5
    restart krita

    action; press ctrl+1 or ctrl+2
    does not do anything as expected

step6
    assign ctrl+1 & ctrl+2
    action; press ctrl+1 or ctrl+2

    works as expected


so I conclude, the ambiguity is an ambiguity with itself bij somehow emit
ctrl+1 twice when restarting while a shortcut is assigned. This would explain
why changing it to an unused key, it works like expected.

greetz Rad


KDE Plasma:  5.27.6
(available in About System)

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

Reply via email to