Bug 426117 - SDDM login screen is missing virtual keyboard, keyboard layout changer, and battery icon
Summary: SDDM login screen is missing virtual keyboard, keyboard layout changer, and b...
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-02 19:44 UTC by medin
Modified: 2022-10-28 01:08 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
login screen (543.99 KB, image/jpeg)
2020-09-09 19:43 UTC, medin
Details
config files (780 bytes, application/x-xz)
2020-09-09 19:59 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2020-09-02 19:44:37 UTC
1) The SDDM login screen doesn't have any way to change keyboard layout to another language, even if it's already added in plasma keyboard settings.

2) There is no way to enable virtual keyboard inside login screen.
I use Breeze theme for SDDM.

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.3-2-MANJARO
OS Type: 64-bit
Comment 1 Nate Graham 2020-09-09 04:08:36 UTC
I see both of those in my login screen, in the bottom-left corner. Do you not see them? Can you share a screenshot of what your login screen looks like?
Comment 2 medin 2020-09-09 19:43:51 UTC
Created attachment 131519 [details]
login screen

Sorry for bad quality due to old phone and night time.
Comment 3 Nate Graham 2020-09-09 19:48:21 UTC
Thanks, that helps. You should definitely see them in the bottom left corner, but I can see that they're absent. You're missing the battery icon in the bottom-right corner, too.

Are you sure you're using the Breeze SDDM theme, and not the fork of it that Manjaro ships?
Comment 4 medin 2020-09-09 19:59:11 UTC
Created attachment 131520 [details]
config files
Comment 5 medin 2020-09-09 19:59:52 UTC
(In reply to Nate Graham from comment #3)
> Thanks, that helps. You should definitely see them in the bottom left
> corner, but I can see that they're absent. You're missing the battery icon
> in the bottom-right corner, too.
> 
> Are you sure you're using the Breeze SDDM theme, and not the fork of it that
> Manjaro ships?


The theme I used and still use for SDDM is Breeze (I never used any third party theme).
I'm sure virtual keyboard and keyboard switcher was there after fresh install (since 1year), but due to many updates they disappeared, I didn't touch any config file specific to SDDM except for selecting black background.

What I suspect is that SDDM config files were not correctly upgraded after a certain upgrade.
Is there any place where I can download the correct config files to apply them locally ? 

You can find my locally config files attached.
Comment 6 Nate Graham 2020-09-09 20:49:35 UTC
Can you run `/usr/bin/sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze/` in a terminal window and attach the text output in the terminal window?
Comment 7 medin 2020-09-09 20:59:34 UTC
(In reply to Nate Graham from comment #6)
> Can you run `/usr/bin/sddm-greeter --test-mode --theme
> /usr/share/sddm/themes/breeze/` in a terminal window and attach the text
> output in the terminal window?


With this command, only the keyboard layout switcher reappeared at left bottom. Here's the output from terminal:


[manjaro-med ~]$ /usr/bin/sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze/
[21:54:07.850] (II) GREETER: High-DPI autoscaling not Enabled
[21:54:07.985] (II) GREETER: Reading from "/usr/share/xsessions/plasma.desktop"
[21:54:07.988] (II) GREETER: Loading theme configuration from "/usr/share/sddm/themes/breeze//theme.conf"
[21:54:08.009] (EE) GREETER: Socket error:  "QLocalSocket::connectToServer: Invalid name"
[21:54:08.061] (II) GREETER: Loading file:///usr/share/sddm/themes/breeze//Main.qml...
[21:54:10.402] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Main.qml:495:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[21:54:10.438] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[21:54:10.445] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[21:54:10.457] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[21:54:10.486] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/VirtualKeyboard.qml:22:1: Type InputPanel unavailable
[21:54:10.486] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:127:5: Type Keyboard unavailable
[21:54:10.486] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
[21:54:10.507] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Login.qml:103:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[21:54:10.667] (WW) GREETER: file:///usr/lib/qt/qml/org/kde/plasma/components/Button.qml:52: ReferenceError: PlasmaCore is not defined
[21:54:10.668] (II) GREETER: Adding view for "LVDS-1" QRect(0,0 1366x768)
[21:54:10.834] (WW) GREETER: <input>:406:376: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:407:126: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:408:126: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:408:385: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:409:125: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:410:124: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:411:125: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:411:371: Could not add child element to parent element because the types are incorrect.
[21:54:10.835] (WW) GREETER: <input>:411:619: Could not add child element to parent element because the types are incorrect.
[21:54:48.881] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Main.qml:463: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.881] (WW) GREETER: file:///usr/lib/qt/qml/org/kde/plasma/workspace/components/BatteryIcon.qml:42: TypeError: Cannot call method 'roundToIconSize' of null
[21:54:48.881] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/Battery.qml:27: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.881] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Main.qml:441: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.881] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Main.qml:446: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.881] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Main.qml:157: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.881] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.881] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.882] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.883] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.883] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.883] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.883] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.883] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:102: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.884] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:39: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.884] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:55: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.884] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:41: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.884] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:42: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.884] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Login.qml:120: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.884] (WW) GREETER: file:///usr/share/sddm/themes/breeze//Login.qml:115: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.885] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/SessionManagementScreen.qml:84: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.885] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/SessionManagementScreen.qml:114: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.885] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/SessionManagementScreen.qml:100: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.885] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/SessionManagementScreen.qml:101: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.885] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/SessionManagementScreen.qml:91: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.885] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserList.qml:25: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.885] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserList.qml:26: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.885] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:51: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.885] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:114: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.885] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:49: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:51: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:114: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:49: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:51: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:114: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:49: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ButtonStyle.qml:96: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ButtonStyle.qml:41: TypeError: Cannot read property 'smallSpacing' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:90: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.886] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/TextFieldStyle.qml:90: TypeError: Cannot read property 'iconSizes' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserDelegate.qml:103: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserDelegate.qml:44: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserDelegate.qml:69: TypeError: Cannot read property 'largeSpacing' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserDelegate.qml:95: TypeError: Cannot read property 'gridUnit' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserDelegate.qml:75: TypeError: Cannot read property 'longDuration' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/UserDelegate.qml:50: TypeError: Cannot read property 'longDuration' of null
[21:54:48.887] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/private/TextFieldFocus.qml:93: TypeError: Cannot read property 'longDuration' of null
[21:54:48.887] (WW) GREETER: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/private/ButtonShadow.qml:130: TypeError: Cannot read property 'longDuration' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:62: TypeError: Cannot read property 'longDuration' of null
[21:54:48.887] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/ActionButton.qml:47: TypeError: Cannot read property 'longDuration' of null
Comment 8 Nate Graham 2020-09-10 02:40:59 UTC
> [21:54:10.486] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/VirtualKeyboard.qml:22:1: Type InputPanel unavailable
> [21:54:10.486] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:127:5: Type Keyboard unavailable
> [21:54:10.486] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
Looks like you're missing whatever package provides the virtual keyboard functionalit. on openSUSE Tumbleweed, it's named "libqt5-qtvirtualkeyboard". Probably something similar on Manjaro. Go bug its developers to package Plasma correctly. :)
Comment 9 medin 2020-09-11 12:58:33 UTC
(In reply to Nate Graham from comment #8)
> > [21:54:10.486] (WW) GREETER: file:///usr/share/sddm/themes/breeze//components/VirtualKeyboard.qml:22:1: Type InputPanel unavailable
> > [21:54:10.486] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:127:5: Type Keyboard unavailable
> > [21:54:10.486] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
> Looks like you're missing whatever package provides the virtual keyboard
> functionalit. on openSUSE Tumbleweed, it's named "libqt5-qtvirtualkeyboard".
> Probably something similar on Manjaro. Go bug its developers to package
> Plasma correctly. :)


Sorry for my disturbing questions, but what I found is that for Manjaro/Archlinux there is only one package for virtual keyboard called qt5-virtualkeyboard and for me it's already installed, and the virtual keyboard works fine in lock screen.
Comment 10 Nate Graham 2020-09-11 22:38:09 UTC
Weird, I'm out of ideas then. Feels like a distro or configuration bug anyway, but I can't be sure.
Comment 11 Gauthier 2020-10-22 09:56:21 UTC
(In reply to Nate Graham from comment #10)
> Weird, I'm out of ideas then. Feels like a distro or configuration bug
> anyway, but I can't be sure.

Not it's a distro specific issue as I have reported a similar issue on Neon for the keyboard layout. 

On the login screen I have:
On bottom left: Virtual keyboard, Desktop session >> keyboard layout is missing
On bottom right: battery icon

Whereas on lock screen I have:
On bottom left: Virtual keyboard, Keyboard layout
On bottom right: battery icon

Neon based on 20.04
Plasma 5.20.1
Qt5.15
Kf 5.75
Comment 12 Gauthier 2020-10-22 10:09:43 UTC
(In reply to Gauthier from comment #11)
> (In reply to Nate Graham from comment #10)
> > Weird, I'm out of ideas then. Feels like a distro or configuration bug
> > anyway, but I can't be sure.
> 
> Not it's a distro specific issue as I have reported a similar issue on Neon
> for the keyboard layout. 
> 
> On the login screen I have:
> On bottom left: Virtual keyboard, Desktop session >> keyboard layout is
> missing
> On bottom right: battery icon
> 
> Whereas on lock screen I have:
> On bottom left: Virtual keyboard, Keyboard layout
> On bottom right: battery icon
> 
> Neon based on 20.04
> Plasma 5.20.1
> Qt5.15
> Kf 5.75

Here is the comment I posted for Neon https://bugs.kde.org/show_bug.cgi?id=376058#c3
Comment 13 Patrick Silva 2021-06-07 22:14:00 UTC
I can confirm the issue with keyboard layout button on both
Arch Linux and neon unstable. Previously reported as bug 428675