geodesymiami / insarmaps

3 stars 0 forks source link

Bug in selecting second date for time period selection. #22

Closed falkamelung closed 4 years ago

falkamelung commented 4 years ago

In the timeseries window we can select a time period for display by left-clicking (holding down option key) and clicking on the date. This works fine for the first (early) date, but for the second (late) date it selects the prior date (a -1 problem). Lets assume the images are 1 April, 7 April, 14 April, 21 April, 28 April, 30 April, . If I select 7 April and 28 April, it will display 7 April to 21 April..

As a result of this bug, If I select two consecutive dates, It will display something weird showing only one date in the middle as shown below.

Enhancement suggestion: It would be great, once a time period is selected to use the left-arrow or right-arrow key to move forward. For example, once 7 April to 14 April is selected, clicking right-arrow would display 14 April-21 April and next right-click 21 April-28 April. If the selected time period is 1 April to 14 April, right-arrow would display 14 April-28 April (As spacing can be uneven, we would calculate the second date of the second period and round it - it should display 14 April to 27 April but it will select 28 April)

image
stackTom commented 4 years ago

Fixed. Will open a new enhancement request for the enhancement.