Ticket #4256 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

MantidPlot: Plot disappears if you resize it to nothing

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: major Milestone: Release 2.1
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester: Wenduo Zhou

Description

Steps to reproduce:

  • Plot any spectrum in MantidPlot
  • Resize the window until its height is zero.
  • You get this message in the terminal:
    QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
    
  • Resize the window back to a normal size
  • The plot is completely blank and does not come back.

I saw this on Ubuntu 11.04.

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:2 Changed 8 years ago by Janik Zikovsky

  • Status changed from new to accepted
  • Owner changed from Anyone to Janik Zikovsky

comment:3 Changed 8 years ago by Janik Zikovsky

Refs #4256 prevent plots from disappearing if resized too small

Changeset: a8033e6cca7b29e81a15ece96dc195678446ed4f

comment:4 Changed 8 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:5 Changed 8 years ago by Janik Zikovsky

Refs #4256 prevent plots from disappearing if resized too small

Changeset: a8033e6cca7b29e81a15ece96dc195678446ed4f

comment:6 Changed 8 years ago by Wenduo Zhou

  • Status changed from verify to verifying
  • Tester set to Wenduo Zhou

comment:7 Changed 8 years ago by Wenduo Zhou

  • Status changed from verifying to closed

comment:8 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

Last edited 8 years ago by Peter Parker (previous) (diff)

comment:9 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:10 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:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5103

Note: See TracTickets for help on using tickets.