Modify

Opened 5 years ago

Closed 5 years ago

#19814 closed defect (worksforme)

Graphic bug after screen resolution switching

Reported by: StephaneP Owned by: StephaneP
Priority: normal Milestone:
Component: Core Version:
Keywords: graphic Cc:

Description (last modified by 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

Attachments (1)

vertical_tearing.mp4 (6.0 MB ) - added by StephaneP 5 years ago.

Change History (8)

by StephaneP, 5 years ago

Attachment: vertical_tearing.mp4 added

comment:1 by Klumbumbus, 5 years ago

Owner: changed from team to StephaneP
Status: newneedinfo

Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.

Please add all needed information according to this list:

  • The required parts of the Status Report from your JOSM.
  • Describe what behaviour you expected.
  • Describe what did happen instead.
  • Describe if and how the issue is reproducible.
  • Add any relevant information like error messages or screenshots.

To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Helpsource:trunk/resources/images/bug.svg Report Bug.

Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!


comment:2 by StephaneP, 5 years ago

Description: modified (diff)

comment:3 by StephaneP, 5 years ago

Sorry, Report added.

comment:4 by Klumbumbus, 5 years ago

It might be helpful to restart JOSM after the screen resolution changes. You can also try Java 14 instead of Java 8 (if you don't need webstart) if that improves the situation for you.

comment:5 by StephaneP, 5 years ago

Yes, restarting Josm fix the problem, but that's a workaround.

I'll test with Java 14 later.

comment:6 by StephaneP, 5 years ago

It's fixed with Java 14. I'll keep it instead of the v8 JRE.
Thank you!

comment:7 by Klumbumbus, 5 years ago

Resolution: worksforme
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain StephaneP.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.