-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Skins :: separate play button / play_indicator + related improvements #2619
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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_indicator
buttons 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_indicator
connection, used to signal Cue mode blinking and previewing from Cue/hotcuesplay_indicator
connection from samplers' Play button:IMO it's distracting to have loaded samplers blink all the time with blinking Cue modes
cue_default
in all skins to have a way to return to the Cue point. Overview hotcue icons,play
andcue_default
suffice to prepare a deck; for more detailed preparation we have the regular decks & waveformsplay_cue_default
tooltip, use it for minimal decks' Play buttonIdea: