Modify

Opened 16 months ago

Last modified 14 months ago

#20477 new defect

Devanagari input - issue in typing consonantal conjuncts

Reported by: maanchitrakar Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report i18n devanagari macosx Cc:

Description (last modified by stoecker)

What steps will reproduce the problem?

  1. Enable "Devanagari - QWERTY" keyboard from macOS Settings > Keyboard > Input Sources
  2. Switch to this newly enabled input source from the top menu bar input source selection icon or by pressing Ctrl-Space.
  3. In JOSM, open a tagging window to tag any node. Start typing in the of the text box (say in "value").
  4. Try typing a conjunct character sequence as shown in below link -

https://ubcsanskrit.ca/keyboards.html

Example, typing tfv will attempt to type त(ta) + ्(f) + व(va) = त्व(tva)
Or typing sfk should ideally result in स्क, which is actually स + ् + क
f is the character which does the conjunction.

What is the expected result?

sfk should ideally result in स्क
tfv should ideally result in त्व

What happens instead?

sfk results in स्् (there are 2 conjunct characters (the slanting comma like stroke below the main characters) instead of ideally just one)
sfkk results in स््क
sfk<backspace>k results in स्क
(Basically the backspace removes the extra conjunct character which allows proper conjunction to happen after that)

similarly,
tfv results in त््
tfvv results in त््व
and so on...

Please provide any additional information below. Attach a screenshot if possible.

I am trying to use Devanagari input for giving Hindi/Marathi names to nodes, but the input fails when using conjuncts (meaning joint characters). See below screenshot for the exact behaviour.
The स्क in the middle of नमस्कार is the conjunction of the 2 characters स and क and should ideally be displayed as “स्क” but for some reason it gets shown as “स् ्क”.
This issue does not occur in other apps (Safari, Pages, Stickies etc.) where I use the same input method.
It also does not happen in the iD editor used in web browser.

Revision:17428
Is-Local-Build:true
Build-Date:2020-12-30 15:56:02

Identification: JOSM/1.5 (17428 SVN en) Mac OS X 10.16
OS Build number: macOS 11.2 (20D64)
Memory Usage: 308 MB / 8192 MB (82 MB allocated, but free)
Java version: 15.0.1+9, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
VM arguments: [--module-path=/Applications/JOSM.app/Contents/app/mods]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (1.5.36.3)
+ apache-commons (35524)
+ apache-http (35589)
+ buildings_tools (35669)
+ jna (35662)
+ measurement (35640)
+ reverter (35688)
+ terracer (35640)

Last errors/warnings:
- 00372.787 E: Failed to locate image 'object--wire-group'
- 00372.873 E: Failed to locate image 'regulatory--dual-lanes-cyclists-and-pedestrians--g1'
- 00373.497 E: Failed to locate image 'regulatory--texts--g1'
- 00373.502 E: Failed to locate image 'regulatory--texts--g2'
- 00373.582 E: Failed to locate image 'void--car-mount'
- 00373.582 E: Failed to locate image 'void--dynamic'
- 00373.585 E: Failed to locate image 'void--ego-vehicle'
- 00373.586 E: Failed to locate image 'void--ground'
- 00373.587 E: Failed to locate image 'void--static'
- 00373.699 E: Failed to locate image 'warning--kangaroo-crossing--g1'

comparison of the Devanagari text input between JOSM and Stickies app

Attachments (3)

Screenshot 2021-02-12 at 6.42.44 PM.png (70.4 KB) - added by maanchitrakar 16 months ago.
comparison of the Devanagari text input between JOSM and Stickies app
Screenshot 2021-02-12 at 10.32.02 PM.png (300.8 KB) - added by maanchitrakar 16 months ago.
File>Open.. (uses Finder window)
Screenshot 2021-02-12 at 10.32.41 PM.png (240.2 KB) - added by maanchitrakar 16 months ago.
File>Open Location (uses JOSM window)

Download all attachments as: .zip

Change History (11)

Changed 16 months ago by maanchitrakar

comparison of the Devanagari text input between JOSM and Stickies app

comment:1 Changed 16 months ago by stoecker

Description: modified (diff)

Does this work in other Java applications as expected?

Does it work in other input fields inside josm (e.g. in the file dialog).

Changed 16 months ago by maanchitrakar

File>Open.. (uses Finder window)

Changed 16 months ago by maanchitrakar

File>Open Location (uses JOSM window)

comment:2 in reply to:  1 Changed 16 months ago by maanchitrakar

Replying to stoecker:

Does this work in other Java applications as expected?

No idea. I do not know which other applications on my machine are Java ones.
But I faced this same issue in another app (not Java).
I do not know if the root cause is similar or not, but I will link the issue thread it here.
https://github.com/signalapp/Signal-Desktop/issues/4740

Does it work in other input fields inside josm (e.g. in the file dialog).

Please see the attached screenshots above. As long as the window is JOSM one, it breaks. With the Finder window it works fine.

comment:3 Changed 15 months ago by Don-vip

Keywords: i18n devanagari added

comment:4 Changed 15 months ago by Don-vip

Can you please test it on Linux and Windows too, to see if it's macOS-specific or not?

comment:5 in reply to:  4 Changed 15 months ago by maanchitrakar

Replying to Don-vip:

Can you please test it on Linux and Windows too, to see if it's macOS-specific or not?

Ok I will test on Linux and let you know. I don’t have a windows machine on which I can install JOSM.

comment:6 in reply to:  4 Changed 15 months ago by maanchitrakar

Replying to Don-vip:

Can you please test it on Linux and Windows too, to see if it's macOS-specific or not?

I tested on a linux machine (Ubuntu 20.04) today with JOSM version 17428.
It works fine there.

comment:7 Changed 15 months ago by Don-vip

Keywords: macosx added

comment:8 Changed 14 months ago by Don-vip

Similar to #19933

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to maanchitrakar
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.