Opened 3 weeks ago
Last modified 3 weeks ago
#24574 new defect
Notes displayed incorrectly with RTL
| Reported by: | mnalis | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- open https://www.openstreetmap.org/note/4840601#map=17/43.564119/16.511811&layers=N
- notice the original note text as well as note comment are displayed normally in standard English with normal left-to-right on website
- click Edit with remote control
- click on that note in JOSM
- note it is for some reason both the note and the comment are incorrectly rendered with right-to-left
What is the expected result?
in step (5), it should also display as normal text, rendered from left to right.
Also, even if original note was broken in some way which forced RTL rendering (which it shouldn't be, as website displays it fine), my comment on that note was pure ASCII without any UTF8 RTL shenanigans, so the rendering should've returned to default English left-to-right for that note comment at the least.
What happens instead?
in step 5, both original note content and comment content are displayed as right-to-left.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-08-31 14:19:57 +0200 (Sun, 31 Aug 2025)
Revision:19439
Build-Date:2025-09-02 01:30:58
URL:https://josm.openstreetmap.de/svn/trunk
Identification: JOSM/1.5 (19439 en) Linux Debian GNU/Linux 13 (trixie)
Memory Usage: 1252 MB / 2987 MB (173 MB allocated, but free)
Java version: 21.0.9+10-Debian-1deb13u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: hr_HR.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ICEWM
Java package: openjdk-21-jre:amd64-21.0.9+10-1~deb13u1
fonts-noto: fonts-noto:all-20201225-2
VM arguments: [-Dsun.java2d.opengl=true, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found
Plugins:
+ DirectUpload (36438)
+ FixAddresses (36438)
+ ImageWayPoint (36438)
+ Mapillary (1813)
+ PicLayer (269)
+ Review.Changes (1.1.1)
+ apache-commons (36438)
+ apache-http (36438)
+ areaselector (366)
+ austriaaddresshelper (100)
+ buildings_tools (36438)
+ conflation (274)
+ ejml (36438)
+ geotools (36438)
+ imagery_offset_db (36438)
+ jackson (36438)
+ jaxb (36438)
+ jna (36438)
+ jts (36438)
+ log4j (36438)
+ mbtiles (v2.6.1)
+ opendata (36460)
+ osmwiki-dataitem (0.0.8)
+ pmtiles (36438)
+ pt_assistant (677)
+ reverter (36447)
+ todo (155)
+ turnrestrictions (36458)
+ undelete (36438)
+ urbaneye3d (1.6.1)
+ utilsplugin2 (36438)
+ wikipedia (441)
Tagging presets:
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Healthcare&zip=1
+ https://<user.name>.com/prezentacije/OpenStreetMap/josm-preset.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Xmas&zip=1
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ http://bezdomni.net/Styles_HighlightedCapesBays-style.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/CyclewaysStylingBNA&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksPlus&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/BuildingColors&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1
+ ${HOME}/tmp/g/1/openaddresses-HR.mapcss
Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingWeekdays&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/SourceObjectTag&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/IndoorRules&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/Pictures&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingOpeningHours&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/CheckDate&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/FacebookWebsite&zip=1
Last errors/warnings:
- 00516.007 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 00977.141 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 01200.014 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 01368.669 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 01402.721 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 01841.185 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 02143.689 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 02216.357 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 03764.719 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 10789.998 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
Attachments (3)
Change History (6)
by , 3 weeks ago
| Attachment: | Screenshot 2025-12-21 at 03-43-09 Bilješka 4840601 OpenStreetMap.png added |
|---|
comment:1 by , 3 weeks ago
note that majority of other notes in JOSM render just fine as English left-to-right.
But this one in particular (and few others which I don't have at hand right now) always use broken right-to-left for some reason.
comment:2 by , 3 weeks ago
comment:3 by , 3 weeks ago
The user name is "E2 80 AE E2 80 AE E2 80 AE E2 80 AE E2 80 AE E2 80 AE E2 80 AE", which disturbs the whole data. That's 7 times "RIGHT-TO-LEFT OVERRIDE" (U+202E).
JOSM should handle that correctly, and not spill that to other lines, but the data in the database is in principle the main reason.
by , 3 weeks ago
| Attachment: | apicall.xml added |
|---|



website-ok