-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Layer Properties pop up (unusable) behind the DataSource Manager/Browser dialog #39094
Comments
Still valid on QGIS 3.16.15 and 3.22.2. |
Can't reproduce with the latest master (f344919) on Linux. Maybe depends on the used DE/WM? |
@alexbruy (good to see you! ) You are right, I cannot reproduce this anymore on my current setup and master. There is something fishy going on though. Apparently the DataSourceManager (DSM) dialog does not have the main window as parent (anymore?). BUt this is probably due to the fact that the properties dialog has the mainwindow as parent. And I'm not sure if you want it to have the DMS dialog as parent when invoked from there? Anyway, the original issue is not valid anymore. Feel free to close. I do not have a good solution for handling this dialog stacking... |
Mmm, I do have a crash after this simple test....
|
I can easily reproduce this crash now...: because the Properties dialog can be opened from the DSM, and it is NOT bound to it, you can open several layer properties windows. So to reproduce the crash/LWP:
|
Mmm no need to open the DSM dialog for this, I can also make QGIS crash by opening Layer Properties twice from the normal Browser panel.
I'm on e5e6a13671 |
Should I create a new Issue for this? |
IMHO better to create another ticket about crash, but I'm also ok with leaving this. |
Downloaded a fresh Lima QGIS on windows, also get it to crash by opening 2 Layer Property dialogs from the browser: User FeedbackDouble opening of LayerProperties in Browser, and then closing QGIS (with 2 open LayerProperties dialog). Report DetailsPython Stack Trace
Stack Trace
QGIS Info System Info |
These must be deleted before calling QgsApplication::exitQgis, or we get a crash Fixes qgis#39094
These must be deleted before calling QgsApplication::exitQgis, or we get a crash Fixes #39094
These must be deleted before calling QgsApplication::exitQgis, or we get a crash Fixes qgis#39094 (cherry picked from commit d2ee3eb)
The new context menu's in the Browser work great, both in the Browser widgets as in the DataSource Manager/Browser dialog where the Browser is an integral part of.
But if you select 'Layer Properties' in the Browser dialog for a db, those Layer Properties (with me) popup behind the modal 'DataSource Manager -- Browser' window. So then you cannot use/close it, only AFTER you close the DataSource Manager.
It has probably more to do with the Modality of the DataSourceManager then with the actual layer props. But current behaviour is not very intuitive/usable, as you have to close the DataSourceManager first before being able to use or close the Layer props
The text was updated successfully, but these errors were encountered: