Ticket #5404 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

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:1 Changed 8 years ago by Peter Parker

  • Priority changed from major to critical

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:3 Changed 8 years ago by Peter Parker

  • Status changed from new to accepted

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.

comment:5 Changed 8 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:6 Changed 8 years ago by Martyn Gigg

Verified that the resize handling is much improved.

comment:7 Changed 8 years ago by Martyn Gigg

  • Status changed from verifying to closed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6250

Note: See TracTickets for help on using tickets.