Commit 07667163 authored by Filip Fila's avatar Filip Fila 🌆

[Logout screen] Fix label opacity failing

Summary: Due to Qt bug: (KDE bug: we have label opacity utterly failing when the logout screen is superimposed over a bright background. Even though QtRendering is the inferior renderer, this patch uses it as a workaround for the aforementioned bug since ugly (if it ever would be) text is better than (almost) no text.

Test Plan:


Reviewers: #plasma, ngraham, rooty

Reviewed By: ngraham, rooty

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 9816994e
......@@ -27,6 +27,7 @@ Item {
property alias iconSource: icon.source
property alias containsMouse: mouseArea.containsMouse
property alias font: label.font
property alias labelRendering: label.renderType
signal clicked
activeFocusOnTab: true
......@@ -31,6 +31,7 @@ ActionButton {
Layout.alignment: Qt.AlignTop
iconSize: units.iconSizes.huge
opacity: activeFocus || containsMouse ? 1 : 0.5
labelRendering: opacity != 1 ? Text.QtRendering : Text.NativeRendering // Remove once we've solved Qt bug: (KDE bug:
font.underline: false
Behavior on opacity {
OpacityAnimator {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment