Skins :: separate play button / play_indicator + related improvements#2619
Skins :: separate play button / play_indicator + related improvements#2619daschuer merged 8 commits intomixxxdj:masterfrom
Conversation
This aims to prevent play/play_indicator update issues with various cue modes.
This aims to prevent incorrect play/play_indicator updates with various blinking Cue modes.
To be used in minimal decks where there's only a Play button with cue_default right-click connection.
* use Pause icon when playing * use group,play as indicator instead of play_indicator
|
@Be-ing Could you please try to reproduce the indicator update hickups with this branch? |
| <SetVariable name="display_connection_control"><Variable name="group"/>,play_indicator</SetVariable> | ||
| </Template> | ||
| <WidgetGroup><!-- Play button + play_indicator --> | ||
| <Layout>stacked</Layout> |
There was a problem hiding this comment.
Hmm, this is an interesting hack but I suspect there is a bug in WPushButton or in the engine's handling of play or play_handling at the root of this...
There was a problem hiding this comment.
yeah, but maybe it's simply indicator confusion for buttons with two connections affecting the displayValue. now the Play button has only one connnection.
|
This now conflicts with master. |
|
Conflicts resolved. |
|
@Be-ing Does this fix the issue for you? Shall we merge? |
|
It looks like this PR works around a widget bug. I am struggling to follow the discussion and understand what is the main issue fixed by the stacked layout. I like to dig for the root cause. Can you add a step by step guide, what to do to reproduce the issue, what is shown, |
|
I can't reproduce this anymore, just experinced this once. However, the changes proposed here solve some styling issues: So I recommend to merge this regardless of the CO issue. |
daschuer
left a comment
There was a problem hiding this comment.
LGTM, issue in Deere with toggling play and pause icon is fixed.
|
@Be-ing Does this fix https://bugs.launchpad.net/mixxx/+bug/1856937 for you? |
|
Does this also fix https://bugs.launchpad.net/mixxx/+bug/1855620 |
This aims to prevent update issues with
play/play_indicatorbuttons when using blinking Cue modes (see #2342 (comment) and below): the Play buttons would sometimes not update correctly because they had 3 connections attached (play,play_indicator,cue_xx)Also they blinked like pressed / unpressed in LateNight which was confusing, or at least inconsistent.
Furthermore this unifies the Sampler play buttons.
play(left click) andcue_set(right click) connectionplay_indicatorconnection, used to signal Cue mode blinking and previewing from Cue/hotcuesplay_indicatorconnection from samplers' Play button:IMO it's distracting to have loaded samplers blink all the time with blinking Cue modes
cue_defaultin all skins to have a way to return to the Cue point. Overview hotcue icons,playandcue_defaultsuffice to prepare a deck; for more detailed preparation we have the regular decks & waveformsplay_cue_defaulttooltip, use it for minimal decks' Play buttonIdea: