Modify

Opened 4 years ago

Last modified 2 years 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 macos 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 4 years 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 4 years ago.
File>Open.. (uses Finder window)
Screenshot 2021-02-12 at 10.32.41 PM.png (240.2 KB ) - added by maanchitrakar 4 years ago.
File>Open Location (uses JOSM window)

Download all attachments as: .zip

Change History (12)

by maanchitrakar, 4 years ago

comparison of the Devanagari text input between JOSM and Stickies app

comment:1 by stoecker, 4 years ago

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).

by maanchitrakar, 4 years ago

File>Open.. (uses Finder window)

by maanchitrakar, 4 years ago

File>Open Location (uses JOSM window)

in reply to:  1 comment:2 by maanchitrakar, 4 years ago

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 by Don-vip, 4 years ago

Keywords: i18n devanagari added

comment:4 by Don-vip, 4 years ago

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

in reply to:  4 comment:5 by maanchitrakar, 4 years ago

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.

in reply to:  4 comment:6 by maanchitrakar, 4 years ago

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 by Don-vip, 4 years ago

Keywords: macosx added

comment:8 by Don-vip, 4 years ago

Similar to #19933

comment:9 by Stereo, 2 years ago

Keywords: macos added; macosx removed

Modify Ticket

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

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.