# fix\(settings\): keep popup hide choices across settings Apply \(\#392\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/887356bf6f40698093baeebb4c175e9bc82b0664)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 887356bf6f40698093baeebb4c175e9bc82b0664

Requested commit: 887356bf6f40698093baeebb4c175e9bc82b0664

Commit: 887356bf6f40698093baeebb4c175e9bc82b0664

Tree: d88b5a3ba1c8e455bf06646c8946867adcf001c2

Author: Simone

Committer: GitHub

## Message

```
fix(settings): keep popup hide choices across settings Apply (#392)

Plasma's Apply writes every cfg_* value of the current page. General and
Popup both hold the hidden usage rows and detail sections, loaded when
the page opened, so applying any setting on either page rewrote those
lists and undid rows or sections hidden or restored in the popup
meanwhile.

Both pages now follow the stored lists while keeping their own pending
restores: a new ConfigValueSync rule drops the items the page restored
from the latest stored list and adopts every other change. Tests run the
real page handlers and restores for both pages.

Documentation impact: CHANGELOG Unreleased and the usage guide's hidden
items entry. TODO.md is unaffected.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
```

## Parents

- [82b36d734b88f114c23fe31fa6d29640e31977c6](https://git.cafe/lucenx/codexbar-plasma/commit/82b36d734b88f114c23fe31fa6d29640e31977c6?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/887356bf6f40698093baeebb4c175e9bc82b0664?format=markdown)
