chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Enabling the `showAllPackagesInProgramsAndFeatures` feature does not initially enable the feature #397

Open sync-by-unito[bot] opened 3 months ago

sync-by-unito[bot] commented 3 months ago

What You Are Seeing?

Running choco feature enable --name='showAllPackagesInProgramsAndFeatures' does not initially enable the feature. There is no change present to the Programs and Features table in Control Panel. However, upon running choco feature disable --name='showAllPackagesInProgramsAndFeatures' the Programs and Features table then lists all packages.

It is important to note that the reverse of this also happens. If you have the feature enabled, and then try to disable it, the packages will remain in Programs and Features. Once you try to reenable it, they then disappear, and the process starts all over again.

What is Expected?

Enabling the feature should list all packages.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Open administrative PowerShell.
  2. Run choco feature enable --name='showAllPackagesInProgramsAndFeatures' to enable the feature.
  3. Check Control Panel > Programs and Features. Packages are not listed.
  4. Run choco feature disable --name='showAllPackagesInProgramsAndFeatures' to disable the feature.
  5. Check Control Panel > Programs and Features. Packages are listed.

System Details

Output Log

None.

Workarounds

Currently, you can enable the feature and then restart the machine, and with the feature enabled it will work as intended.

Proposed Solution

None currently known.

Related Issues and Tickets

No tickets relating to this specific issue; I was attempting to replicate a different issue with this feature and came across the bug trying to enable it.

Done Checklist

┆Issue is synchronized with this Gitlab issue by Unito