← Back to team overview

hugin-devs team mailing list archive

[Bug 1993959] [NEW] Lens calibration gui caches removed images

 

Public bug reported:

OS: Windows 10
Hugin 2021.0.0.52df0f76c700, standalone lens calibration GUI run via start menu shortcut from installer.

On the lens calibration GUI, if an image is removed (with "remove"
button) then re-added with the "add" button, a cached copy of the image
seems to be loaded, rather than the image file being reloaded.

This prevents images from being edited externally then reloaded, because
re-adding the removed image adds the old copy, not the new modified
file. The workaround is to either rename the image file before re-
adding, or restart the lens calibration GUI.

Steps:
1. Add an image
2. Edit the image with an external program and save it
3. Remove the image (this and previous step can be swapped)
4. Add the image again

Expected:
Edited image is loaded into lens calibration GUI

Actual:
Old image is loaded into lens calibration GUI

Note: I am not sure what the purpose is of caching the images at all.
It's not really a performance issue in the calibration GUI.

** Affects: hugin
     Importance: Undecided
         Status: New

** Description changed:

  OS: Windows 10
  Hugin 2021.0.0.52df0f76c700, standalone lens calibration GUI run via start menu shortcut from installer.
  
  On the lens calibration GUI, if an image is removed (with "remove"
  button) then re-added with the "add" button, a cached copy of the image
  seems to be loaded, rather than the image file being reloaded.
  
  This prevents images from being edited externally then reloaded, because
  re-adding the removed image adds the old copy, not the new modified
  file. The workaround is to either rename the image file before re-
  adding, or restart the lens calibration GUI.
  
  Steps:
  1. Add an image
  2. Edit the image with an external program and save it
  3. Remove the image (this and previous step can be swapped)
  4. Add the image again
  
  Expected:
  Edited image is loaded into lens calibration GUI
  
  Actual:
  Old image is loaded into lens calibration GUI
  
  Note: I am not sure what the purpose is of caching the images at all.
- It's not really a performance issue in the calibration GUI and also
- generally speaking software caching is rather redundant to OS level file
- access caching anyways.
+ It's not really a performance issue in the calibration GUI.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1993959

Title:
  Lens calibration gui caches removed images

Status in Hugin:
  New

Bug description:
  OS: Windows 10
  Hugin 2021.0.0.52df0f76c700, standalone lens calibration GUI run via start menu shortcut from installer.

  On the lens calibration GUI, if an image is removed (with "remove"
  button) then re-added with the "add" button, a cached copy of the
  image seems to be loaded, rather than the image file being reloaded.

  This prevents images from being edited externally then reloaded,
  because re-adding the removed image adds the old copy, not the new
  modified file. The workaround is to either rename the image file
  before re-adding, or restart the lens calibration GUI.

  Steps:
  1. Add an image
  2. Edit the image with an external program and save it
  3. Remove the image (this and previous step can be swapped)
  4. Add the image again

  Expected:
  Edited image is loaded into lens calibration GUI

  Actual:
  Old image is loaded into lens calibration GUI

  Note: I am not sure what the purpose is of caching the images at all.
  It's not really a performance issue in the calibration GUI.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1993959/+subscriptions



Follow ups