fossfreedom / alternative-toolbar Goto Github PK
View Code? Open in Web Editor NEWModern, minimal and music-focused interface for Rhythmbox
License: GNU General Public License v3.0
Modern, minimal and music-focused interface for Rhythmbox
License: GNU General Public License v3.0
one of the recent commits has managed to break the search function for different sources as well as hiding the secondary bar in sound-cloud.
Need to track down why.
Before I start on the actual design rationale I must say that I am totally unsure if this screen can be changed via a plugin and even if that's possible, if this plugin is the correct one to file a bug report to.
Now, having said that - I have noticed that the "Configure plugins" has really outdated design that looks bad and also breaks the Gnome HIG. I did a quick redesign of it that looks better and obeys the Gnome HIG:
Rationale:
If possible it should become a screen with a headerbar (perhaps even modal dialog if possible) and close button on the right of it.
You have the plugins names followed by plugins description below them on the left and on/off switches for enabling/disabling a plugin on the right.
Below the plugins pane you have inline toolbar with a button <preferences | about> on the right and if doable button on the right. The symbolics for the button on the right are standard ones - "preferences-system-symbolic" and "dialog-information-symbolic".
P.S.
I don't know how much of this is doable (for example the CSD and the remove button don't exists as functions in the current implementation), so I know that if implementation is doable it might not be possible to match the wireframe perfectly. I was also considering requesting "Search", but decided that this is bit over the top. This design is a common thing in Gnome as is in System Settings for example:
So, can this be implemented and if so, how much of it?
Now using xpad, ypad values of 5 - xalign, yalign values of 1 for the images in the button controls to pad the buttons.
from #17 the above creates deprecated warnings.
From glade cannot set these same values for a volume-control. So how do we pad the volume-control correctly now i.e. shouldnt really use xpad, ypad, xalign, yalign ?
as per the design spec, look at invoking a GtkPopOver containing the cover image when hovering over the cover in the playcontrol bar.
Note - the plugin is - and should remain - Gtk+3.10 compatible - thus any implementation must use the alt_rb3.py function to decide if the 3.12 or later is being used - fallback being as current to be a tooltip popup.
i'm using rhythmbox on debian, i don't have menu in the music player and as soon i enable your plugin, is just change i can not access anymore to the settings and plugin manager to change setting on this plugin and anything else, there is a shortcut to do that? o how can i fix this?
thanks
This is more of a papercut bug.
Here is a screenshot of the current rhythmbox with this plugin enabled:
Now here are the issues:
First off thanks for the plugin, makes RB look much better under gnome. Considering the plugin has gonna over some significant clean-up I figured it might be good to improve the screenshots on the README to reflect that. When taking them (with the gnome-screenshot /w drop shadow) I noticed the windows lack a border. Many of the gnome applications have a light grey border to make the window pop. Is this intentional? Below are some of the screenshots.
Notice the white border at the bottom:
Notice that this still has the border:
Which makes it pop over another window:
The reason the background window is not grayed out when a window is over it is because I individually overlayed them in GIMP, can't get the clean dropshadow with multiple windows. I'll fix that later plus I wanted to highlight the border issue.
Album version: http://imgur.com/a/IPNPg
I figured I would bring this up before doing a pull request with the new images, that is of course if you want them.
I'm wondering if sth can be done about that black stripe, separating the toolbar from the rest of the app? I've noticed that it's not there with the old (not gnome-shell) plugin and that it is there without the plugin. I hope you get what I mean.
The following is seen in a terminal on start-up:
(rhythmbox:18682): GLib-GObject-WARNING **: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version. (rhythmbox:18682): GLib-GObject-WARNING **: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version. /home/dad/.local/share/rhythmbox/plugins/alternative-toolbar/alttoolbar_type.py:158: Warning: The property GtkMisc:xpad is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui) /home/dad/.local/share/rhythmbox/plugins/alternative-toolbar/alttoolbar_type.py:158: Warning: The property GtkMisc:ypad is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui) (rhythmbox:18682): Gtk-WARNING **: Failed to set property GtkButtonBox.layout-style to : Could not parse enum: `' /home/dad/.local/share/rhythmbox/plugins/alternative-toolbar/alttoolbar_controller.py:158: Warning: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version. builder.add_from_file(ui) (rhythmbox:18682): Gtk-WARNING **: Failed to set property GtkButtonBox.layout-style to : Could not parse enum: `' (rhythmbox:18682): Gtk-WARNING **: Failed to set property GtkButtonBox.layout-style to : Could not parse enum: `' (rhythmbox:18682): Gtk-WARNING **: Failed to set property GtkButtonBox.layout-style to : Could not parse enum: `'
Under GTK 3.14 no real impact ... may change in a future version.
Some points,
Another inline label issue.
Inline labels are actually two labels - one song title, the second song artist.
In Sound Cloud - there are often no artists. Just the song title is filled - this leaves the whole displayed label slightly odd - the label is not centered (top label - no bottom label).
What is needed is a revision - when one or the other labels are not filled, the other label needs to be removed so that the space is taken by just one label ... and then would be automatically centered.
Not that I want to uninstall this plugin (it works pretty well :) but I thought it would be reassuring for users to have an uninstall script (for the conf schemas etc)?
The wireframe from above is pretty self explaining and sand the updates it should not be that hard to implement.
My idea about the updates is that it will only offer an update when there is version bump on github in the master branch. Of course this installer will only be for people that have grabbed the plugin from github and updates will also be handled by fetching from Githhub.
Updating is not a be all end all feature that must be implemented in the setup at all cost and can be delayed for later on or not be implemented at all. It would be to have it, but it is not really mandatory.
This design can be used for all your other plugins too.
The find option to toggle the visibility of the secondary toolbar might be a starting point here.
This pointer could mean that can actually move the secondary toolbar into the CSD.
Not sure though when & how the "secondary toolbar" that is now in the CSD should be activated i.e. flip back and forth between the main toolbar and the secondary toolbar.
Anyway - create this issue as a thinking point.
Hi!
I get an error when trying to enable alternative-toolbar from the plugins dialog. What am I missing?
(rhythmbox:1726): libpeas-WARNING **: Could not find plugin 'rb' for plugin 'alternative-toolbar'
I got the code from the master branch (commit 2dd420d) and installed it on Evolve OS beta 1.1 (https://github.com/evolve-os).
Thanks!
I'm not entirely sure on Podcasts being an online source. I get the logic behind it, but it just doesn't fit in with the others. Radio, Last.fm and Libre.fm (along with the others which are available via plugins) are all online streaming services. Podcasts on the other hand passively download from RSS whenever Rhythmbox is open so the content can be (and has to be) listened to locally.
For some reason the pause symbolic icon size is different size than 16px.
Here is a screenshot of it in the UI zoomed at 800%:
As you can see it looks blurry and that is visible at normal size too.
And here is a screenshot from the play button from the same box:
The icon itself is perfecty aligned to grid:
Hello @fossfreedom @me4oslav I have two translations for the CSDs
Lang = es / es_ES es_MX and many other
1.- Songs = Canciones
2.- Categories = Categorías
3.- Use = Usar
4.- Compact progress slider = Deslizador de progreso compacto
5.- Enhanced sidebar = Barra lateral mejorada
6.- Modern = Moderno
7- Use compact controls = Usar controles compactos
8.- Album/genre/year for playing song = album/genero/año para la canción en reproducción
9.- Playback controls = controles de reproducciónn
10.- Volume control = Control de volumen
11.- Tooltips on playback controls = Consejos en los controles de reproducción
12.- Restart = Reinicar
13.- Resume or pause playback = Continuar o pausar la reproducción
14.- Play the next track = Reproducir la siguiente pista
15.- Play the previous track = Reproducir la pista anterior
-- I did not understod the "Inline Song/Artist Label option so I have not translation to it in Spanish
I hope this could be usefull for you, If I find more to translate I will report it to you 😄
as per
lets look to using something similar to hold the display of coverart in compact view
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8141053-use-the-new-rb_header-recommendation-to-display-same-coverart-when-entry-changes?utm_campaign=plugin&utm_content=tracker%2F10046800&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10046800&utm_medium=issues&utm_source=github).There are two issues with the search box.
A) It should be toggable with Ctrl+F;
B) When it is shown it should look like this:
Just a box without text, which is selected by default, so after the users has clicked search / pressed ctrl+f he will be able to start typing in it without extra mouse clicks.
Both are Gnome HIG things.
Which as you can imagine creates issue when the window is resized.
The first screenie is RB with minimum window width. I think the window size width wise is OK, but the progress bar should be longer. The second is with wider window and as you can see, the issue is very prominent.
We need it to be responsive and go longer when the user makes the window wider.
And currently they appear in "other sources".
currently we hide the song and category buttons for sources that don't have "browse" capability
from fossfreedom/coverart-browser#359 (comment) this is apparently scary to people (!)
Thus - instead of removing those buttons - where a source doesnt have browser capability, these buttons should be actually disabled.
Once coverart issue 359 is implemented, the category button will be enabled for play-queue and music-library - these will enable the two new left hand-side header toggle options "list view and coverart view"
first of all thanks for all your work on this plugin. finally found a media player I like :)
However I've noticed some missing functionality when using the plugin with 'enhanced sidebar' enabled.
Without 'enhanced sidebar' enabled, you can add songs to your attached portable media player, by dragging and dropping songs from your library on to the media player icon on the sidebar.
With enhanced sidebar, dragging and dropping is simply not possible.
If i'm not mistaken, drag & drop is the only possible way to add songs to portable players in rhythmbox, so some users may need to keep the nicer sidebar disabled because of this.
from a G+ comment from @HEXcube, plugin icon toolbar need tooltips.
If we are a bit clever (dangerous I know) - we could reuse the rhythmbox strings so that we don't need to add more translation strings to launchpad.
Thus tooltips will use
Need to remember to remove _ chars as well as any strings such as (_x) from translated strings
Gnome HIG is very much pro tooltips, so I guess we should add tooltips to the buttons on the header and playbar. However, the tooltips should also be meaningful, so the user will not get a toolip saying "Previous" when (s)he hovers over the previous song button.
So, here are some tooltips that I came up with:
Play - "Resume the playback"
Pause - "Pause the playback"
Stop - "Stock the playback"
Previous - "Play the previous song from the tracklist"
Next - "Play the next song from the tracklist"
Shuffle - "Play the songs in random order"
Repeat - "Repeat the current song"
Search - "Search for music in the selected view"
Now let us discuss if this wording is fine and if it not - what changes are needed.
So, I've been thinking - I am pretty sure that most desktop environments out there has a volume control. This might actually be true for all DEs. And I am 100% sure that all DEs that support CSD have a colume control on their panel. This makes me wonder - is the volume button on the headerbar really needed?
The way I see it:
A) Creates clutter, because it is an extra UI element;
B) Dublicates the system volume control, which creates confusion in the users;
Hence I am suggesting removing it or making it optional, but disabled out of the box.
I've attached a screenie of the issue.
Here is the list of issues in it:
I know this is not a headerbar thing, but like I said - the brushing I am planning goes beyond the scope of the CSD.
Anyways, look at the this screenshot:
First - "Play queue" uses documents icon. It should use custom symbolic icon, because there is no queue one in the icon themes.
Second - "Import errors" misses an icon and it should use - "dialog-error-symbolic.svg" icon.
Third - "libre.fm" service icon is very similar to wifi logo, so it should use "network-wireless-symbolic.svg"
Fourth - "Radio" needs a custom symbolic icon, because icon sets don't come with radio symbolic icons. Using a server symbolic icon is really confusing. I can do one.
Fifth - playlists should not look a search symbolic icon, but custom icons for the three default ypes of playlists. I will do them. a playlists icon. Also - for user created list a playlist icon should be used. Alas for some odd reasons iconsets don't ship with such icon, so I will have to do a custom one.
If this plugin is activated, and if Rhythmbox's volume was not left at 100%, on each subsequent start of the application, the volume will be lower.
This can be seen by opening gnome-control-center's volume settings, going to the Applications tab, setting rhythmbox's volume slider slightly below 100%, then restarting rhythmbox a few times.
This is with GNOME 3.14, RB 3.1 and plugin version da08d53
coming out of #4 and other discussions, consider adding a repeat once function.
The method discussed in #4 to add an always on down arrow just doesnt work for me so not going to implement an always visible method.
Maybe consider looking at displaying a much narrower version of the drop-down when hovering over the repeat button - something like windows media player.
from #4 - consider using the standard GTKScale instead of the custom scrobble bar when using inline-label option
hover of the album art shows the large version of the coverart.
maybe better to consider making this a popover for GTK3.12+ users - likewise if clicking on the artist / song label then display a popover showing pictures of albums together with their track listing.
I just installed the small_toolbar branch and noticed the following issues:
When using Sound Cloud I noticed that many tracks have very large titles.
Using the combined progress bar - no issues - it copes nicely.
However, the inline label format - the progress bar can shrink to quite small sizes.
A couple of changes required.
Though Alternate Toolbar started as a simple plugin to change the toolbar a bit, it has now grown much beyond it's initial goal. In addition to the toolbar, the plugin can now change the sidebar, plugins config screen, position of progress bar, enable CSD, compact style and more. The plugin has completely overhauled the visual style of Rhythmbox. Since the plugin gave Rhythmbox a total cosmetic redesign, I feel it needs a rename.
Test case:
Because it can be really irky to click somewhere in order to deactivate something that activates with hovering over an element.
The player always starts with local collection expanded and online sources and playlists collapsed. It should remember which categories are left expanded and which collapsed on startup;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.