-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add volume slider #529
Add volume slider #529
Conversation
This is different from the design I showed off at #77 earlier today. Mainly, the volume slider is fixed size and embedded right into the control widget. Thoughts? |
I would try and move it a bit to the left so that the music icon and the volume slider are on each side of the playback controls with. |
@OKPersson I agree with you. I sampled some designs from other media players, such as Amberol and Spotify and they both have two "rows" of controls so everything fits together. Also, I wouldn't mind restructuring the player controls/player widget to use that 2-rows design. |
Answering here for the sake of relevance: Yes, I would love that too. I'm a bit cautious of changing the layout, though, so let's wait for other contributors to weigh in :) |
Ok, so this is my second iteration of the design. Since the lower bar is quite a bit bigger, I had to also scale the album image to fit better, though I think it's too big. Also, I want to put a speaker icon before and after the slider for better looks. I asked a friend for feedback and they suggested enlarging the player controls to fill the whole bottom (unrelated to this, but did that in a separate branch if you're interested) and replacing the timestamp with the slider. Thoughts? |
I would prefer to mix both ideas and use a spotify-like scheme for desktop and a popover slider for the mobile view. The revealer does sound good, but I will need some guidance on how to use GtkPopover properly because I'm always messing it up lol |
Doesn't GTK have a class specifically for that? |
Thank you, it seems to be exactly what I was looking for. Also, which layout do you prefer? |
Hi! have you been able to look at the GtkVolumeButton? ping me if you need a review otherwise I'll hold off from it for now! |
Will look into it. Good to know something like it exists :)
Sure |
Any chance we can add a volume slider in the settings if we can't cut the knot on where it should be located on the player? |
Actually, would you mind to take it over from me? I don't have the time to work on it but I can review. In the end, the design is not what matters most, but the functionality. |
Re-started work on this. Rebase was successful, however I need to migrate from those pesky .ui xml files to the more elegant blueprint files :) |
By the way, GtkVolumeButton is deprecated. Not sure why. |
69f21ae
to
7215bb9
Compare
This also depends on #684 to fix ci errors |
I aggree, but I think it wouldn't look as good in a mobile view, though. |
Hopefully we can fully close #77 now