NOAA-PMEL/LAS

Print inconsistencies

Closed this issue · 2 comments

Reported by Ansley Manke:

A problem they've been seeing in the MyNASAdata LAS., https://mynasadata.larc.nasa.gov/EarthSystemLAS/

The sequence is this:

  • plot April data
  • plot October data
  • hit the print button that's BELOW the plot, and the "Print" page
    contains the April plot and annotations info.

It doesn't happen if you use the Print button along the top of the window.

LAS_Print_button

The reason there are print buttons on the output panels as well as the main UI is for the instance that you have more than one panel open. In the case of two panels open, each individual panel print button makes a page with only that image. I suppose hiding the one in the panel when there is only one panel open might make sense, but I don't like things appearing and disappearing from the interface so I'm inclined to leave the behavior as it is now and just fix the bug.

I can see in the code where the URL for the old plot might get used for the print button before the new URL is set so I have fixed this potential inconsistency in b46efa6.

I will make a maintenance release.