Odd UI problems

Having trouble installing Oxygen? Got a bug to report? Post it all here.
J. Whitley
Posts: 3
Joined: Mon Jan 03, 2005 6:41 am

Odd UI problems

Post by J. Whitley »

I'm running into some peculiar UI problems with Oxygen 5 running on Java 1.4.2 (Update 2) under Mac OS X, 10.3.7.

I. Modes where "Open" and "Save As..." do nothing

I've found that Oxygen gets into a strange mode where Open (via Cmd-O, File->Open, or the toolbar folder icon) and File->Save As... just do nothing. There is some app activity (e.g. the "Open" folder will blink if I use the Cmd-O keyboard shortcut), but the desired dialog box never appears. After a bit of digging, I have repro and workaround steps that may help diagnose this problem:

Repro steps:
Open:
1. Open a project in Oxygen.
2. Try to open a file via File->Open, Cmd-O, or the "Open" folder icon.
3. No open dialog appears. The "Open" folder icon greys momentarily,
then returns to normal.

Save As...:
1. Open a project in Oxygen.
2. i. Create a New file
ii. Try to use File->Save As...
3. No Save As dialog appears.

Workaround steps for the above cases:
4. Click on any filename in the "Project" view.
5. The "disabled" commands now work just fine.

New also exhibits a problem, but the conditions are different:
1. Open a project in Oxygen, open at least one file.
2. Close all files with Cmd-W or the context menu (right-click), leaving an empty editor pane
3. Try to open a file with the New keybinding, Cmd-N
4. No dialog appears.

The New case differs in that it seems to be easier to get out of the strange state, and only the keybinding seems to be affected. E.g. hitting the New document toolbar icon or File->New always works. Also, the only way I've found to repro the problem is to close all files, leaving an empty editor pane. The problem doesn't seem to occur if at least one file remains open.

II. Oxygen doesn't display its menu bar when the app starts

The other problem I've seen is occuring when the Tip of the Day is enabled at startup. When focus is on the TotD window, only "Oxygen" is visible in the menubar, which is fine. It seems that there is some sort of window focus problem that takes place.

Repro steps:
1. Start Oxygen with Tip of the Day enabled at startup. In my case,
I've got a file in a project opening by default.
2. The keyboard input focus starts in the TotD window, then switches to
the editing pane after a moment, despite the fact that the TotD
window is still open.

This latter step puts things out of whack: keystrokes are going to the main editor pane, but since window focus is still nominally on TotD window, the Mac menubar hasn't changed (e.g. File, Edit, etc. dont' appear). Clicking on "OK" on the TotD window does dismiss it, but window focus never gets transferred correctly to the main Oxygen window, so the menu never appears. Switching to another app and back (e.g. Cmd-Tab twice) fixes things to the expected state.

Last, but not least, here's the output of About...->System Properties:

apple.awt.showGrowBox true
apple.awt.window.position.forceSafeCreation true
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
com.apple.macos.smallTabs true
com.apple.macos.useScreenMenuBar true
com.apple.mrj.application.apple.menu.about.name Oxygen
com.apple.mrj.application.growbox.intrudes true
com.apple.smallTabs true
com.oxygenxml.editor.home.url file:/Applications/
com.oxygenxml.editor.plugins.dir /Applications/plugins
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
gopherProxySet false
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path /Applications/oxygen.app/Contents/Resources/Java/oxygen.jar
java.class.version 48.0
java.endorsed.dirs /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext
java.home /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
java.io.tmpdir /tmp
java.library.path /Applications/oxygen.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version 1.4.2_05-141.3
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.4
java.util.prefs.PreferencesFactory java.util.prefs.MacOSXPreferencesFactory
java.vendor Apple Computer, Inc.
java.vendor.url http://apple.com/
java.vendor.url.bug http://developer.apple.com/java/
java.version 1.4.2_05
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor "Apple Computer, Inc."
java.vm.version 1.4.2-38
javax.xml.parsers.DocumentBuilderFactory org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
javax.xml.parsers.SAXParserFactory org.apache.xerces.jaxp.SAXParserFactoryImpl
line.separator

mrj.version 141.3
org.xml.sax.driver org.apache.xerces.parsers.SAXParser
os.arch ppc
os.name Mac OS X
os.version 10.3.7
path.separator :
sun.arch.data.model 32
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.class.path /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/charsets.jar:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar
sun.boot.library.path /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries
sun.cpu.endian big
sun.cpu.isalist
sun.io.unicode.encoding UnicodeBig
sun.java2d.fontpath
sun.os.patch.level unknown
J. Whitley
Posts: 3
Joined: Mon Jan 03, 2005 6:41 am

Anyone able to repro this issue?

Post by J. Whitley »

Out of curiosity, has anyone (SyncRO folks or otherwise) been able to repro these problems? If anyone is having trouble reproducing these problems, I'd still like to hear about it. Thanks!
tavy
Posts: 365
Joined: Thu Jul 01, 2004 12:29 pm

Post by tavy »

Dear J. Whitley,

Thank you for contacting us.

Regarding the first problem "Open and Save As... do nothing" we were unable to reproduce it . Please send us an email at support@oxygenxml.com and we will send you a log4j.properties file in order to enable debug messages.
For the "Cmd-N" problem when editor pane is empty, we reproduced it but is a java bug.
To solve the second problem uncheck "Show tips at statup?" checkbox and the "Tip of the Day" dialog will not appear at startup anymore.

Best Regards,
Octavian
Post Reply