From 49a7347363920a3d5c5fd958462ca5ff7c191a30 Mon Sep 17 00:00:00 2001 From: dualfroz Date: Thu, 24 Sep 2026 18:36:33 +0200 Subject: [PATCH] properties-window: Fix permission checkboxes needing two clicks with multiple files. initial_permission_state_consistent() stored the full mode of the first file but compared the other files against it after masking, so with more than one file the initial state never looked consistent. Enabling a permission checkbox then went to the 'mixed' state and restored the original permissions, and only the second click actually applied the change. Fixes #3641 --- src/nemo-properties-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nemo-properties-window.c b/src/nemo-properties-window.c index bee6747803..bba35adaf8 100644 --- a/src/nemo-properties-window.c +++ b/src/nemo-properties-window.c @@ -3428,7 +3428,7 @@ initial_permission_state_consistent (NemoPropertiesWindow *window, return FALSE; } - first_permissions = permissions; + first_permissions = permissions & mask; first = FALSE; } else if ((permissions & mask) != first_permissions) {