Bug 7815 - Old client settings aren't removed on Windows
Summary: Old client settings aren't removed on Windows
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-28 13:30 CET by Pierre Ossman
Modified: 2022-01-04 12:52 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2021-12-28 13:30:27 CET
On Windows we handle each configuration entry separately, updating it as needed. But on Linux and macOS we rewrite the entire configuration file every time we store things to disk.

This has the unintended side effect of clearing out old stuff on Linux and macOS, but keeping it around on Windows.

Besides accumulating confusing cruft, this also means we can have issues dealing with migration as we will never lose old stuff on Windows.

We have the ability to remove explicit, named stuff. But it would probably be more robust and stable to clear out everything that is unknown.

Note You need to log in before you can comment on or make changes to this bug.