-
Notifications
You must be signed in to change notification settings - Fork 128
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
Guis not staying in front of main workbench window #23294
Comments
This is behaviour is wanted by several interfaces on Mantid, so any solution should be discussed with the wider Mantid team. It is also necessary for the solution to provide the same behaviour on all platforms Mantid supports. I have found a solution which keeps the SANS gui on top of mantid, but removes its minimise/maximise buttons. In
We then get the MantidPlot/Workbench object:
We set the workbench/mantidplot object as the parent of the SANS gui, and give it the flag "Tool"
This requires
Adding flags such as |
Some sources state this as a difficult problem to solve for Mac, at least (fredrikaverpil/pyvfx-boilerplate#12). The pertinent bit is :
|
Moved from a SANS issue to workbench as behaviour wanted by several groups |
Note that the Ubuntu pinning is not by default part of the GNOME 3 GUI for 18.04/19.04 |
@hsautessella Can you drop Matthew some hints about what you did for the plot windows |
The best I could do on Linux for the plot windows was look out for As stated in the PR, this is not perfect behaviour as the window is hidden briefly and then brought forward. This causes a slight flicker effect. But, as hinted by Tom above, this doesn't seem to be a problem with a perfect solution. That said, if the window doesn't need a minimize/maximize button, then passing it the |
@gemmaguest I am closing this for now as this is a long running issue with most interfaces on workbench. |
The new ISIS SANS GUI is not currently staying in front of the Mantidplot window. This is due to a difference in behavior between python and C++ interfaces.
Having investigated the following seems to be the case:
The text was updated successfully, but these errors were encountered: