Use more compact OSD

Authored by broulik on May 19 2020, 5:49 PM.

Description

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.

BUG: 344393
BUG: 372665
FIXED-IN: 5.20.0

Depends on D29263

Test Plan:
Various OSD messages


It can grow, if necccessary, to accomodate translations, up to half the screen width.
With Air theme

Full desktop screenshot for some context

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

Details

Committed
ngrahamMay 19 2020, 8:03 PM
Reviewer
VDG
Differential Revision
D20569: Use more compact OSD
Parents
R120:93594f606b61: Use font: instead of font.pointSize: where possible
Branches
Unknown
Tags
Unknown