aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 14:37:07 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 14:37:07 +0200
commit27ef16187a672acb96e8d930e0ab4bf893ad8f6a (patch)
tree9ce5a7b3c697bf267db0569101b22dca2283ffe9 /README.md
parent8ead58fb5baa8d781159cf443c0f7ffd68cb6775 (diff)
downloadsddm-theme-udt-27ef16187a672acb96e8d930e0ab4bf893ad8f6a.tar.gz
sddm-theme-udt-27ef16187a672acb96e8d930e0ab4bf893ad8f6a.zip
fix: quote dateFormat and gate hidden credential field focus
Quote the comma-bearing dateFormat default; QSettings reads an unquoted comma as a QStringList and SDDM's stringValue() then returns the empty string, leaving the value inert. Note the caveat in the README Panel section. Set activeFocusOnTab per credential stage so Tab cannot reach the offscreen, transparent field and silently append to the submitted value. forceActiveFocus() ignores activeFocusOnTab, so focusStage() still lands focus in each stage. Apply the remaining review fixes: compare the PowerBar fallback as a string, animate the back chevron width, give both opacity behaviours an OutCubic easing, gate the clock timer on panel visibility, clamp panelWidth to 1, and reword stale "card" prose to "panel".
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8316215..24c52c9 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ its colours from the UDT palette, including the wallpaper-snapped accent.
SDDM merges into the theme config at every greeter start. Wallpaper and accent
need no root re-run; only theme code changes do.
-Set `uiScreen` in the root-owned `theme/theme.conf` to pin the login card to a
+Set `uiScreen` in the root-owned `theme/theme.conf` to pin the login panel to a
named screen; leave it empty for the primary screen. It does not belong in the
generated `theme.conf.user`, which is overwritten on every wallpaper change.
@@ -24,6 +24,10 @@ From top to bottom it shows the clock (`timeFormat`) and date (`dateFormat`),
the `greeting`, the avatar, one credential slot, the power row, and the session
selector at the bottom.
+If you override `dateFormat`, quote any value containing a comma (for example
+`dateFormat="dddd, d MMMM"`): SDDM reads the config through QSettings, which
+treats an unquoted comma as a list, and the date then comes out empty.
+
The credential slot is staged: type the username, confirm, and it slides out to
reveal the password; confirm again to log in. Esc or the back chevron returns
to the username.