Closed saw-jan closed 1 month ago
@TheOneRing So code allows for multiple sharing dialogs, but only one dialog per path. With the current UI all being in 1 window, I would like to change this to only allow for 1 "dialog", and remove any already open "dialogs". That way we only have to keep track of 1 widget: when the slot is triggered, check if there is an open "dialog", and if so, delete it. Then display the one for the latest request.
Hmm as a modal dialog the behavior should probably be to raise the current modal window. Closing a dialog with unfinished actions could cause other issues. So I suggest raising the old window without creating a new page in the dialog.
@saw-jan when this happens again, please attach a new log file
Ok, that shows that there was a previously raised dialog for the share, which is now being re-used. And at that point the delete-on-close attribute is gone, triggering the assert. @TheOneRing : we have to discuss what we do with this. I'm not a fan of that caching/re-use of dialogs.
Show only 1 share "dialog", and don't cache others.
Pre-submission Checks
Describe the bug
Desktop client sometimes can crash in
OCC::AccountSettings::addModalLegacyDialog
at/drone/src/src/gui/accountsettings.cpp:559
Crashed in:
Logs
clientlog.log stacktrace.log
Client version number
git master