TimeLineAnnotator / desktop

A GUI for graphical analysis and annotation of video and audio files.
https://tilia-app.com
Creative Commons Attribution Share Alike 4.0 International
8 stars 2 forks source link

Inspector window relative size and position to main window is fixed #124

Open FelipeDefensor opened 1 month ago

FelipeDefensor commented 1 month ago

If we have the inspector window open, resizing and/or moving the main window also resizes/moves the inspector window.

https://github.com/FelipeDefensor/TiLiA/assets/87732202/41c529a5-6219-4dfe-ae95-3f2c45511580

FelipeDefensor commented 1 month ago

@azfoo this is post-v0.3.3. I'm guessing it's related to the latest commits regarding the inspector. Do you have any idea what is going on?

azfoo commented 1 month ago

I doubt it is a bug related to anything recent, but a feature of QDockWidget. Unlike an actual window, it is linked to the parent QMainWindow. Switching from QDockWidget to QDialog or some other type of window could potentially fix this.

FelipeDefensor commented 4 weeks ago

I double checked and this has been going since at least v0.3, actually. I'm very surprised I didn't notice this before.

I would like to keep this as a QDockWidget because the docking seems like a desirable feature for this case.

Let's take a look at this once we have the time.