Page 1 of 1

Cursor/selection/editing issue in 18.0

Posted: Wed May 11, 2016 11:55 pm
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

Re: Cursor/selection/editing issue in 18.0

Posted: Thu May 12, 2016 9:20 pm
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

Re: Cursor/selection/editing issue in 18.0

Posted: Fri May 13, 2016 3:28 pm
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

Re: Cursor/selection/editing issue in 18.0

Posted: Thu May 19, 2016 11:05 pm
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

Re: Cursor/selection/editing issue in 18.0

Posted: Thu May 19, 2016 11:41 pm
by adrian
Hi,

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

Regards,
Adrian

Re: Cursor/selection/editing issue in 18.0

Posted: Tue May 31, 2016 8:24 pm
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

Re: Cursor/selection/editing issue in 18.0

Posted: Wed Jun 01, 2016 12:45 am
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.

Re: Cursor/selection/editing issue in 18.0

Posted: Wed Jun 01, 2016 6:52 pm
by adrian
Hi,

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

Regards,
Adrian

Re: Cursor/selection/editing issue in 18.0

Posted: Thu Jun 02, 2016 6:41 pm
by martindholmes
Yes, I always have line wrap turned on; a lot of my data would be difficult to edit otherwise.

Re: Cursor/selection/editing issue in 18.0

Posted: Mon Jun 06, 2016 9:30 am
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

Re: Cursor/selection/editing issue in 18.0

Posted: Wed Jun 08, 2016 7:17 pm
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

Re: Cursor/selection/editing issue in 18.0

Posted: Fri Jun 10, 2016 5:59 pm
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

Re: Cursor/selection/editing issue in 18.0

Posted: Mon Jun 13, 2016 11:26 am
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

Re: Cursor/selection/editing issue in 18.0

Posted: Fri Jul 01, 2016 4:57 pm
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