Opened 7 years ago
Last modified 7 years ago
#17250 closed defect
Area selection on slippy map broken — at Version 3
| Reported by: | AMDmi3 | Owned by: | AMDmi3 |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | tested |
| Keywords: | template_report linux freebsd | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- File -> Download data
- Try to select area to download on the slippy map with mouse.
What is the expected result?
Area selection rectangle appears, with corners corresponding to current cursor location and the locating where I've pressed bouse button.
What happens instead?
Area selection rectangle appears in form of vertical stripe, which flickers as I move mouse.
E.g. it looks like rectangle's top and bottom edges jump to +/- infinity and back. Left and right edges looks correct though.
There are also problems when zooming with mouse buttons - instead of zooming around mouse cursor location, the map jumps to southest or northest edge.
Summarizing, it looks like there's some problem with vertical mouse coordinate processing on the slippy map, which involves integer overflows or wraps, resulting in random vertical coordinate value in josm.
Please provide any additional information below. Attach a screenshot if possible.
This currently happens with any JOSM version, I've tried 14731, 14620, 14382, 14289, 13576.
This hasn't happened before, so something outside josm has broken it.
Maybe OpenJDK update to 8u192 which happened for FreeBSD on Dec 08th. 2018.
The problem reproduces after removing config and all plugins.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-01-24 22:50:30 +0100 (Thu, 24 Jan 2019) Build-Date:2019-01-25 02:33:53 Revision:14731 Relative:URL: ^/trunk Identification: JOSM/1.5 (14731 en) FreeBSD Memory Usage: 484 MB / 912 MB (272 MB allocated, but free) Java version: 1.8.0_192-b26, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1600x1200, :0.1 1920x1080, :0.2 1600x1200 Maximum Screen Size: 1920x1200 Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - W: Region [TMS_BLOCK_v2] Resetting cache
Change History (4)
by , 7 years ago
| Attachment: | josm-bug.png added |
|---|
comment:1 by , 7 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
Can you please share this bug with FreeBSD Java maintainers? This is unlikely a JOSM problem.
comment:2 by , 7 years ago
| Keywords: | linux freebsd added |
|---|
comment:3 by , 7 years ago
| Description: | modified (diff) |
|---|




Screenshot demonstrating the problem. Painted arrow shows how cursor moved after pressing a mouse button, e.g. an expected selection bounds.