toggling maximized library swaps focus between tree view and tracks table

Bug #1472705 reported by Raf Van De Meirssche
2
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
ronso0

Bug Description

When I maximize the library, for me that is because I will be scrolling up and down the list.
However, focus is moved to the search box and I have to move focus back to the track list first.
Shouldn't focus be set to the track list immediately?

Strangely ...
When focus is on the library sidebar, it seems to generally go to the track list correctly.
When focus is on the tracklist, it always skips to the searchbox.

Please also note that, for sake of conformity, I would keep the same logic also when restoring.

Build 1.12-r5481
Windows 7 Home premium 64-bit

[Windows 7 Professional 32-bit not verified]
[Ubuntu 14.10 not verified] --- CORRECTION: Ubuntu 14.04

description: updated
Revision history for this message
Ferran Pujol (ferranpujol) wrote :

This is not exactly a duplicate. We fixed Bug #1462061 and now when the library is maximized the focus switches to the library tree instead of the search box. Anyway, the user can't keep navigating through the tracks with the keyboard unless he/she hits tab once.

Revision history for this message
Owen Williams (ywwg) wrote :

It sounds like the previous fix wasn't really a fix. If we fix this new problem, we should probably roll back that other change to keep tab selection consistent with previous versions.

Revision history for this message
Takeshi Soejima (sohet) wrote :

At this moment (github master), the focus still moves unintentionally between main library view and library sidebar when toggling maximize_library. Tango skin shows it clearly.

Revision history for this message
ronso0 (ronso0) wrote :

yes, this bug is still valid.
right now, only in Shade the focus is static as Sahde loads a single library.
In all other skins we load the library as a Singleton:
1) library normal: [decks, effects, ...] + library Singleton #1
2) library maximized: library Singleton #2.

IDK why it was like this.. I adapted to it with Tango and LateNight redesign.
I'll try to simplify this in my current skin PRs
https://github.com/mixxxdj/mixxx/pull/1799
https://github.com/mixxxdj/mixxx/pull/1800
https://github.com/mixxxdj/mixxx/pull/1801

Revision history for this message
ronso0 (ronso0) wrote :

now I recall why we need the library Singleton (learned it the hard way, again):
it lets the library grow/shrink correctly when the stacked waveforms splitter is resized.
I don't see a way to fix this from the skin side.
sorry for the noise.

summary: - when maximizing library, library looses focus
+ toggling maximized library swaps focus between tree view and tracks
+ table
Changed in mixxx:
status: New → Confirmed
Revision history for this message
ronso0 (ronso0) wrote :

however, the scroll position is kept both in tree and tracks table.

Revision history for this message
ronso0 (ronso0) wrote :

In LateNight the focus stays on library (but jumps between tree & table).
There we use a WidgetStack to toggle maximized libary.

In Tango & Deere the focus is removed from the libary.
There we use WidgetGroups with a "visible" connection.

Shade doesn't have that problem at all (no splitter, no Singletons)

Can this be fixed for 2.2 in C++?
Or should I modify Tango & Deere so that they also at least keep any focus on the library, instead of removing the focus completely and leaving the user in a somewhat vague situation that can be clarified by trial-and-error only (press Tab)?

Revision history for this message
ronso0 (ronso0) wrote :

related: lp:1673196

Revision history for this message
ronso0 (ronso0) wrote :

with 2.2 I noticed something with Deere skin:
* focus the tracks table
* toggle skin settings menu (open or close doesn't matter)
> focus jumps to tree

* focus tree
* toggle skin settings menu (open or close doesn't matter)
> tree is unfocused for an instant

Revision history for this message
ronso0 (ronso0) wrote :
Changed in mixxx:
importance: Undecided → Low
assignee: nobody → ronso0 (ronso0)
milestone: none → 2.3.0
tags: added: library skin
tags: added: usability
ronso0 (ronso0)
Changed in mixxx:
status: Confirmed → Fix Committed
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/8140

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.