TomographicImaging / iDVC

Digital Volume Correlation user interface
Apache License 2.0
5 stars 2 forks source link

Graph window always in the front #323

Open DanicaSTFC opened 2 months ago

DanicaSTFC commented 2 months ago

Cannot bring the main window in front of the results graph window

FEEDBACK FROM JUNE 2024 WORKSHOP

paskino commented 1 month ago

I can move the graphs and main window indipendently. What is the problem?

DanicaSTFC commented 1 month ago

Qt.WindowStaysOnTopHint is a helpful flag for keeping a window on top, its reliability can vary depending on the underlying window management system, especially in Linux environments with X11.

basically this option does not work consistently across different OS. I tried to fix it for now but the only solution seems to have a window which is not a child of the main window. This also means that the qdarkstyle needs to be set manually.

In conclusion, I think we should address this in eqt and not here. We should create an independent window with the style inherited correctly from the settings.