Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable database lock when switching user on macOS #9707

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

varjolintu
Copy link
Member

@varjolintu varjolintu commented Aug 7, 2023

Adds a new configuration option for macOS to disable database lock when switching user. Enabled by default. Renamed the MacUtils' lockDatabases() signal to lockDatabasesOnUserSwitch() because it's the only one that is used currently, but the name is too generic. There might be some other scenarios where databases could be locked, so this one is now distinguished.

Fixes #6726.

Testing strategy

Manually.

Type of change

  • ✅ New feature (change that adds functionality)

@varjolintu varjolintu added this to the v2.8.0 milestone Aug 7, 2023
@varjolintu varjolintu marked this pull request as draft August 7, 2023 07:22
src/gui/ApplicationSettingsWidget.cpp Outdated Show resolved Hide resolved
src/gui/osutils/macutils/AppKit.h Outdated Show resolved Hide resolved
@varjolintu varjolintu marked this pull request as ready for review August 16, 2023 06:16
@randalln
Copy link

randalln commented Apr 3, 2024

Any chance of resurrecting this PR? I also switch users frequently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Database locking at user switch in macOS is not configurable
4 participants