Bug 7814 - Client configuration storing is fragile on macOS and Linux
Summary: Client configuration storing is fragile on macOS and Linux
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 09:22 CET by Pierre Ossman
Modified: 2022-01-04 12:51 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2021-12-28 09:22:48 CET
On Windows the client configuration is always immediately saved to the registry whenever something is changed. Generally that happens when the options dialog is closed as that's when we call Set() for most things.

However on macOS and Linux we need to do an explicit call to StoreConfig() to get things saved. If that isn't done then the settings only live in memory.

Right now it looks like we call StoreConfig() in the places where we change things, but this can easily be missed in the future. We should probably look at making this implicit, just like it is on Windows.

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