Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10811 closed defect (fixed)

[PATCH] Handle GeoImageLayer thumbnail load status during layer merge

Reported by: holgermappt Owned by: team
Priority: normal Milestone: 14.12
Component: Core image mapping Version:
Keywords: Cc:

Description

Hi,

This patch fixes a problem if a GeoImageLayer without loaded thumbnails is merged with a layer with thumbnails loaded. Right now the thumbnail load status is true which is wrong for the images of the merged layer (file GeoImageLayer.java). To avoid to load a thumbnail a second time the thumbnail loader checks for loaded thumbnails (file ThumbsLoader.java).

Note: I used thumbsLoaded of the other layer directly. Depending on the class interface policy it might be necessary to do that with a getter. Is there such a policy?

Holger

Attachments (1)

GeoImageLayer_merge_thumbsLoaded.patch (1.5 KB) - added by holgermappt 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by holgermappt

comment:1 Changed 5 years ago by stoecker

Milestone: 14.12

comment:2 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 7784/josm:

fix #10811 - Handle GeoImageLayer thumbnail load status during layer merge (patch by holgermappt)

comment:3 Changed 5 years ago by Don-vip

thanks for the patch!

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.