Fix play indicator visibility during play state#3343
Fix play indicator visibility during play state#3343daschuer wants to merge 1 commit intomixxxdj:2.3from
Conversation
|
I implemented the 'preview indicators' to indicate that pressing the Play button then would engage regular playing, and in the last years there were no complaints about it, also I don't think we should refer to CD players for our UX. Pressing physical buttons on devices is an entirely different thing that a software with various possibilities to preview (cue/hotcue in GUI and on controllers). That said, I'd like to the keep the preview indicator, though it needs to be refined. |
|
Btw the preview state is still locked when right-clicking while pressing a hotcue. |
Ah sorry, thought #3344 was laready merged. |
|
The preview indicator is still there due to the toogled icon. In 2.2 the play button is dark during cue preview and it is lit as a feedback when latching the play. The Cue/Play/Pause button should behave exactly like the connected hardware and the Cue behaviour taken form CD Players selected in the preference. We have the "play" CO that is is 1 during play AND preview. And we have the "play_indicator" CO that was invented to control the Play button LEDs.
We can do it, but I don't like it. But this is a design topic that we can decide per skin. The underlying issue is that we have no clear CO states to easy implement it. In this PR, "play" controls only the play/pause Icon with a transparent background and the color of the button is controlled by "play_indicator" just like on hardware. Controlling the whole play button by the display connection looks odd in case of blinking mode and toogling icon. |
That only works in Deere regular decks and Tango (black icon though), LateNight mini decks, LateNight compact decks and in all except Deere it's not very helpful as it uses dark icons which are almost invisble with the defaut background. We should have a consistent solution in all skins. |
|
Thank you. |
|
@daschuer That way we get
= reliable feedback:
Is it feasible for for 2.3? Apart from that, we still have the following issues with this PR / 2.3 (tested with LateNight):
|
|
I am a bit in doubt if that is worth the work, facing the other issues we have bicking the 2.3 release. But anyway, let's have a look. I think the least hacks solution would be a state full play indicator that has different "value" for every on and off state. This way there would be no need to use hard to maintain widget stack hacks for the play button. |
|
Pioneer mode has a blinking play button during preview. |
|
Can't we add the preview indicator to the pause icon in the same color of the lit play button? |
|
Crazy, I have just found this tutorial showing the https://youtu.be/RK2fPaqTNMc |
I thought that's what was causing the confusion because it looks exactly like when playing? we have Yes, that seems more reasonable than connecting to |
Yes exactly. Currently with this PR we have the preview state already, Play Icon + Pause Background. There is room for improve this.
I am pretty sure that it is working from the c++ side. I can imagine that there is an update issue with the other states like hover in qss. It would be nice If we find out exactly under which condition it can be reproduced.
The idea was a "play_indicator_ext" or something This way we can use a style for every state separate in a single widget. With the proposed additional preview_indicator Here we can use three playbuttons and exchange them according to play and preview_indicator and have also 6 states. So I think your Idea is more flexible and is less work, let's go for it. |
|
I am not sure adding a new CO for this is a great idea. Will that break old controller mappings which expect |
|
The play_inducator will remain in any case. |
|
Won't controllers' play buttons be out of sync with the skin if there is a new CO introduced? |
|
This is up to the skin designer. |
Why not go back to this? |
Because the changing play/pause Icon during blinking locks odd on buttons where we don't have both. This PR goes back to the 2.2 where possible and keeps the Icon. So from this point of view we can merge this here. @ronso0 likes to have an improved preview feedback, this can be implemented using a new "preview_indicator" CO. |
|
IMO the real issue here is that Even though I agree that a 6-state I added |
According to the CD player templates, the play button should stay dark during cue preview.
When you hit play the play button lit to acknowledge the latched state.
This fixes a regression from #2619
A minor remaining issue is that the play button icon changes to pause during preview.
We can "fix" this only by introducing a state-full new play_indicator cluttering the CO interface.
This is not worth the work IMHO.