Modify

Opened 10 years ago

Closed 10 years ago

#4740 closed defect (fixed)

Map view sometimes turns black

Reported by: bilbo Owned by: team
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

I upgraded JOSM to version 3139 and I noticed that sometimes the map view turns black briefly for some time.

I found a way to trigger this bug - load some data with duplicate nodes in it, then run validator byt pressing the "Validation" button. Click once on the "Duplicate nodes" header and map view will turn black except some small rectangle (some problem with offscreen buffers?), though doing anything else (scrolling, doubleclicking the "Duplicate nodes" to select the duplicated nodes, etc ...) will cause the map view to redraw normally.

I am running JOSM on linux.

Attachments (1)

status_4740.log (5.8 KB) - added by skyper 10 years ago.
status

Download all attachments as: .zip

Change History (10)

comment:1 Changed 10 years ago by bilbo

I found that if I have any WMS layer visible, then this problem does not happen. But it happen always, if there are no WMS layer or they are all hidden (not visible).

comment:2 Changed 10 years ago by skyper

Component: CoreCore imagery

at least with sun and r3040 for me and WMS o19992 + WMS-turbo-challenge2, too.

Without these Plugins it does not appear.

comment:3 Changed 10 years ago by skyper

Component: Core imageryCore

Sorry it also appeared without WMS. Though the only occasion was with the exit-dialog.

comment:4 Changed 10 years ago by skyper

Priority: majorminor

only the active layer is affected and zooming/scrolling gets JOSM to repaint again.

comment:5 in reply to:  3 Changed 10 years ago by skyper

Replying to skyper:

Sorry it also appeared without WMS. Though the only occasion was with the exit-dialog.

and save-dialog but I think they are the same.

comment:6 Changed 10 years ago by skyper

In my case it is definatly a core problem with more than one layer. It happens reproducably after the save dialog.

A side effect maybe that with some plugins the quick info also produces this bug. In my case WMS did it yesterday.

r3141 with sun and r3140 with openjdk both gtk.

comment:7 Changed 10 years ago by skyper

After some time working it happens even with one layer and no plugins. If the quick info vanishes the map is not redrawn right away.

Changed 10 years ago by skyper

Attachment: status_4740.log added

status

comment:8 Changed 10 years ago by jttt

I think I know what is the problem - only part of MapView is painted - this painted part is saved to the cache - later when complete MapView should be painted cache is used, but it contains only part of the image.

comment:9 Changed 10 years ago by jttt

Resolution: fixed
Status: newclosed

(In [3144]) Fix #4740 Map view sometimes turns black

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.