Bug: Cannot change UI layout when in XSLT or DB Perspectives

Having trouble installing Oxygen? Got a bug to report? Post it all here.
eeverman
Posts: 10
Joined: Fri Feb 22, 2008 10:07 pm

Bug: Cannot change UI layout when in XSLT or DB Perspectives

Post by eeverman »

Using oXygen/ XML Editor 17.0, build 2015072912

When in the XSLT or the Database Perspective (Window | Open Perspective), it is not possible to drag to move tabs. My UI currently has two tab groups for the XSLT Perspective and I cannot drag a tab from one group to the other or reorder the tabs. It is also not possible to drag a tab off to a create a detached window. When I click and try to drag a tab in the XSLT or DB Perspective, nothing at all happens - its not recognized as a draggable item and no window outline drag hint is shown.

Switching to the Editor Perspective reenables all of these actions.

A possibly related annoying aspect: If I drag a tab out of the UI to create a detached window while in the Editor Perspective, then switch perspectives and back again to the Editor Perspective, the detached window location is lost. This is really annoying if I have moved that detached window to a 2nd monitor because it re-opens that detached window on top of the main ui, not on the 2nd monitor where I had placed it.

----

System details:

Code: Select all

apple.awt.showGrowBox	true
apple.awt.use-file-dialog-packages true
apple.awt.window.position.forceSafeCreation true
apple.laf.useScreenMenuBar true
awt.dnd.drag.threshold 5
awt.toolkit sun.lwawt.macosx.LWCToolkit
com.apple.macos.smallTabs true
com.apple.macos.useScreenMenuBar true
com.apple.mrj.application.apple.menu.about.name Oxygen
com.oxygenxml.editor.home.url file:/Applications/oxygen/
com.oxygenxml.editor.lib.dir /Applications/oxygen/lib
com.oxygenxml.editor.plugins.dir /Applications/oxygen/plugins
com.oxygenxml.enable.pac.detection true
com.oxygenxml.is.eclipse.plugin false
com.oxygenxml.tree.readonly false
exe4j.moduleName /Applications/oxygen/Oxygen XML Editor.app
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
gopherProxySet false
i4j.jreBundle /Applications/oxygen/Oxygen XML Editor.app/../.install4j/jre.bundle
i4j.ownBundlePath /Applications/oxygen/Oxygen XML Editor.app
install4j.appDir /Applications/oxygen/
install4j.exeDir /Applications/oxygen/
install4j.launcherId 19
install4j.swt false
java.awt.graphicsenv sun.awt.CGraphicsEnvironment
java.awt.printerjob sun.lwawt.macosx.CPrinterJob
java.class.path /Applications/oxygen/Oxygen XML Editor.app/../.install4j/i4jruntime.jar:/Applications/oxygen/Oxygen XML Editor.app/../lib/oxygen.jar
java.class.version 52.0
java.endorsed.dirs /Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/endorsed
java.ext.dirs /Users/eeverman/Library/Java/Extensions:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.home /Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre
java.io.tmpdir /var/folders/yl/x_1trcw553sbqbjtsl7rrfq80000gs/T/
java.library.path /Users/eeverman/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.8.0_40-b25
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.8
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.8.0_40
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.8
java.vm.vendor Oracle Corporation
java.vm.version 25.40-b25
javax.xml.parsers.DocumentBuilderFactory org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
javax.xml.parsers.SAXParserFactory org.apache.xerces.jaxp.SAXParserFactoryImpl
jide.tabs.dnd.drag.threshold 40
jna.platform.library.path /usr/lib:/usr/lib
jnidispatch.path /Applications/oxygen/lib/com/sun/jna/darwin/libjnidispatch.jnilib
line.separator \n
org.eclipse.emf.ecore.EPackage.Registry.INSTANCE org.eclipse.emf.ecore.impl.EPackageRegistryImpl
org.xml.sax.driver org.apache.xerces.parsers.SAXParser
os.arch x86_64
os.name Mac OS X
os.version 10.9.5
path.separator :
require.signed.ucf.jars false
sun.arch.data.model 64
sun.awt.enableExtraMouseButtons true
sun.awt.keepWorkingSetOnMinimize true
sun.awt.nopixfmt true
sun.boot.class.path /Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/resources.jar:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/rt.jar:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/sunrsasign.jar:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/jsse.jar:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/jce.jar:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/charsets.jar:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib/jfr.jar:/Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/classes
sun.boot.library.path /Applications/oxygen/.install4j/jre.bundle/Contents/Home/jre/lib
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.font.CFontManager
sun.io.unicode.encoding UnicodeBig
sun.java.command com.install4j.runtime.launcher.MacLauncher
sun.java.launcher SUN_STANDARD
sun.java2d.dpiaware true
sun.java2d.noddraw true
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
sun.swing.enableImprovedDragGesture true
svnkit.upgradeWC false
svnkit.wc.17 true
svnkit.wc.17only true
user.country US
user.dir /Applications/oxygen/Oxygen XML Editor.app
user.home /Users/eeverman
user.language en
user.name eeverman
user.timezone America/Chicago
Costin
Posts: 828
Joined: Mon Dec 05, 2011 6:04 pm

Re: Bug: Cannot change UI layout when in XSLT or DB Perspectives

Post by Costin »

Hello,

Thank you for your post.

Please note that, by design, the UI for the XSLT and XQuery Debugger perspectives contains two separate panels (tab groups) - the (XML) source tabs group in the left side and the (XSL) stylesheets group in the right.
This is even the intended behavior in order to keep the perspective's content in a tidy manner and avoid mixing source files and stylesheets.

What should be improved indeed is changing the tabs order inside their own group and for that we already have an improvement request logged in our internal issue/improvement tracking system, in order to be analyzed by the development team for a possible implementation in a further version of oXygen.
I've just added your vote and logged your remarks on it.

However, we could not reproduce any problems while in the Database perspective, as the grouping limitation is only present for the XSLT and XQuery perspectives. Maybe the XQuery perspective is the one you referred to.

Regarding your 2nd observation, we've tested it and succeeded indeed in reproducing the issue.
There seems to be a problem with the oXygen's docking framework determining the loss of a floating window from the 2nd monitor and its re-positioning over the main oXygen window.
However, please note that from our tests, this issue seemed to only occur when adding additional monitors or changing the monitors layout order with oXygen already running. If oXygen was launched after the monitor was added or the monitors order was changed, we could not reproduce the strange behavior.
Given this, you should try to restart oXygen and the issue should not occur anymore.

I have already logged this in our tracking system as well.

Thank you for the feedback you provided and let us know whenever you encounter any other issues or might need any information.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
eeverman
Posts: 10
Joined: Fri Feb 22, 2008 10:07 pm

Re: Bug: Cannot change UI layout when in XSLT or DB Perspectives

Post by eeverman »

Thank you for the detailed response.

You are correct about the perspectives: It is the XSLT and XQuery perspectives - the DB one works just fine.

With regards to the external window on an external monitor: I have a permanent desktop setup (I never unplug my 2 external monitors) and have restarted Oxygen several times - The issue persists that when I switch out of the Editor Perspective and back again, the external window is placed on top of my main Oxygen window. Perhaps its related to the OS version?

Also, I would like to point out that closing that external window is an anti-feature. I often want to have a schema or sample document off to the side to refer to while I work - I don't want it closed by Oxygen at all.

Thank you,

ee
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

Re: Bug: Cannot change UI layout when in XSLT or DB Perspectives

Post by adrian »

Hi,
With regards to the external window on an external monitor: I have a permanent desktop setup (I never unplug my 2 external monitors) and have restarted Oxygen several times - The issue persists that when I switch out of the Editor Perspective and back again, the external window is placed on top of my main Oxygen window. Perhaps its related to the OS version?
We are not able to reproduce the issue with a static desktop setup in OS X 10.10. It may be the combination of OS version and Java version.
Have you tried the distribution of Oxygen that works with the legacy 'Java for OS X' from Apple, Mac OS X 10.6 and later (Requires Java SE 6)?
Also, I would like to point out that closing that external window is an anti-feature. I often want to have a schema or sample document off to the side to refer to while I work - I don't want it closed by Oxygen at all.
I see your point, but that is the current limitation of the debugger perspective. Note that the external (floating) editor is not literally being closed, but it is stacked together in the group of editors of that type.

Regard,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
sorin_carbunaru
Posts: 398
Joined: Mon May 09, 2016 9:37 am

Re: Bug: Cannot change UI layout when in XSLT or DB Perspectives

Post by sorin_carbunaru »

Hello,

In the newly released oXygen 19.0 the editors from the XSLT/XQuery Debugger perspective are floatable/dockable and can be moved around and rearranged.

Best wishes,
Sorin Carbunaru
oXygen XML
Post Reply