Bug 459714 - Media controller widget with "song name" uses more much horizontal space with no option to return to previous size
Summary: Media controller widget with "song name" uses more much horizontal space with...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player (show other bugs)
Version: git-stable-Plasma/5.26
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
: 460479 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-26 22:17 UTC by Lucas
Modified: 2022-10-19 14:49 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Media widget shows the media title. (28.10 KB, image/png)
2022-09-26 22:17 UTC, Lucas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas 2022-09-26 22:17:32 UTC
Created attachment 152448 [details]
Media widget shows the media title.

SUMMARY

This is an undesired change in behavior I noticed in Plasma 5.25.90. The new media controller widget has completely changed its appearance and uses too much horizontal space after [this change](https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1892) was introduced.

STEPS TO REPRODUCE
1. Add a Media Player widget.
2. Play a song/video.

OBSERVED RESULT

Media widget shows the title of the media being played (attached).

EXPECTED RESULT

Expected the old compact clickable button without text, or at least an option to change the introduced behavior.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-09-27 16:08:30 UTC
When located on a panel, this is intentional. If you want the old behavior back, show the Media Player widget in the System Tray, where the old behavior persists to save space.

If that doesn't work for you, can you explain why?
Comment 2 Fushan Wen 2022-09-27 17:35:58 UTC
Bringing back the old behavior is easy. You just set isVertical to true in https://invent.kde.org/plasma/plasma-workspace/-/blob/164c1123fd0a4d8a5c9b9d004476da1932098fc7/applets/mediacontroller/contents/ui/CompactRepresentation.qml#L22

But the question is why you need to add the old media controller to your panel. The old media controller is just a plain icon that can only indicates the playback status.
Comment 3 Bug Janitor Service 2022-09-28 14:42:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2176
Comment 4 Fushan Wen 2022-09-29 04:19:00 UTC
Git commit 5e3598661b051b68bc62de410b3ef4cdc8bc32a4 by Fushan Wen.
Committed on 29/09/2022 at 00:13.
Pushed by fusionfuture into branch 'master'.

applets/mediacontroller: add vertical layout to compact representation

Two additional layouts are introduced in this change. One is
VerticalDesktop, which will show album art and song title and/or song
artist from top to bottom. The other is IconOnly, which will only show
the album art. Other layouts already exist before this change.

M  +122  -11   applets/mediacontroller/contents/ui/CompactRepresentation.qml
M  +2    -2    applets/mediacontroller/contents/ui/ExpandedRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/commit/5e3598661b051b68bc62de410b3ef4cdc8bc32a4
Comment 5 Bug Janitor Service 2022-10-14 04:54:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Antonio Rojas 2022-10-15 15:11:14 UTC
*** Bug 460479 has been marked as a duplicate of this bug. ***
Comment 7 Riccardo Robecchi 2022-10-15 16:19:20 UTC
In my case, I like to put widgets on the panel as I can arrange them in order I want and they are separated from the tray, so I have a physical separation that also represents a conceptual separation (widgets are to interact with the system, the tray is to interact with programs). So having the widget sit in the tray is not really convenient, nor is to have it take a whole lot of space on the panel. The "classic" media player widget works perfectly well and requires no change to fit in this use case.
Comment 8 Fushan Wen 2022-10-19 14:49:40 UTC
Reason seems reasonable