If database unlock dialog is canceled, the window state is not handled correctly. The following fixes needed to be done:
Listen for databaseUnlockDialogFinished signal in BrowserService.
If the dialog was canceled, set m_bringToFrontRequested to false and hide the window, similar to database unlock.
If the dialog was canceled, set browser integration specific boolean m_databaseOpenInProgress in DatabaseTabWidget to false as well, so emitting a new dialog request will succeed.
Fixes #11430
Testing strategy
Manually. Steps to verify (and reproduce the error without the fix):
Click "Reopen Database"
Cancel the database unlock popup
Try clicking "Reopen Database" again
Type of change
✅ Bug fix (non-breaking change that fixes an issue)
If database unlock dialog is canceled, the window state is not handled correctly. The following fixes needed to be done:
databaseUnlockDialogFinished
signal inBrowserService
.m_bringToFrontRequested
tofalse
and hide the window, similar to database unlock.m_databaseOpenInProgress
inDatabaseTabWidget
tofalse
as well, so emitting a new dialog request will succeed.Fixes #11430
Testing strategy
Manually. Steps to verify (and reproduce the error without the fix):
Type of change