Project

General

Profile

Actions

Bug #4418

closed

"about" box displays incorrect version number

Added by Will Tyburczy about 15 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
morpho - general
Target version:
Start date:
09/25/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4418

Description

When you go to "morpho > About morpho" from the computer menu bar, the version displayed is 1.0

Actions #1

Updated by Jing Tao about 15 years ago

I assume it happens on mac version. We didn't pay much attention about this. I will take a look.

Actions #2

Updated by Jing Tao over 14 years ago

This menu was added by Mac OS. We should move the morpho menu bar to the computer menu bar.

Actions #3

Updated by ben leinfelder over 14 years ago

We do this in Kepler - could probably make those changes to Morpho as well.

Actions #4

Updated by ben leinfelder almost 12 years ago

At the very least there must be someway to change the 1.0 to a more meaningful number

Actions #5

Updated by ben leinfelder almost 12 years ago

We can use the AppleJavaExtensions.jar and set our own About... behavior. I've been reading about this and I think we can safely do this in a cross-platform way. I think Kepler excluded the apple-extensions module during build when it was being used on a non-Mac platforms but if we include this stub jar then we won't get compilation errors. I'll commit this and we can test it on a non-Mac platform to make sure.

The only other concern I have is if Apple changes the API in subsequent Java releases (1.7?) it will mean a change for us to support differences in Java versions. They also say that this approach is deprecated and should not be used. However their link to the "new" way of doing it is broken and I can't find any hints about an alternative approach.

https://developer.apple.com/library/mac/#/legacy/mac/library/samplecode/AppleJavaExtensions/Introduction/Intro.html

Actions #6

Updated by ben leinfelder almost 12 years ago

Compiled and ran on linux.

Actions #7

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4418

Actions

Also available in: Atom PDF