ccatterina / plasmusic-toolbar

KDE Plasma widget that shows currently playing song information and provide playback controls.
GNU General Public License v3.0
79 stars 8 forks source link

Suggestion: Option to "fill width" of panel #142

Open AuraHerreroRuiz opened 5 days ago

AuraHerreroRuiz commented 5 days ago

This widget has been for me an excellent replacement for the MediaPlayer+ Plasma 5 widget, but I would hugely appreciate an option for the widget to fill the width of the panel as MediaPlayer+ has.

My setup with the MediaPlayer+ widget was like this:

image

The widget was in the middle and it looked quite aesthetically pleasing as it was always centered, pushing the date and weather (in my case) to the left and all the system tray icons to the right, making it symetrical. The widget itself always pushed the media buttons to the rightmost edge, and the title and icon to the leftmost edge (with margins applied of course).

I can't do this with this widget, and trying to replicate the setup with spacers hasn't wielded good results, as the media button keep changing places with the songs text changing, messing up muscle memory of reaching towards them in the taskbar.

I'll provide some image examples:

Example with spacers:

image

This just centers the entire widget. When changing songs, the widget moves, being distracting and messing with muscle memory:

image image

Plus, the spacers don't do anything useful, while if the widget filled the entire width itself, You would have a great area to click and access it, or to use the scroll wheel for volume.

The widget in this state when no media is playing just disappears (as far as I can tell its width just becomes 0), so perhaps it could keep the width or show some "No media playing" text so it wouldn't move the other widgets in the panel around.

I would hugely appreciate this feature, even if it might be a bit nieche.

ccatterina commented 2 days ago

Hi @AuraHerreroRuiz, thanks for the suggestion, it seems a nice feature. In the next few weeks I'll make some tests.

The widget in this state when no media is playing just disappears (as far as I can tell its width just becomes 0), so perhaps it could keep the width or show some "No media playing" text so it wouldn't move the other widgets in the panel around.

Regarding this part I opened a separate issue https://github.com/ccatterina/plasmusic-toolbar/issues/143