Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return keyboard shortcut makes [Playlist], ToggleSelectedSidebarItem stop working #7061

Closed
mixxxbot opened this issue Aug 22, 2022 · 6 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: uklotzde
Date: 2013-05-30T18:13:38Z
Status: Fix Released
Importance: Medium
Launchpad Issue: lp1185926
Tags: 1.11, controls, midi, playlist


My Vestax VCI-300 controller script maps the following [Playlist] controls to buttons:

  • SelectNextPlaylist
  • SelectPrevPlaylist
  • ToggleSelectedSidebarItem

When starting Mixxx the SelectNextPlaylist/SelectPrevPlaylist can be used for sidebar navigation. But after toggling a sidebar item with ToggleSelectedSidebarItem all those engine controls become unusable. I've verified that the values are correctly set by the controller script, but the engine doesn't recognize any further value changes.

I think those controls worked in the development versions for 1.11, but there seems to be a regression in the 1.11 release version.

OS used for testing: Ubuntu 13.04 64-bit

@mixxxbot
Copy link
Collaborator Author

Commented by: carl-barimore
Date: 2013-06-05T22:55:18Z


I've noted the same behaviour when using a Numark DJ2Go with the bundled Numark DJ2Go mapping (which also uses those three controls).

The three controls all work fine in 1.11 development builds up to bzr3821 (14 April). From bzr3836 (23 April), ToggleSelectedSidebarItem no longer works.

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2014-03-24T22:14:39Z


I'll take a look.

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2014-03-25T17:13:17Z


Ah -- Ok. So I think this was caused by introducing keyboard mappings for Return.

revno: 3823
fixes bug: https://launchpad.net/bugs/1121096
committer: RJ Ryan <email address hidden>
branch nick: 1.11
timestamp: Tue 2013-04-16 23:48:32 -0400
message:
  Add jus's patch to add PreviewDeck to keyboard shortcuts. Fixes Bug #1121096

The toggle-selected control works by faking a Return press on the sidebar widget.

I don't have an explanation for why select-next/prev would stop working after that, but I can confirm that after removing the keyboard shortcut toggle-selected starts working again.

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2014-03-25T17:15:20Z


A workaround is to fake a Left or Right press to to close/open, since we don't have shortcuts for those :P.

But LibraryControl should probably just not fake keyboard presses.

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2014-03-25T17:28:40Z


Fix committed -- do not fake a Return to toggle a keyboard shortcut.

If Up/Down are ever assigned to a keyboard shortcut then next/prev sidebar item will break.

38684da

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 2.0.0 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant