This repository has been archived by the owner on Dec 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 150
Object inspector crash at quit #47
Comments
Hmm, unfortunately I cannot reproduce this on Windows, making it rather hard to debug. Could you try if applying this patch to the latest master fixes the issue? diff --git a/plugins/idaskins/objectinspector.py b/plugins/idaskins/objectinspector.py
index f1d80f1..d6a7d34 100644
--- a/plugins/idaskins/objectinspector.py
+++ b/plugins/idaskins/objectinspector.py
@@ -20,8 +20,8 @@ class ObjectInspector(ObjectInspectorBase):
Allows for easier finding of object names and classes
for usage in QSS stylesheets.
"""
- def __init__(self, *args, **kwargs):
- super(ObjectInspector, self).__init__(*args, **kwargs)
+ def __init__(self, parent=None, flags=0):
+ super(ObjectInspector, self).__init__(parent, flags | Qt.Window)
self._selected_widget = None
self._ui = Ui_ObjectInspector()
diff --git a/plugins/idaskins/themeselector.py b/plugins/idaskins/themeselector.py
index 9b364a4..c849ed8 100644
--- a/plugins/idaskins/themeselector.py
+++ b/plugins/idaskins/themeselector.py
@@ -114,7 +114,7 @@ class ThemeSelector(ThemeSelectorBase):
self._ui.lblPreview.setPixmap(scaled)
def open_object_inspector(self):
- self._obj_inspector = ObjectInspector()
+ self._obj_inspector = ObjectInspector(self.parent())
self._obj_inspector.show()
def resizeEvent(self, *args, **kwargs): |
Hi. Thanks for providing a workaround, but this doesn't seem to do the trick 😔(I know I just wrote the opposite, but it turns out the CrashReporter window popped under another window). |
Hmm. This only happens for the object inspector, not with the theme selector? Does it also happen when you never selected a widget for inspection (never pressed F7)? |
Closing due to inactivity. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I use the Object inspector and quit IDA without closing its window, IDA Pro will crash.
The crash was reproduced reliably using IDA Pro 7.1 and IDA Pro 7.2 on macOS.
Steps to reproduce:
idaskins.py
andidaskins
folder in~/.idapro/plugins
)It could be related to the window not being attached to a parent window.
The text was updated successfully, but these errors were encountered: