Bug 452436 - Horizontal spaces between the edges of the Media Player applet and its contents are inconsistent
Summary: Horizontal spaces between the edges of the Media Player applet and its conten...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-09 14:29 UTC by Patrick Silva
Modified: 2022-04-10 16:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (140.13 KB, image/png)
2022-04-09 14:29 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-04-09 14:29:25 UTC
Created attachment 148071 [details]
screenshot

STEPS TO REPRODUCE
1. play a video without an embedded cover art with VLC player or another player controllable with Media Player applet
2. click on Media Player applet in the system tray
3. 

OBSERVED RESULT
as we can observe in the attached screenshot, the horizontal spaces between the borders of the applet and its contents are inconsistent. The space between the left edge and the contents is larger than the space between the right border and the contents.

EXPECTED RESULT
consistent space between the borders of the applet and its contents

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-04-10 16:21:03 UTC
I think this is the expected layout. The content area is divided in half vertically, with album art in the left pane, and the text in the right pane. In the case where there is no album art, we show a placeholder icon for the app itself instead. This icon is centered in its pane.

There isn't a way to have consistent margins with such as layout, as we would need to do one of the following things:
1. Stop centering thre placeholder app icon and move it all the way over to the left. This would look much worse.
2. Blow up the placeholder app icon to a huge size to make it match the horizontal size of the text This would also look much worse.
3. Make the text margins match the small size of the app icon. This would make the text unreadable.

We could change the layout completely to avoid this issue entirely, but that would be a big design change that would have to be carefully thought out to avoid introducing further issues. So I don't think there's anything we can do here, sorry.