Hebrew text and cursor position problem in editor (23.1 open jdk)

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
_cle_
Posts: 2
Joined: Thu Apr 15, 2021 3:18 pm

Hebrew text and cursor position problem in editor (23.1 open jdk)

Post by _cle_ » Thu Apr 15, 2021 3:34 pm

After the installation of the xml editor (and a second download and installation) the following problem persists:
cursorproblem.jpg
cursorproblem.jpg (32.23 KiB) Viewed 271 times
The Hebrew Text overlaps with the Latin text of the document and the cursor is not displayed at the logical position, which leads to wrong cut/copy operations. Before installing the new version, Oxygen 23 openjdk worked perfectly.
Where can I fix the problem?
CL

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

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Post by adrian » Fri Apr 16, 2021 1:27 pm

Hello,

Double check the Java version in Help > About, System properties, java.version. Should be "15" if you are using the distribution of Oxygen that bundles OpenJDK 15.

Check if special characters mode is enabled, or if Oxygen prompts you to enable it.
To re-enable the dialog go to Options > Preferences, Editor > Open/Save and in the section "Support for Special Characters" select "Prompt for each document". Close and reopen the document and you should see the dialog. Pick "Enable" and check if it works as expected.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

_cle_
Posts: 2
Joined: Thu Apr 15, 2021 3:18 pm

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Post by _cle_ » Mon Apr 19, 2021 12:04 am

Dear Adrian,
thank you! I have reinstalled the older version (openjdk) 23 and it worked perfectly. Now, I installed 23.1 (replacing the older version), checked openjdk as suggested (java version = 15) and made the system prompt me for "enabling" special characters and bidirectionality: I klick on enable now after (restarting the program and) reopening the file, the problem persists:
Image
yours
Clemens
Attachments
cursorproblem2.jpg
cursorproblem2.jpg (22.86 KiB) Viewed 218 times

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

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Post by adrian » Mon Apr 19, 2021 6:17 pm

Hi,

Could you please send us a snippet of XML code with the combination of Hebrew and Latin scripts that overlap, so we can try to reproduce this on our side?
Please send it to support@oxygenxml.com or use the web site Technical Support form to submit the file.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

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

Re: Hebrew text and cursor position problem in editor (23.1 open jdk)

Post by adrian » Fri Apr 23, 2021 7:10 pm

Hi,

In case anyone else encounters this with Oxygen v23.1.

The issue reproduces with 125% Windows scaling in v23.1 build 2021040908. This build changed the default Editor font size when scaling is used.

Anyway, to keep a long story short, the problem appears with 125% Windows scaling, "Special Characters" mode enabled and a Monospaced font of even size (e.g. 12, 14), although it is fine with the same font of an odd size (e.g. 13, 15).

In v23.0 the default font size with scaling 125% is 13. In v23.1 (latest build) the default font size with scaling 125% is 12, hence the issue being immediately visible.

I've logged an issue to provide a better fix for this situation in the next maintenance build of v23.1.
Meanwhile, manually setting the Editor font (Options > Preferences, Appearance > Fonts) to size 13 (or another odd value) is a quick workaround for v23.1 build 2021040908.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply