Select Image dialog refreshes over and over

Started by bdefloo, January 14, 2013, 12:46:42 PM

Previous topic - Next topic

bdefloo

Hi,

Thanks for fixing the bug in the Image library that caused it to refresh over and over whenever something changed, once for every image in the library. However, the same thing seems to be happening when opening the "Select Image" dialog, under for example Map Properties->Map background tab, causing an unneccessary delay in selecting an image.

Keep up the great work!

Kind regards,
bdefloo

bdefloo

Found another possible bug; someone may need to confirm it.

If you change an image in the image library while a network map is open, and you're not changing that map's background image, the map needs to be closed and reopened before you can view it.

I'm having issues editing existing map backgrounds in the image library and uploading new images over them. The map I uploaded a new image for still views fine, ones that I didn't touch don't. This in v1.2.5 with the x64 Windows console.

Alex Kirhenshtein

Select image dialog load all images to show preview, but it should be done only once. I'll add background sync on login, or maybe we will generate thumbnails for images.

I'm unable to replicate issue with background not changed. My test case was:
* I upload new image into image library
* I created two maps and set background to test image from library
* Restarted client to flush all caches
* Open one map
* Replace image file for that image in Image Library

Can you please provide more details about files you use? File size, image size?

bdefloo

#3
Hi,

My two posts are two mostly unrelated problems. I probably should've posted them in a seperate topic.

I just recreated the problem in the first post as follows:
I have an image library of some 30 images. I add another image. When I then open the properties of a map, and click "..." on the Map background page, I get the "Select image" dialog. All the images are shown in it within a second or two. However, it reloads several times after that, the scrollbar each time jumping back to the top.
(Note: I only just now discovered that something has to have changed in the image library before this behaviour appears.)

Second problem:
Suppose I have 2 maps, A and B, each with a background image. I have both maps open in the console, and in the image library right click the background image for map A and select edit. Then, I select a different image file using the "..." button and click OK.
Now, I switch back to the tab with map A. It's now using the newly selected background image. Switch to tab B, it's no longer showing anything (or just some remnants from the last tab I was looking at)

I'm using PNG images, the ones I used for these test were 752x480, about 900k ~ 1MB in size.

Hope this helps you to track down the issues!

Kind regards,
Bastiaan

bdefloo

Hi,

Have you been able to find out more about this problem yet?

I have found a workaround for the first problem, namely just cancelling the "Select image" dialog immediately and opening it again. It only does the refreshes the first time it's opened after changing an image.

Kind regards,
bdefloo