Project

General

Profile

Bug #4418

"about" box displays incorrect version number

Added by Will Tyburczy about 11 years ago. Updated almost 8 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

History

#1 Updated by Jing Tao about 11 years ago

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

#2 Updated by Jing Tao almost 11 years ago

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

#3 Updated by ben leinfelder over 10 years ago

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

#4 Updated by ben leinfelder almost 8 years ago

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

#5 Updated by ben leinfelder almost 8 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

#6 Updated by ben leinfelder almost 8 years ago

Compiled and ran on linux.

#7 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 4418

Also available in: Atom PDF