Opened 15 years ago
Closed 15 years ago
#4928 closed defect (fixed)
Moving of objects adds offset to down and right
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Moving of objects | Cc: | teddy@…, jttt |
Description
I just downloaded version 3196 and run it on Windows XP SP2. Unforunately it is not possible anymore to move objects. They just move downwards, even if you try to move them upwards with your mouse or with your keyboard.
Attachments (0)
Change History (8)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | needinfo → closed |
comment:3 by , 15 years ago
Cc: | added |
---|---|
Resolution: | worksforme |
Status: | closed → reopened |
Summary: | Moving of objects → Moving of objects adds offset to down and right |
I can reproduce this with JOSM 3376 and 3329 on Ubuntu 9.10.
If I move an object (node or way): With every mouse-event or keyboard-event the selected object moves to the expected direction plus a fixed offset down and a fixed offset to the right (less then down).
The higher the zoom-level is, the higher is the effect.
I turned all plugins off.
Movement of the map (Right - drag) is not affected.
comment:4 by , 15 years ago
This problem seems to occur only with the projection method "Swiss grid". With others I was not able to reproduce (I didn't test all).
comment:5 by , 15 years ago
The formula for swiss grid is based on http://www.swisstopo.admin.ch/internet/swisstopo/de/home/topics/survey/sys/refsys/switzerland.parsysrelated1.24280.downloadList.32633.DownloadFile.tmp/refsysd.pdf
They promise 1 m precision. Either that's not good enough or there is an error in the formulas.
comment:6 by , 15 years ago
I don't think the problem is in the formula.
When I click on an object and move it around and go back to the original location with the mouse before I release, then the object is lower and more to the right then the mouse pointer is. In other words, the object does not correctly follow the mouse pointer.
This defect was introduced in josm-snapshot-3166.jar. josm-snapshot-3165.jar and earlier did not have this problem.
comment:7 by , 15 years ago
Cc: | added |
---|
Problem is in Node.setEastNorth() then. It does convert from EastNorth2LatLon() which is errorneous. That's why previously there have been two acesses to setCoor() which prevented conversions in two directions.
comment:8 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I cannot reproduce, so it would be good to get as much detail on this bug as possible.
Is the moving of the map affected? (Right - drag)
Is it both for moving a node and moving a way?
If you move objects just in a downwards direction, does if feel normal, or is it still kind of odd?
Is the movement absolutely restricted to the downward direction or is it just very slow to move upwards / left & right?
Could you please narrow down a little, what version is still ok and what version is broken? You can find old versions here: http://josm.openstreetmap.de/download/