Modify

Opened 6 years ago

Last modified 6 years ago

#11994 new defect

left and right casing rendering not synchronous

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone:
Component: Core mappaint Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. use left and right casing, e.g. the following mapcss style
way {
    right-casing-width: 6;
    left-casing-width: 6;
    right-casing-color: green;
    left-casing-color: green;
    right-casing-dashes: 55,25;
    left-casing-dashes: 55,25;
}
  1. download a way e.g. way/279488783
  2. move the map or move a way node or resize the JOSM window
  3. somtimes the left- and rightcasing has an offset, see gif

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

I don't know if it is the same bug like #8429.

I'm currently working on Styles/Maxspeed to support maxspeed:direction:conditional and I need to switch from simple casing (where this bug does not appear) to left-casing + right-casing. However the offset doesn't look good.

Any chance this can be fixed soon?


Revision: 8916
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-10-20 01:22:27 +0200 (Tue, 20 Oct 2015)
Build-Date: 2015-10-20 01:32:17
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8916

Identification: JOSM/1.5 (8916 en) Windows 7 32-Bit
Memory Usage: 742 MB / 742 MB (195 MB allocated, but free)
Java version: 1.8.0_60, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.8.0_60\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest-bla.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=65073, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

Plugins:
- DirectDownload (31603)
- DirectUpload (31603)
- HouseNumberTaggingTool (31603)
- Mapillary (31612)
- OpeningHoursEditor (31603)
- PicLayer (31603)
- RoadSigns (31603)
- buildings_tools (31640)
- commons-imaging (31603)
- download_along (31603)
- editgpx (31603)
- imagery_offset_db (31646)
- measurement (31648)
- photo_geotagging (31603)
- photoadjust (31603)
- public_transport (31646)
- reltoolbox (31603)
- reverter (31625)
- tag2link (31603)
- tageditor (31615)
- tagging-preset-tester (31615)
- terracer (31603)
- turnlanes (31603)
- turnrestrictions (31638)
- undelete (31603)
- utilsplugin2 (31603)
- wikipedia (31603)

Attachments (2)

casing.gif (2.5 MB) - added by Klumbumbus 6 years ago.
casing02.gif (3.7 MB) - added by Klumbumbus 6 years ago.

Change History (4)

Changed 6 years ago by Klumbumbus

Attachment: casing.gif added

comment:1 Changed 6 years ago by Klumbumbus

(gif file fixed)

Changed 6 years ago by Klumbumbus

Attachment: casing02.gif added

comment:2 Changed 6 years ago by Klumbumbus

I made a second screen capture. I move the node with the keyboard up. It seems the problem is the longer way the outer casing has compared to the shorter way the inner casing has in the right top corner. (However in the first part of the first gif there is offset even without sharp corners.)


Last edited 6 years ago by Klumbumbus (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to Klumbumbus
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.