Ticket #6217 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Add bundle identifier to Mac bundle

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Release 2.4
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

We have had a crash report from a Mac Lion user.

To reproduce you simply:

  • Open MantidPlot (on OS X Lion)
  • Load a file
  • Go to File->Save->Project
  • Click the "Where" spinbox and the app dies.

A similar issue has been reported on the qtcentre mailing list: http://www.qtcentre.org/threads/51625-QFileDialog-getSaveFileName()-issue-on-Max-OS-X-10-8 which suggests that an empty bundle identifier might be the problem.

This ticket will add a bundle identifier "org.mantidproject.MantidPlot" using the guidelines here as it must be unique on the machine: http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-SW1

Change History

comment:1 Changed 8 years ago by Martyn Gigg

Fill in some details about the Mac bundle. Refs #6217

Changeset: 75ec7ae25377fd417ee03165d89c071becab6f64

comment:2 Changed 8 years ago by Martyn Gigg

  • Owner set to Martyn Gigg
  • Status changed from new to accepted

So apparently this didn't fix the crash but it makes sense to have the fields fill in anyway.

comment:3 Changed 8 years ago by Martyn Gigg

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

Tester:

  • Install MantidPlot on Mac
  • Open the package contents in finder and navigate to MantidPlot.app/Contents
  • Open Info.plist and check that each tag has a value.

comment:4 Changed 8 years ago by Martyn Gigg

Fill in some details about the Mac bundle. Refs #6217

Changeset: 75ec7ae25377fd417ee03165d89c071becab6f64

comment:5 Changed 8 years ago by Martyn Gigg

Put back the CFBundleIdentifier Refs #6372

It really is necessary to fix the bug identified in Refs #6217. This means that the best way forward with regards to the problem described in 561fc3bd5e020a9d1742411bf562997947697d02 is to remove the _CPack_Packages directory after the package has built.

Changeset: e4fb8f0dbb991472d314e61c42a80043a6e7f33b

comment:6 Changed 8 years ago by Martyn Gigg

Put back the CFBundleIdentifier Refs #6372

It really is necessary to fix the bug identified in Refs #6217. This means that the best way forward with regards to the problem described in 561fc3bd5e020a9d1742411bf562997947697d02 is to remove the _CPack_Packages directory after the package has built.

Changeset: d239b9ce3d9256caadd9ea529400c3337f217763

comment:7 Changed 8 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:8 Changed 8 years ago by Owen Arnold

  • Status changed from verifying to closed

This doensn't happen any more.

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7063

Note: See TracTickets for help on using tickets.