Ticket #4431 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

MantidPlot crashes if trying to cascade windows

Reported by: Russell Taylor Owned by: Roman Tolchenov
Priority: blocker Milestone: Release 2.0
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: #4282 Tester: Russell Taylor

Description

Open 2 MDI windows (I used Notes) then go to Windows -> Cascade. MantidPlot crashes. Looks to be related to floating windows work. This is only if they are docked (otherwise nothing whatsoever happens).

Here's the stack trace:

QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() at qscopedpointer.h:112 0x6b3d8c	
QObject::parent() at qobject.h:250 0x6aeb18	
MdiSubWindow::getDockedWindow() at MdiSubWindow.cpp:443 0x819478	
MdiSubWindow::getWrapperWindow() at MdiSubWindow.cpp:452 0x8194d2	
MdiSubWindow::setNormal() at MdiSubWindow.cpp:278 0x8185ee	
ApplicationWindow::cascade() at ApplicationWindow.cpp:16,002 0x6a2316	

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner set to Roman Tolchenov

comment:2 Changed 9 years ago by Roman Tolchenov

  • Status changed from assigned to accepted

comment:3 Changed 9 years ago by Roman Tolchenov

Re #4431. Fixing the issue

Changeset: cf21dae84f54ba6ab8efcface40e851717874a2a

comment:4 Changed 9 years ago by Roman Tolchenov

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

comment:5 Changed 9 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:6 Changed 9 years ago by Russell Taylor

  • Status changed from verifying to closed

No crash any longer. Still does absolutely nothing for floating windows.....but that's probably the correct thing to do.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5278

Note: See TracTickets for help on using tickets.