Modify

Opened 15 years ago

Closed 15 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 15 years ago.
status

Download all attachments as: .zip

Change History (10)

comment:1 by bilbo, 15 years ago

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 by skyper, 15 years ago

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 by skyper, 15 years ago

Component: Core imageryCore

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

comment:4 by skyper, 15 years ago

Priority: majorminor

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

in reply to:  3 comment:5 by skyper, 15 years ago

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 by skyper, 15 years ago

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 by skyper, 15 years ago

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.

by skyper, 15 years ago

Attachment: status_4740.log added

status

comment:8 by jttt, 15 years ago

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 by jttt, 15 years ago

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. 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.