﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20477	Devanagari input - issue in typing consonantal conjuncts	maanchitrakar	team	"==== 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'
}}}

[[Image(Screenshot 2021-02-12 at 6.42.44 PM.png)]]
"	defect	new	normal		Core			template_report i18n devanagari macos	
