AlmaLinux changes: Use AlmaLinux icon as activities button
Use unbranded illustrations Fix Firefox desktop filename in favorites
This commit is contained in:
commit
5e6f1cc2c1
@ -0,0 +1,45 @@
|
||||
From 72073e008f35f197201e6c38ab506fbe5973fbeb Mon Sep 17 00:00:00 2001
|
||||
From: Joan Torres Lopez <joantolo@redhat.com>
|
||||
Date: Wed, 28 Jan 2026 18:01:26 +0100
|
||||
Subject: [PATCH] gdm/util: Set minimum display time for authentication
|
||||
messages
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Short messages like "PIN locked" were previously displayed for only
|
||||
480ms (10 chars × 48ms), making them impossible to read. Ensure all
|
||||
messages are shown for at least 2 seconds.
|
||||
|
||||
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4054>
|
||||
---
|
||||
js/gdm/util.js | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/js/gdm/util.js b/js/gdm/util.js
|
||||
index 8b999c3..b79b6e7 100644
|
||||
--- a/js/gdm/util.js
|
||||
+++ b/js/gdm/util.js
|
||||
@@ -29,7 +29,9 @@ export const LOGO_KEY = 'logo';
|
||||
export const DISABLE_USER_LIST_KEY = 'disable-user-list';
|
||||
|
||||
// Give user 48ms to read each character of a PAM message
|
||||
+// or 2 seconds, whichever is longer
|
||||
const USER_READ_TIME = 48;
|
||||
+const USER_READ_TIME_MIN = 2000;
|
||||
|
||||
/**
|
||||
* Keep messages in order by priority
|
||||
@@ -232,7 +234,8 @@ export class ShellUserVerifier extends Signals.EventEmitter {
|
||||
const messageTimeMultiplier = GLib.getenv('GDM_MESSAGE_TIME_MULTIPLIER') ?? 1;
|
||||
|
||||
// We probably could be smarter here
|
||||
- return message.length * USER_READ_TIME * messageTimeMultiplier;
|
||||
+ return Math.max(message.length * USER_READ_TIME * messageTimeMultiplier,
|
||||
+ USER_READ_TIME_MIN);
|
||||
}
|
||||
|
||||
_finishMessageQueue() {
|
||||
--
|
||||
2.52.0
|
||||
|
||||
@ -54,6 +54,7 @@ Patch: 0001-main-Register-session-with-GDM-on-startup.patch
|
||||
# Passwordless work
|
||||
# https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3212
|
||||
Patch: 0001-Support-for-web-login-and-unified-auth-mechanism.patch
|
||||
Patch: 0001-gdm-util-Set-minimum-display-time-for-authentication.patch
|
||||
|
||||
# Extensions
|
||||
Patch: 0001-extensionDownloader-Refuse-to-override-system-extens.patch
|
||||
|
||||
Loading…
Reference in New Issue
Block a user