Modify

Opened 4 years ago

Last modified 20 months ago

#19933 new defect

Cannot typing Chinese and Korean character normally in MacOS

Reported by: tntchn Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report macos Cc:

Description

Brief descriptions

When I using JOSM in my Macbook and editing the map, the Chinese and Korean words cannot be selected the right word. Instead, it only appears the "root" of the word or the corresponding latin characters.

What steps will reproduce the problem?

  1. Open JOSM, edit a tag, normally.
  2. Select some elements, press ESC (deselect), select other elements.
  3. Edit a tag, the Chinese and Korean characters cannot be input correctly now.

What is the expected result?

When I want to type '台南市' in city=*

  • In OpenVanilla Changjie input and default Changjie input, I would key 'ir jbtj ylb'(戈口 十月廿十 卜中月) which 'ir ' would become '台' etc.
  • In default bopomofo input, I would key 'w96s06g4'(ㄊㄞˊㄋㄢˊㄕˋ) which 'w96' to '台'; 's06' to '南'; 'g4' become '市'
  • In default Korean input, when I want to type '타이난시', I would key 'ㅌㅏㅇㅣㄴㅏㄴㅅㅣ'

What happens instead?

Only the root of the character would be input:

  • OpenVanilla: 'ir jbtj ylb'
  • Default Changjie input: '戈口 十月廿十 卜中月'
  • Default bopomofo input: 'ㄊㄞˊㄋㄢˊㄕˋ'
  • efault Korean input: 'ㅌㅏㅇㅣㄴㅏㄴㅅㅣ'

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

The problem wouldn't appear after stopping using JOSM for one or two minutes. But if I re-select elements and press ESC again, the problem appears. I guess that is because the keyboard event capturing system do something after I select things, blocking me typing characters. In general situations I have to type the words in other places and copy and paste into JOSM, it is very inconvenience.

BTW, the paste method in the input block is Ctrl+V but not Command+V, is that a bug?

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-14 00:09:19 +0200 (Wed, 14 Oct 2020)
Revision:17198
Build-Date:2020-10-14 01:30:49
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17198 zh_TW) Mac OS X 10.15.7
OS Build number: Mac OS X 10.15.7 (19H2)
Memory Usage: 340 MB / 1024 MB (122 MB allocated, but free)
Java version: 13.0.2+8, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: Display 69680128 1440x900 (scaling 1.0x1.0)
Maximum Screen Size: 1440x900
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Dataset consistency test: No problems found

Map paint styles:
- https://raw.githubusercontent.com/species/josm-preset-wheelchair/master/sidewalks_kerbs.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/INT1_Seamark.mapcss
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip

Attachments (1)

Cannot typing right words changjie korean 2020-10-14.png (378.2 KB ) - added by tntchn 4 years ago.
I cannot typing right characters in Chinese and Korean input

Download all attachments as: .zip

Change History (5)

by tntchn, 4 years ago

I cannot typing right characters in Chinese and Korean input

comment:1 by Don-vip, 4 years ago

Keywords: macosx added

comment:2 by Don-vip, 3 years ago

Similar to #20477

comment:3 by tntchn, 20 months ago

Works well on my newer macOS (arm) with 18542. Not sure if this problem still exist.

My system information:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-08-23 22:43:45 +0200 (Tue, 23 Aug 2022)
Revision:18542
Build-Date:2022-08-24 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18542 zh_TW) Mac OS X 12.5.1
OS Build number: macOS 12.5.1 (21G83)
Memory Usage: 1138 MB / 4096 MB (433 MB allocated, but free)
Java version: 17.0.2+8-LTS-86, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: Display 1 1512×982 (scaling 2.00×2.00)
Maximum Screen Size: 1512×982
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: zh_TW_#Hant
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

comment:4 by Stereo, 20 months 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 tntchn.
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.