Ticket #5404 (closed: fixed)
Interfaces Start Up With Incorrect Size
Reported by: | Peter Parker | Owned by: | Peter Parker |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.2 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description
On Mac the Convert to Energy interface starts up with the wrong size, meaning a user has to resize the window each time he/she uses it to be able to access all the fields.
One user has seen the Indirect Diffraction interface start up with the wrong size, too.
To fix:
- It appears that the Qt size policy/properties are being ignored for MDISubWindows. Make sure that they can no longer be sized small enough so that fields dissapear. (In the "Preview Mode" of Qt Designer this functionality exists, but is lost when in Mantid.)
- Have Mantid remember the size of interface windows.
Change History
comment:2 Changed 8 years ago by Peter Parker
Refs #5404 - No longer allowing interfaces to start up too small.
Reverting "Refs #4256 prevent plots from disappearing if resized too small", which unfortunately caused the bug. Replaced that code with the less heavy-handed "getMinimumSizeHint" overides.
(This reverts commit a8033e6cca7b29e81a15ece96dc195678446ed4f.)
Changeset: 847c7acf75f75bad491d1995c87f47d5cf48d1e5
comment:4 Changed 8 years ago by Peter Parker
- Status changed from accepted to verify
- Resolution set to fixed
Opened #5688 to cover remembering interface sizes.
To test, open up an interface like Indirect Data Analysis and make sure that you can't decrease the size of the window to the point where button/fields are no longer visible.