﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19814	Graphic bug after screen resolution switching	StephaneP	StephaneP	"Hi!

Since a long time, I noticed I have some graphic bugs inside Josm.
Repro:
- On Windows 10
- Run Josm on my main laptop screen (1920x1080)
- Connect an external screen with a higher resolution (in my case, 2560x1440) which become the main screen. Josm is displayed on this external LCD.

Then my right panel is sometime empty. I have to undock and dock a panel. (I will to try to take a snapshot the next time I see it).
And I see some vertical tearing and some graphic bugs. these graphic bugs seems located near the old screen periphery.

On the attached video, you can see the vertical tearing and the graphic bug on the city_limit node, ""Vieillevigne"" is truncated when I move the view.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-09-08 17:35:35 +0200 (Tue, 08 Sep 2020)
Build-Date:2020-09-09 01:30:50
Revision:17015
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17015 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2004 (19041)
Memory Usage: 5660 MB / 14564 MB (4213 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080 (scaling 1.0x1.0), \Display1 2560x1440 (scaling 1.0x1.0)
Maximum Screen Size: 2560x1440
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32

Plugins:
+ DirectUpload (35499)
+ Mapillary (1.5.25)
+ OpeningHoursEditor (35414)
+ PicLayer (35405)
+ PolygonCutOut (v0.7)
+ apache-commons (35524)
+ apache-http (35092)
+ areaselector (368)
+ austriaaddresshelper (1597341117)
+ cadastre-fr (35539)
+ changeset-viewer (22)
+ continuosDownload (91)
+ contourmerge (v0.1.6)
+ ejml (35313)
+ geotools (35169)
+ graphview (35405)
+ imagery-xml-bounds (35313)
+ indoorhelper (20bf8a3-dirty)
+ javafx-windows (35458)
+ jaxb (35092)
+ jna (35092)
+ jts (35122)
+ log4j (35092)
+ measurement (35405)
+ opendata (35513)
+ photo_geotagging (35499)
+ photoadjust (35405)
+ poly (35248)
+ reverter (35499)
+ shrinkwrap (v1.0.2)
+ tageditor (35258)
+ todo (30306)
+ turnlanes-tagging (283)
+ turnrestrictions (35515)
+ undelete (35521)
+ utilsplugin2 (35487)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/FR.zip

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/RecyclingMaterials&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
- https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
- http://kolesar.turistautak.hu/osm/opencellid/api/styles/measurements.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features_ryg&zip=1
+ <josm.pref>\styles\bicycle\cycleway.mapcss
- <josm.pref>\styles\sit.mapcss

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/FranceSpecificRules&zip=1

Last errors/warnings:
- 03667.585 E: Error reading EXIF from file: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
- 03667.586 E: Error reading EXIF from file: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
- 03667.588 E: Error reading EXIF from file: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
- 03667.589 E: Error reading EXIF from file: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
- 03667.592 E: Error reading EXIF from file: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
- 03667.593 E: Error reading EXIF from file: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
- 03668.119 W: java.io.IOException: The requested URL http://kolesar.turistautak.hu/osm/opencellid/api/styles/measurements.mapcss was not found
- 03668.386 W: Failed to load Mappaint styles from 'http://kolesar.turistautak.hu/osm/opencellid/api/styles/measurements.mapcss'. Exception was: java.io.IOException: The requested URL http://kolesar.turistautak.hu/osm/opencellid/api/styles/measurements.mapcss was not found
- 03668.386 E: java.io.IOException: The requested URL http://kolesar.turistautak.hu/osm/opencellid/api/styles/measurements.mapcss was not found
- 46973.561 E: Handled by bug report queue: java.lang.NullPointerException. Cause: java.lang.NullPointerException
}}}

"	defect	needinfo	normal		Core			graphic	
