microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
106.99k stars 6.31k forks source link

[Advanced Paste] GPO for clipboard history is ignored (in the ux) #32945

Closed htcfreek closed 1 day ago

htcfreek commented 1 month ago

Microsoft PowerToys version

0.81.0

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

Advanced Paste

Steps to reproduce

Set the policy and see in PT settings that you can change the settings.

✔️ Expected Behavior

The value of the GPO is respected and the setting can't be changed.

GPO: https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.OSPolicy::AllowClipboardHistory

❌ Actual Behavior

There is no hint about the policy, you can change the setting in PT and changing the setting ~overrides/~ manipulates the setting in Windows.

image

image

Other Software

No response


EDIT (2024-05-22 00:59 UTC+2): Added second screenshot for clarification.

htcfreek commented 1 month ago

cc: @jaimecbernardo, @ethanfangg , @crutkas

jaimecbernardo commented 1 month ago

I've tried to replicate it, but changing in PowerToys Settings is not turning this on in Windows Setting, nor does it allow me to use clipboard history. @htcfreek Is this just an UI issue? From the issue description, you seem to be saying this is overriding GPO, which doesn't seem to be the case for me. image

htcfreek commented 1 month ago

@jaimecbernardo If you enable it in PT and then open the settings page the switch is turned on. image And I use Win10. Your screenshot is from Windows 11. Maybe UX behave differently in Windows 10 Settings.

But even if the Windows Settings app shows the feature as enabled I can't open the Clipboard history or access any history data in PT's Advanced Paste.