<Nextcontrol> in <WidgetStack> behaves strange when used with skin templates

Bug #1394354 reported by jus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Invalid
Low
Unassigned

Bug Description

Give up trying, might be a bug.

I want to use a Widgetstack (http://mixxx.org/wiki/doku.php/creating_skins#widgetstack).
and connected a <Pusbutton> to the <WidgetStack> <Nextcontrol> to flip to the next page of the stack.

It all works as expect, AS LONG as the <Pushbutton> connected to the <Nextcontrol> is within the same xml.

I tried to call the <Nextcontrol> , that is within a <Template>, from another xml file.
While calling the different pages of the stack directly works, the <Nextcontrol> wont work.

Interestingly, if you add another empty <Widgetstack> with just the triggers from the other <Widgetstack> in the xml file that has your <Pushbutton> , it works.

Looks complicated, but is easily reproducible with Deere @ current master.
Add a pushbutton to the "tool_bar.xml" and try to hide "deck_visual_row.xml" & "deck_controls_row.xml" by adding an widgetstack for the alternative view mode to "deck_left.xml".

Tags: skin
RJ Skerry-Ryan (rryan)
Changed in mixxx:
milestone: none → 1.12.0
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Hm, seems to be working fine for me -- I tried the attached patch.

Result: hitting next replaces the text row (which displays by default) with the controls row. Next again jumps back to the text row.

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → Low
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Any repro tips?

Revision history for this message
jus (jus) wrote :

There was probably a misunderstanding on my side how <Nextcontrol> work.
Mixed it up with the trigger attribute. Thanks for looking at it.
Closing.

Changed in mixxx:
status: New → Invalid
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/7664

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.