Bug 54929 - Некорректная блокировка настройки контрастности в шаблоне групповых политик GNOME
Summary: Некорректная блокировка настройки контрастности в шаблоне групповых политик G...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: admx-basealt (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Valentin Sokolov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-25 13:07 MSK by Vladislav Glinkin
Modified: 2025-08-14 16:02 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Glinkin 2025-06-25 13:07:00 MSK
Версия пакета: admx-basealt-0.5.0-alt1

После блокировки настройки контрастности на клиентской машине блокируется не та настройка:
    <policy name="OrgGnomeDesktopA11YInterfaceHighContrastMachine" class="Machine"
        displayName="$(string.org-gnome-desktop-a11y-interface-high-contrast)"
        explainText="$(string.org-gnome-desktop-a11y-interface-high-contrast_help)"
        key="Software\BaseALT\Policies\gsettings"
        presentation="$(presentation.OrgGnomeDesktopA11YInterfaceHighContrastMachine-pr)" >
      <parentCategory ref="system:ALT_Vision_Gnome" />
      <supportedOn ref="system:SUPPORTED_AltP11" />
      <elements>
        <enum id="gnome-state_setter" required="true" valueName="org.gnome.desktop.a11y.interface.high-contrast">
          <item displayName="$(string.gnome-state-on)">
            <value>
              <decimal value="1" />
            </value>
          </item>
          <item displayName="$(string.gnome-state-off)">
            <value>
              <decimal value="0" />
            </value>
          </item>
        </enum>
        <boolean id="gnome-state_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.gnome.desktop.notifications.show-in-lock-screen">
          <trueValue>
            <decimal value="1" />
          </trueValue>
          <falseValue>
            <decimal value="0" />
          </falseValue>
        </boolean>
      </elements>
    </policy>

Видимо опечатка, должно быть:
@@ -18,7 +18,7 @@
             </value>
           </item>
         </enum>
-        <boolean id="gnome-state_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.gnome.desktop.notifications.show-in-lock-screen">
+        <boolean id="gnome-state_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.gnome.desktop.a11y.interface.high-contrast">
           <trueValue>
             <decimal value="1" />
           </trueValue>
Comment 1 Repository Robot 2025-08-14 16:02:14 MSK
admx-basealt-0.6.0-alt1 -> sisyphus:

Thu Aug 14 2025 Valentin Sokolov <sova@altlinux> 0.6.0-alt1
- Added disable cifsacl policy for user
- Improved name Gnome -> GNOME in all policies
- Improved LAPS policy description
- Removed dbus.service policy
- Fix bugs (closes: 54884, 54929, 54944, 54945, 55365, 54400, 55550, 54402, 53920)