Bug 344393

Summary: OSD is too big
Product: [Plasma] plasmashell Reporter: Narthana Epa <narthana.epa>
Component: Theme - BreezeAssignee: visual-design
Status: RESOLVED FIXED    
Severity: normal CC: aranemnon, bugseforuns, edward.81, kdeu, l.jirkovsky, nate, nplatis, patrick.auernig, plasma-bugs, postix, sotadic_restage, zanetu
Priority: NOR    
Version: 5.17.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.20.0
Sentry Crash Report:

Description Narthana Epa 2015-02-20 17:41:52 UTC
The OSD is too obtrusive. It has a massive speaker icon which duplicates the tray icon and is therefore is redundant. Furthermore the information it conveys is not as fine grained as the progress bar. Therefore its utility does not justify the amount of screen real estate it occupies. In the KDE4 versions of kmix, the OSD consisted of a small icon to the left of the progress bar and was far less obtrusive.

On my system it is not transparent either, but this may be an issue on my end. But even if it were transparent, this would not sufficiently ameliorate its obstructiveness.

It should be noted that the volume OSD matches the screen brightness OSD (and possibly others). I know nothing about how they are implement, so it is possible that this a result of code in kmix, but elsewhere in plamsa 5. But comment sin Bug 131475 lead me to believe that it may live in kmix. Either way I maintain that they are all too obtrusive and need to massively reduce the size of their icons.

Reproducible: Always

Steps to Reproduce:
1. Press the volume up/down media keys. 


Actual Results:  
The view of a large chunk of the screen is obstructed.

Expected Results:  
Only a small area of the screen should be obstructed.
Comment 1 Patrick Auernig 2015-04-15 14:20:21 UTC
Same goes for the brightness OSD.

Would be nice if OSDs could be like in KDE4, like mentioned or
something could be displayed in the notification area instead of the current OSD
(i think GNOME does it like this, not sure)
I think it would fit there, because it's basically a notification
Comment 2 edward.81 2015-08-29 21:31:47 UTC
The position too. In kde the OSD was just perfect. Position and size.
Comment 3 Lukas Ba. 2018-05-13 09:51:02 UTC
Suggestion for the design. I would also dock the window at the top of the screen.

(Middle one)
https://kde4life.files.wordpress.com/2011/03/kmix_plasmoid-kde4life.png

https://i.stack.imgur.com/3Uo0u.png
Comment 4 Nate Graham 2019-11-28 04:06:11 UTC
*** Bug 414450 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2019-11-28 04:06:32 UTC
See https://phabricator.kde.org/D20569.
Comment 6 postix 2019-11-28 12:33:52 UTC
(In reply to Nate Graham from comment #5)
> See https://phabricator.kde.org/D20569.

Do you know why it has been abandoned and do you see a chance that it will land in 5.18?
Comment 7 Nate Graham 2019-11-29 23:48:03 UTC
There just wasn't consensus that it was significantly better, and the discussion got derailed into a proposal to make the OSD style a separately downloadable theme that went nowhere because it would have been complicated and not offered any real improvement IMO.

My personal objection was that the proposed smaller OSD was still positioned right in the bottom-center of the screen, where it would continue to obscure subtitles and the main action in videos. These are the primary objections to the current OSD, so it didn't seem like the problem would actually be solved.

I could get behind the smaller version if it was a 100% solution to the problem--perhaps by moving it down even farther--but I don't hate the current one enough to really have the energy to push for a change. If you do, I would recommend leaving a positive, supportive comment on See https://phabricator.kde.org/D20569 encouraging Kai to re-open it and tweak it a bit more so we can gain consensus on something and move forward.
Comment 8 Nate Graham 2020-04-15 01:13:55 UTC
*** Bug 419551 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2020-05-19 20:04:03 UTC
Git commit af31ad46c025c0e53de1427527876366fcd869a6 by Nate Graham, on behalf of Kai Uwe Broulik.
Committed on 19/05/2020 at 20:03.
Pushed by ngraham into branch 'master'.

Use more compact OSD

Summary:
A frequent complaint over the years is the size of the OSD. It was tried to alleviate that by having it start fading out slowly immediately but the way it was done wasn't ideal, didn't work on Wayland, and also causes flickering issues in recent Qt versions.
This changes the OSD to a bar-like design similar to the one used in Plasma 4.
Related: bug 372665
FIXED-IN: 5.20.0

Depends on D29263

Test Plan:
Various OSD messages
{F6773939}
It can grow, if necccessary, to accomodate translations, up to half the screen width.
With Air theme
{F6773940}
Full desktop screenshot for some context
{F6773941}

Reviewers: #plasma, #vdg, broulik, niccolove, ndavis

Reviewed By: #vdg, niccolove, ndavis

Subscribers: ndavis, kori, Armstrong, alexde, achauvel, abetts, ngraham, davidedmundson, hein, Codezela, filipf, zzag, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20569

M  +20   -44   lookandfeel/contents/osd/OsdItem.qml

https://invent.kde.org/plasma/plasma-workspace/commit/af31ad46c025c0e53de1427527876366fcd869a6