-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Implement optional looping for animated boot logo [#1839] #1841
Conversation
@ia |
I was thinking about that too. Well, yes and no. "Duration" just becomes not only as how much in seconds as in "1s...4s" but as how much in times, i.e. show only one time or show infinite amount of times (kinda duration). I understand it may not sound smooth but reworking settings, menu items, text & translations just doesn't cost the effort of this little GUI feature (which a user will see only once on start-up) in my opinion. 👉 👈 That's why I tried to make this little feature as less invasive as possible but, yea, even with such little things the more you work on them the more nuances are coming up on the surface. |
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.
Edit: removed old comment - mis-read the code.
We still need to support timeouts + loop options here.
I would suggest keeping the timeout in seconds but having two infinite settings "infinite-hold" and "infinite-loop"
Can probably use a custom logo for these to distinguish these on the UI similar to the repeat-all and repeat-one icons people use for music playback?
Timeouts are not going anywhere, it's still supported. I just did double-checked it now.
But if I understand you correctly, that's how exactly it works now. Okay, just in case, so all of us could be on the same page (me included so I wouldn't confuse myself) here is the brief table for this option as it's implemented in this patch already:
I think it's reasonable set of options/behavior and it shouldn't break any previous settings existed for this option (except that now infinity means "infinite animation for animated logo"). At the same time I hope there won't be demand for the case like "I want to see animation in loop but only for 4 seconds" because I suppose it doesn't make much of a sense since duration of animated logos (at least most of those which are pre-rendered in the meta repo) which I took for tests is just about 2-3 seconds.
However, this is what I really would like to avoid somehow not to:
That's why for Proof-of-Concept patch I just picked "1" as in one-time. It could be a good compromise, if someone would give me a hint what exactly most suitable chars/numbers/logos which are already in the firmware can be combined & reused to be drawn as a setting for one-time animation. One of the most obvious things to try first is something like "1∞" if "1" is not good enough. :D
Funny that you mentioned that since it flashed in my head while I was testing this patch on the device changing the related setting. That's why I picked "1". And just like in a music player, whether you repeat a playlist with one track or one track from playlist with one track, the result is the same just like if we have one frame of static image so 1/inf may be confusing a bit at first but I hope there is some sense in it - whether we roll one frame of static image one time or indefinitely, the result is the same. :) |
I had something similar in mind, 😀 but was not sure because of the fact I mentioned above. Maybe I'll post a sketch later, when I am back home. |
Experimented a bit with the infinity icon. Plus decided to check if will it be look like repeat circle but without an arrow if I just slice its pixels in half. Decide yourself. I think this is the best suggestions which I can come up with so far. Sorry for the horrible photo quality though but I hope you got the idea. Should I commit any variant in case if someone is interested in testing particular one? |
First of all, thanks for the help with this. Second, sorry for a delayed response because for some reason I didn't get any notification on this pull-request there - just by accident noticed pull-request when manually went to web page with my fork on github. Was going to respond you there but doing it here as main place for discussion & feedback.
Third, I really like 1+inf logo... but don't you think that the other one with repeating circle with arrow has redundant information? Infinity by its logo means that it's infinite but with the repeat sub-logo it looks like we're repeating infinity? I mean, since we're changing logo(s) anyway and since you're so good & fast in this, maybe we should try something different for both? And to continue parallel with music player, would it be hard for you to make another two:
Or am I too picky? Sorry to bother. But, as a compromise, how about this then:
|
Okay, it seems we're done here. But let me know if something must be changed and/or updated on my side. P.S. I really do sincerely enjoy teamwork with you every time, people! 🙏 |
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.
Thanks for your work on this ❤️
What kind of change does this PR introduce?
Implementation of [optional] looping for animated boot logo. Related feature request is here.
What is the current behavior?
If the boot logo is animated & the option is set to infinite, then animation showed only once.
What is the new behavior (if this is a feature change)?
If the boot logo is animated & the setting is to infinite, then animation is being shown on repeat until a button press. To set "old" behavior, use "1" option value (as in one time) for the animation setting in the menu. No changes for static logo: both "1" and "infinity" options do the same for a static logo as before.
Other information:
All builds & autotests has been successfully (local runs). Tested only on
TS80P
real hardware. Seems working. In addition to the main request, tried to improve readability of related sections. As always, can't wait any feedback.