Commit graph

71 commits

Author SHA1 Message Date
Fushan Wen
6d3514d331 sddm-theme: restore Qt Virtual Keyboard fallback on X11
SDDM 0.21 still runs its greeter on X11 and sets
QT_IM_MODULE=qtvirtualkeyboard, but since b1eed7f7 the theme only forwards
to Keyboards.KWinVirtualKeyboard, which only exists under a running KWin.
Qt Virtual Keyboard stays loaded as the input method, and because the theme
no longer instantiates its input panel, Qt creates its own
DesktopInputPanel, which pops up whenever a text field gains focus, a plain
mouse click included. The keyboard button was dead there as well, because
KWinVirtualKeyboard.available is false and its visible property never
becomes true.

Bring the X11 fallback back as a theme-private component: on X11
VirtualKeyboard.qml loads the Qt Virtual Keyboard panel that
plasma-workspace dropped in f1c83d15 (instantiating QtVK.InputPanel is what
keeps Qt from creating its own panel), on Wayland it keeps forwarding to
Keyboards.KWinVirtualKeyboard. The button is hidden when no virtual
keyboard is available at all.

The panel itself carries no animation: it is shown and hidden by animating
the loader that holds it, which slides it below the bottom edge while
fading it out. Keeping the animation in one place matters because Qt
Virtual Keyboard's own hide key turns InputMethod.visible off before the
theme is notified, and a panel that hid itself as soon as it became
inactive would disappear in a single frame instead of sliding out. The
panel is only deactivated once it is fully off-screen, so that hiding it
does not cut the animation short.

BUG: 527138
2026-11-03 02:51:22 +08:00
l10n daemon script
4ce137deb1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-10-04 01:48:16 +00:00
Fabian Vogt
7565acdade Revert "Port lockscreen/SDDM footer to a reuseable component"
This reverts commit 1e77a2df15.

Some references to the footer were not fixed, breaking the login method:

file:///usr/share/sddm/themes/breeze/Login.qml:65: ReferenceError: footer is not defined

It removed sessionButton which is still needed and referenced, which
also broke login:

file:///usr/share/sddm/themes/breeze/Main.qml:245: ReferenceError: sessionButton is not defined
2026-09-14 08:43:51 +00:00
Fabian Vogt
5d9ee5b130 Revert "lockscreen: pass new footer to WallpaperFader"
This reverts commit c0cbc9df38.
2026-09-14 08:43:51 +00:00
Nate Graham
bd3b1c52ba Update previews for new Hanabi wallpaper 2026-09-09 15:47:36 -06:00
Kristen McWilliam
c0cbc9df38
lockscreen: pass new footer to WallpaperFader
Given it a new id that doesn't shadow the `footer` property inherited
from base qml objects.
2026-09-04 16:45:25 -04:00
Kristen McWilliam
1e77a2df15 Port lockscreen/SDDM footer to a reuseable component
Had comments noting to keep the implementations in sync between the
lockscreen and sddm versions, not ideal.

Port to a reusable component in plasma-workspace, so they can both use
the same one without concern of keeping them in sync. Also will allow
plasma-login-manager to become the 3rd consumer of this component
without further duplicating code.
2026-08-26 20:53:04 -04:00
l10n daemon script
36ba2855a9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-08-23 01:41:15 +00:00
Kristen McWilliam
b1eed7f756
sddm-theme: drop vkb wrapper, use KWinVirtualKeyboard directly
Wrapper existed to support both X11 and Wayland, since we only support
Wayland now we can use KWinVirtualKeyboard directly.
2026-08-12 14:18:14 -04:00
Christoph Grüninger
2dbff7fd0c Revert "Remove unused imports of Qt5Compat.GraphicalEffects"
This reverts commit 338bcd698a.

Pushed by mistake to branch "master".
2026-07-11 16:47:39 +02:00
Christoph Grüninger
338bcd698a Remove unused imports of Qt5Compat.GraphicalEffects 2026-07-11 16:35:33 +02:00
l10n daemon script
2cad522ad9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-06-18 01:38:29 +00:00
Kristen McWilliam
b277c30b2f Move old wallpaper, add new one, update previews 2026-05-27 19:28:31 -04:00
l10n daemon script
9a3c072a87 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-02-11 01:41:36 +00:00
l10n daemon script
d287cea212 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-02-03 01:44:19 +00:00
l10n daemon script
6f5634a144 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2026-01-29 01:40:03 +00:00
Nate Graham
4d3c2b1ab5 Update theme preview image for new wallpaper 2026-01-12 09:22:30 -07:00
Christoph Wolk
9c1becd7bb add translation contexts
This change adds translation contexts to all translatable strings in qml
files that did not have any. Occasionally, the existing translation
contexts are updated for consistency with the newly added ones.

The string themselves are unchanged, save for one instance where the
Accessible strings were somewhat awkward and were a bit streamlined, and
one set of accessible  strings in PanelConfiguration that were not
marked as translatable, but are now.

Co-authored-by: Nate Graham <nate@kde.org>
2026-01-07 10:44:24 +00:00
Christoph Wolk
da2c646b31 replace Qt.application.layoutDirection with Application singleton
qmllint fails to properly handle the Qt.application property
(QTBUG-119643). Upstream recommends using the Application singleton
instead, as it resolves issues with the types (which are variable
depending on the imported modules) and is more accessible for tooling
(codereview qtdeclarative/+/350080). The main use for Qt.application
in p-d is to access the layoutDirection.

This change ports p-d to using the Application singleton.
2025-12-08 13:20:37 +01:00
Tobias Fella
5a8f353c41 Remove all qml import version numbers 2025-12-01 15:40:46 +00:00
Kai Uwe Broulik
dc4ae37601 sddm-theme: Avoid rendering invisible contents
An opacity of 0 will still render the items, particularly the
blinking password field cursor will still be active.

This was addressed for the lock screen in 45e0a722 of
plasma-workspace but not for the sddm-theme.

While the mentioned commit also set "enabled" to avoid
some alleged cursor blinking, I could not reproduce this
and just "visible" false seems to work fine.

Signed-off-by: Kiriakos Antoniadis <kiriakos.antoniadis@advantest.com>
2025-11-03 09:58:38 +00:00
Nate Graham
2b75d63828 Update wallpaper previews 2025-10-01 03:47:57 +01:00
Nate Graham
b4a78ded97 Add new Orionids wallpaper for 6.5 2025-09-29 17:51:33 -06:00
l10n daemon script
b1f85c0e0a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-09-08 01:59:22 +00:00
Tobias Leupold
5785a52afe Added a "suspend to disk"/"hibernate" button to SDDM 2025-07-28 08:59:42 -06:00
Nate Graham
79989dcc92 Achieve WCAG AA for text contrast
Part of https://invent.kde.org/plasma/plasma-desktop/-/issues/149

Right now there are some labels that don't achieve WCAG AA, which
specifies a text contrast of at least 4.5:1. The causes are varied, but
this commit fixes them all to exceed 4.5:1.

In particular, standardizing on an opacity level of 0.75 raises the text
contrast of those labels to:
- 5.73:1 on the opaque gray window background color
- 5.44:1 on a translucent background in Plasma with the current default
  wallpaper (though this will vary a bit with different backgrounds)

Now they meet WCAG AA.
2025-06-13 11:04:30 -06:00
Nate Graham
353fda6c5d Update preview images for new Coast wallpaper 2025-05-13 15:13:09 -06:00
Nate Graham
d12eaa3a70 sddm-theme: clear password when selecting a different user
Users don't have the same passwords, so it doesn't serve any purpose to
keep anything in the password field when the selected user changes.

BUG: 502514
FIXED-IN: 6.4.0
2025-04-17 13:59:31 +00:00
l10n daemon script
4870e97d70 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-04-05 01:31:06 +00:00
Thomas Duckworth
d77c9c6447 sddm-theme: Ensure DropShadow values are consistent with lockscreen
Erroneously not updated in https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2859
2025-03-09 00:06:39 +00:00
Thomas Duckworth
5dda024496 lockscreen: Lighter clock shadow with vertical offset; don't display when bg is blurred 2025-03-08 23:22:12 +00:00
Nate Graham
61f7bfa2bd Update wallpaper previews 2025-01-08 17:36:39 -07:00
Nate Graham
2a0e7ef7e6 Replace wallpaper previews for Plasma 6.3 2025-01-04 13:15:39 -07:00
l10n daemon script
62302ae6e9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-12-15 01:39:43 +00:00
l10n daemon script
feaf909de7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-12-02 01:31:54 +00:00
l10n daemon script
76b6f795c9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-11-29 01:27:15 +00:00
l10n daemon script
f56536509a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-11-04 01:23:08 +00:00
l10n daemon script
2e2d536ab2 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-27 01:25:52 +00:00
l10n daemon script
454fadf669 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-10-02 01:23:44 +00:00
l10n daemon script
492273b3b2 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-17 01:23:39 +00:00
l10n daemon script
ade51cb9ce SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-13 01:24:24 +00:00
l10n daemon script
18eaf61502 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-09-12 01:21:58 +00:00
Nate Graham
fbdb4cfec8 Update SDDM theme preview for new wallpaper 2024-08-26 19:52:45 -06:00
l10n daemon script
821703a060 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-08-10 01:28:33 +00:00
Be Ing
5fbc85d9a6 SDDM theme: add option to hide clock
Part of https://invent.kde.org/plasma/plasma-desktop/-/issues/133.

CCBUG: 472587

UI to change it is in https://invent.kde.org/plasma/sddm-kcm/-/merge_requests/74
2024-08-09 17:31:35 +00:00
Noah Davis
186e9e8a3a KeyboardButton: Check if longName is undefined
Fixes an error message that appeared when testing SDDM.
The fallback string being empty is OK because this item will not be visible when keyboard.layouts has a size of 1 or less.
2024-07-12 06:20:42 -04:00
l10n daemon script
f5f0c2a6ab SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-07-11 01:19:01 +00:00
Noah Davis
6fb4eb3dc7 sddm-theme: update for ActionButton modernization 2024-07-09 22:25:02 +00:00
l10n daemon script
1955f106af SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-27 01:19:22 +00:00
l10n daemon script
e052d389ed SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-06-22 01:21:04 +00:00