Ticket #6497 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Mac: Crash with save dialogs running Snow Leopard package on Mountion Lion

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: critical Milestone: Release 2.4
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Stuart Campbell

Description

As we still only have one Mac package it is imperative that this works on Mountain Lion when using the Snow Leopard package.

To reproduce on a ML machine:

  • Start MantidPlot
  • Go to File->Save Project As
  • Click the spinbox used to select the directory for saving -> CRASH

Change History

comment:1 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:2 Changed 8 years ago by Martyn Gigg

Note this happens for all save dialogs but not the load dialogs

comment:3 Changed 8 years ago by Martyn Gigg

Use native save dialogs for OSX running 10.6 package on 10.8. Re #6497

This changes all uses of getSaveFileName to a custom handler that we already had so that we can switch to Qt dialogs where necessary.

Changeset: fa10e39d8184c48f7e2b1cdf2f8ab873f97512f7

comment:4 Changed 8 years ago by Martyn Gigg

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

This is a far from ideal fix but crashing is certainly worse.

Ticket #6501 has been opened to investigate whether a newer Qt will help.

Tester: Please try and install the snow leopard package on a SL machine and on a ML machine. On SL you should see a standard Mac save dialog and on ML you should see a different Qt save dialog that more importantly doesn't crash!

comment:5 Changed 8 years ago by Stuart Campbell

  • Status changed from verify to verifying
  • Tester set to Stuart Campbell

comment:6 Changed 8 years ago by Stuart Campbell

Do you want me to wait for the new 'release kit' or grab the latest incremental one ?

comment:7 Changed 8 years ago by Martyn Gigg

The incremental one should be fine I think.

comment:8 Changed 8 years ago by Stuart Campbell

  • Status changed from verifying to closed

I do indeed see a Mac OS X native dialog on Snow Leopard and a Qt one on Mountain Lion (and no crash).

comment:9 Changed 8 years ago by Martyn Gigg

Use native save dialogs for OSX running 10.6 package on 10.8. Re #6497

This changes all uses of getSaveFileName to a custom handler that we already had so that we can switch to Qt dialogs where necessary.

Changeset: fa10e39d8184c48f7e2b1cdf2f8ab873f97512f7

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7343

Note: See TracTickets for help on using tickets.