[plasmashell] [Bug 399143] widgets/lineedit displays no text

Serge Volkov bugzilla_noreply at kde.org
Mon Nov 26 11:01:40 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=399143

--- Comment #18 from Serge Volkov <sv at ulstu.ru> ---
(In reply to Gleb Popov from comment #12)
> (In reply to Serge Volkov from comment #9)
> > 
> > 1. Add to the top
> >     import QtQuick.Controls.Styles.Plasma 2.0 as Styles
> > 2. Add to the PlasmaComponents.TextField
> >     Styles.TextFieldStyle {
> >         renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering :
> > Text.NativeRendering
> >     }
> 
> Maybe I did something wrong, but this didn't help me. Characters in
> screenlocker's textbox are still invisible.

My mistake. Add to the
/usr/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MainBlock.qml
file:
1. Add to the top

    import QtQuick.Window 2.2
    import QtQuick.Controls.Styles.Plasma 2.0 as Styles

2. Add after PlasmaComponents.TextField {

    Styles.TextFieldStyle {
        renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering :
Text.NativeRendering
    }

And delete Mainblock.qmlc file.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Visual-design mailing list