Code Monkey home page Code Monkey logo

Comments (4)

athre0z avatar athre0z commented on June 10, 2024

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):

from idaskins.

melomac avatar melomac commented on June 10, 2024

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).

from idaskins.

athre0z avatar athre0z commented on June 10, 2024

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)?

from idaskins.

athre0z avatar athre0z commented on June 10, 2024

Closing due to inactivity.

from idaskins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.