Closed Stav88 closed 2 years ago
Describe the bug After having configured a Keyord Shortcut, a search in the list is executed when the shortcut is used.
To Reproduce Steps to reproduce the behavior:
Expected behavior
I don't know what is the expected behavior if no "Keyboard Shortcut" is configured.
Linux Show Player version:
OS Version
Additional context The search in list can be disabled by overloading the method keyboardSearch in CueListView :
keyboardSearch
CueListView
diff --git a/lisp/layouts/list_layout/cue_list_view.py b/lisp/layouts/list_layout/cue_list_view.py index 8a190df8..dca8d07c 100644 --- a/lisp/layouts/list_layout/cue_list_view.py +++ b/lisp/layouts/list_layout/cue_list_view.py @@ -111,6 +111,10 @@ class CueListView(QTreeWidget): else: super().contextMenuEvent(event) + def keyboardSearch(self, search): + # disable scroll to letter match + pass + def keyPressEvent(self, event): self.key_event.emit(event)
but you may want to keep the behavior if the shortcut is not configured.
Thanks! I confirm for 0.5.x versions. The "develop" branch apparently is not affected by the same issue.
IMHO it's an unwanted behavior. Feel free to open a pull request with a fix for the master branch.
Describe the bug After having configured a Keyord Shortcut, a search in the list is executed when the shortcut is used.
To Reproduce Steps to reproduce the behavior:
Expected behavior
I don't know what is the expected behavior if no "Keyboard Shortcut" is configured.
Linux Show Player version:
OS Version
Additional context The search in list can be disabled by overloading the method
keyboardSearch
inCueListView
:but you may want to keep the behavior if the shortcut is not configured.