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

[Library] MoveVertical and Focus when Mixxx windows is not focused #9294

Open
mixxxbot opened this issue Aug 23, 2022 · 5 comments
Open

[Library] MoveVertical and Focus when Mixxx windows is not focused #9294

mixxxbot opened this issue Aug 23, 2022 · 5 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: kazakore
Date: 2018-05-16T15:45:23Z
Status: Confirmed
Importance: Low
Launchpad Issue: lp1771611
Tags: controllers, library


When using [Library] MoveVertical it only works if the Mixxx window is the one that has focus (main application window, not sub-panes.)

Using additional software alongside standard DJing although maybe not entirely the norm is one of the more basic ways to expand your DJ set. This may be having sampler software with a drum kit of a soft synth to play keys over sections of your performance, for just some basic examples (or more advanced incorporating Mixxx in a true live set if your material is lacking enough for a full set.)

Strangely checking the terminal when launched with --controllerDebug shows it as considering the command to be an Up/Down key press when Mixxx is in focus, but to be a Tab key press when it is not (although it doesn't change which pane has focus like pressing Tab would do.)

So can we please have this MIDI control work no matter what application window is in focus by the operating system. It works for all other controls. I'm hoping it may be related to a Global Focus and be fixable by the addition of a Library Focus, which could also fix my comment on the bug below.

....

Semi-related bug:
https://bugs.launchpad.net/mixxx/+bug/1673196

It would definitely improve things with that if there was a separate Library Focus that was restricted to the Library panes, so clicking on a control you don't have on your controller (probably a very common occurrence for some) would not lose your focus for library navigation, requiring you to click in the Library pane again or press Tab twice to return to it.

@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2019-09-17T10:03:05Z


The [Library]..MoveVertical is sending emulated key presses to the sidebar or trackstable, depending on what has focus. The Tab key in the log is sent by setLibraryFocus() in librarycontrol.cpp to re-focus the tracks table whenever a Track select knob is turned while another widget has focus.

There are also the [Playlist] controls that don't need the affected widget to be focused:
https://www.mixxx.org/wiki/doku.php/mixxxcontrols#playlist

At least [Playlist],SelectTrackKnob works with unfocused Mixxx window.
Maybe we can improve [Playlist],SelectPlaylist to work this way, as well.

@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2019-09-17T11:06:55Z


It seems [PLaylist],SelectPlaylist is broken:

Warning [Controller]: ControlDoublePrivate::getControl returning NULL for ( "[PLaylist]" , "SelectPlaylist" )

@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2020-03-12T16:45:26Z


Partially fixed by #2307
"keep the library focused when any deck controls or the overview are clicked"

@mixxxbot
Copy link
Collaborator Author

Commented by: Be-ing
Date: 2021-11-13T23:07:39Z


Was this fixed by #4369 ?

@mixxxbot
Copy link
Collaborator Author

Commented by: ronso0
Date: 2021-11-14T00:45:41Z


Nope.

@mixxxbot mixxxbot transferred this issue from another repository 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