Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#21290 closed defect (fixed)

macOS: Entering ~ and another character in a text field results in ~~

Reported by: dafadllyn Owned by: team
Priority: normal Milestone: 21.10
Component: Core Version:
Keywords: template_report macosx Cc:

Description

What steps will reproduce the problem?

  1. Entering a tilde (~) followed by another character (e.g. ") in any text field results in two tildes (instead of e.g. ~")

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

Revision:18193
Is-Local-Build:true
Build-Date:2021-09-03 01:27:39

Identification: JOSM/1.5 (18193 SVN en) Mac OS X 10.13.6
OS Build number: Mac OS X 10.13.6 (17G14042)
Memory Usage: 1024 MB / 1024 MB (284 MB allocated, but free)
Java version: 16.0.2+7, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69677504 1280×800 (scaling 1.00×1.00)
Maximum Screen Size: 1280×800
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: en_CH
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18193, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/private/var/folders/hy/mqh05zf12n3d1plpx0rwqgtw0000gn/T/AppTranslocation/F311FC9E-32EE-45A6-AE54-F205033B878F/d/JOSM.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ apache-commons (35524)
+ ejml (35458)
+ geotools (35458)
+ jaxb (35543)
+ jts (35458)
+ opendata (35803)
+ reverter (35732)
+ undelete (35640)
+ utilsplugin2 (35792)

Last errors/warnings:
- 00130.738 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm>
- 00130.807 E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.</html>

Attachments (0)

Change History (7)

comment:1 by marcello@…, 4 years ago

I cannot reproduce it. It works on Linux and Windows here. No Mac to test. But it should be fixed in an upcoming patch of mine.

What about the other punctuation characters? Do they all work?

comment:2 by dafadllyn, 4 years ago

I've just found out that this strange behaviour also occurs with other dead keys (^, `, ´, ¨). For example, typing ^ + a results in â - which is correct -, but typing ^ + < results in ^^ instead of ^<.

comment:3 by gaben, 4 years ago

I can't reproduce either. Works fine on Windows and Linux as well.

comment:4 by Don-vip, 4 years ago

Keywords: macosx added
Summary: Entering ~ and another character in a text field results in ~~macOS: Entering ~ and another character in a text field results in ~~

comment:5 by Don-vip, 4 years ago

Milestone: 21.09

should be fixed with #21319

comment:6 by Don-vip, 4 years ago

Resolution: fixed
Status: newclosed

In 18221/josm:

fix #21319 - Refactoring of class hierarchy around JosmComboBox / AutoCompComboBox (patch by marcello):

  • Code reuse: JosmComboBox now uses a JosmTextField as editor
  • Code reuse: AutoCompComboBox now uses AutoCompTextField as editor
  • JosmComboBox uses more of the original L&F
  • JosmComboBox lists now expand all the way to the bottom or the top of the screen
  • Variable height items in combobox lists now work, see #19321
  • Autocomplete uses different algorithm, fix #21290
  • editable="false" comboboxes in Presets now work, fix #6157 see #11024 see #18714
  • The user may toggle LTR-RTL script in JosmTextField (menu and ctrl+space)
  • LTR-RTL automatically toggles according to key in AddTag and EditTag dialogs, fix #16163

comment:7 by Don-vip, 4 years ago

Milestone: 21.0921.10

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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