-
Notifications
You must be signed in to change notification settings - Fork 663
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
client sometime crashes in OCC::AccountSettings::addModalLegacyDialog at src/gui/accountsettings.cpp:559
#11673
Comments
@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. |
@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
The text was updated successfully, but these errors were encountered: