Cursor/selection/editing issue in 18.0

Having trouble installing Oxygen? Got a bug to report? Post it all here.
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Cursor/selection/editing issue in 18.0

Post by martindholmes »

Since upgrading to Oxygen 18.0 (on Ubuntu 15.10 and 16.04, 64-bit OS and Oxygen, with Oxygen's built-in JRE) I've suffered a persistent interface bug whereby the cursor behaves very erratically; one area of the file (usually where I'm trying to edit) becomes inaccessible, and clicking or arrow-keying the cursor into it results in the cursor landing many lines above it in the file. It's occasionally mitigated by closing and re-opening the file in question, but only for a short time. I've reverted to using 17.1 for the moment, since it's made working very difficult.

Has anyone else seen this behaviour? I haven't seen it in any other apps, but I don't use many Java-based GUI apps.

Cheers,
Martin
ionela
Posts: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: Cursor/selection/editing issue in 18.0

Post by ionela »

Hi Martin.

We are not aware of a known issue in this regard, but it might be a bug in the JRE that oXygen version 18.0 comes bundled with.
You can try to run oXygen v18.0 using the JRE from the v17.1 installation.

To do this, as oXygen v18.0 deploys its own bundled JRE, so you will have to bypass it. Quit the application, navigate to the oXygen v18.0 installation folder and rename the 'jre' folder (e.g. 'jreold'). Then, copy the 'jre' folder from oXygen v17.1 installation to the v18.0 one.

You can check what Java Virtual Machine is oXygen running on in Help > About, "System properties". Look for the properties:
java.runtime.name
java.runtime.version

Let us know if the problem persists.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Cursor/selection/editing issue in 18.0

Post by martindholmes »

I'll try today's point-release before I do that, in case a fix for something else has also fixed this problem. If it's still an issue, I'll try the 17.1 JRE, and failing that, the system JRE.

Cheers,
Martin
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Cursor/selection/editing issue in 18.0

Post by martindholmes »

Still having the problem after the upgrade; it's affecting small files too, now. I've gone back to 17.1 again.

Has anyone else seen this?

Cheers,
Martin
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Cursor/selection/editing issue in 18.0

Post by adrian »

Hi,

Can you please try the 17.1 JRE with 18.0 and report back on the result?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Cursor/selection/editing issue in 18.0

Post by martindholmes »

Testing now. I'll report back when I've worked with it for a while. For the record, I'm running:

XML Editor 18.0, build 2016051118, with JRE version 1.8.0_60-b27 (which I took from 17.1).

Cheers,
Martin
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Cursor/selection/editing issue in 18.0

Post by martindholmes »

It's still happening using the JRE from 17.1. Looks like this is a bug in the editor itself introduced in 18.0. I'm going back to 17.1 again.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Cursor/selection/editing issue in 18.0

Post by adrian »

Hi,

Are you using "Line wrap" (Options > Preferences, Editor > Edit modes > Text) in both v18.0 and v17.1?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Cursor/selection/editing issue in 18.0

Post by martindholmes »

Yes, I always have line wrap turned on; a lot of my data would be difficult to edit otherwise.
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Cursor/selection/editing issue in 18.0

Post by Radu »

Hi Martin,

One more thing you could check, in the Preferences->Editor / Edit Modes / Text page there is a "Highlight current line" checkbox. Could you try to disable it? In Oxygen versions prior to 18.0 the current line highlight was automatically disabled when line wrap was enabled but in Oxygen 18.0 it should work also with line wrap, but maybe it produces those side effects that you report.


Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Cursor/selection/editing issue in 18.0

Post by martindholmes »

I've just disabled that setting, and I'll work with it this morning and see if I see the problem again.

Thanks for your patience.

Cheers,
Martin
martindholmes
Posts: 176
Joined: Wed Apr 20, 2005 5:43 pm
Location: Victoria, BC, Canada

Re: Cursor/selection/editing issue in 18.0

Post by martindholmes »

Since making that change, I haven't seen the problem surface again. I'll keep testing -- it can be a bit elusive -- but previously I couldn't go more than an hour or two without hitting it. Seems like it might be a bad interaction between "Line Wrap" and "Highlight current line". If "Highlight current line" was previously turned off by default, but with version 18 it got turned on by default, then perhaps the problem was there before but I never encountered it.

Cheers,
Martin
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Cursor/selection/editing issue in 18.0

Post by Radu »

Hi Martin,

Thanks for confirming this, we'll try to work more on Linux with this feature enabled, see if we can reproduce the issue and fix it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Costin
Posts: 829
Joined: Mon Dec 05, 2011 6:04 pm

Re: Cursor/selection/editing issue in 18.0

Post by Costin »

Hello,

Just to update the thread, this problem has been resolved in the latest maintenance build of Oxygen 18.0, 2016062718 (released on June 28th):
Text mode: Fixed text rendering glitches that appeared if both "Line wrap" and "Highlight current line" options were active (Options > Preferences, Editor > Edit Modes > Text).
You can download it from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2016062718

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply