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

            Bug ID: 452874
           Summary: Shortcuts - Import / Export to schema ( relating to
                    tags ) is not working as expected.
           Product: digikam
           Version: 7.6.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Tags-Manager
          Assignee: digikam-bugs-n...@kde.org
          Reporter: mr.dk...@gmail.com
  Target Milestone: ---

SUMMARY

Importing keyboard shortcut schema - does not work correctly, when related to
tag shortcuts.

Issue Summary:
1. If there are NO tags defined they will not import. (<-BAD)
2. When importing different tags, 
  A. Existing tags that match import are updated (<-Good )
  B. If tag exists but is not in import, they are not removed (<-Not sure of
expectation here, likely not expected)
  C. If the tag does not exist as a shortcut they are not created  (<-BAD)




STEPS TO REPRODUCE #1
1.  Create Tags
2.  Create Keyboard Shortcuts for each tag.
3. Go to "Configure Keyboard Shortcuts you should see the tags and the related
shortcuts.

Example
tagshortcut-1=1
tagshortcut-2=2
tagshortcut-3=3

4. Go down to "More Actions" -> Export Scheme
5. Default  ( Reset the short cuts to default ) 
6. Go down to "More Actions" -> Import Scheme
## Error here the tag shortcuts are not created / added back.


STEPS TO REPRODUCE #2
1.  Create 3 Tags
2.  Create 3 Shortcuts for each tag.
3. Go to "Configure Keyboard Shortcuts you should see 3 tags and the related
short cuts.

Example
tagshortcut-1=1
tagshortcut-2=2
tagshortcut-3=3

4. Go down to "More Actions" -> Export Scheme
5. Go back to the application and change the tag from one tag to another tag.
Example:
tagshortcut-1=1
to
tagshortcut-5=1

6. Go down to "More Actions" -> Import Scheme
## Error here the tag shortcuts are not updated as expected.



OBSERVED RESULT

If we export :

tagshortcut-1=1
tagshortcut-2=2
tagshortcut-3=3

but we import (different scheme):

tagshortcut-4=1
tagshortcut-5=2
tagshortcut-6=3

We would expect 

tagshortcut-1=1  <-- Shortcut-1 is not updated to Shortcut-4 as expected.
tagshortcut-2=2
tagshortcut-3=3


EXPECTED RESULT

If I export :

tagshortcut-1=1
tagshortcut-2=2
tagshortcut-3=3

but import:

tagshortcut-4=1
tagshortcut-5=2
tagshortcut-6=3

We would expect 

tagshortcut-4=1
tagshortcut-5=2
tagshortcut-6=3


ALSO :

If we import 
tagshortcut-1=1
tagshortcut-2=2
tagshortcut-3=3
tagshortcut-4=4   <- We would expect to be able to assign more then only 3 hot
keys to tag shortcuts.




SOFTWARE/OS VERSIONS
Edition Windows 11 Pro
Version 21H2
Installed on    ‎2021-‎10-‎16
OS build        22000.613
Experience      Windows Feature Experience Pack 1000.22000.613.0

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

Reply via email to