Return keyboard shortcut makes [Playlist], ToggleSelectedSidebarItem stop working

Bug #1185926 reported by Uwe Klotz
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Medium
RJ Skerry-Ryan

Bug Description

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

Revision history for this message
Carl Barimore (carl-barimore) wrote :

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.

jus (jus)
tags: added: midi
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 1.12.0
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

I'll take a look.

Changed in mixxx:
assignee: nobody → RJ Ryan (rryan)
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

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.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

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.

summary: - [Playlist] control values are not recognized
+ Return keyboard shortcut makes [Playlist], ToggleSelectedSidebarItem
+ stop working
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

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.

https://github.com/mixxxdj/mixxx/commit/38684dacf1987afc61f81263ca358d57c0a580f2

Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7061

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.