View Issue Details

IDProjectCategoryView StatusLast Update
0000001Siril[All Projects] Sirilpublic2018-03-07 21:42
Reporterlock42Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status feedbackResolutionopen 
PlatformGNU/Linux 64bitsOSDebianOS VersionTesting
Product Version1.0.0 
Target Version1.0.0Fixed in Version 
Summary0000001: Sequence spinbutton jumps 2 or 3 images at first click
DescriptionIn the sequence tab, when clicking on the spinbutton to navigate to other frames (images), some images (2-3) are skipped. This issue is produced the first time we click on it.
Tagsdisplay, sequence

Relationships

has duplicate 0000056 closed Image selection number steps always by 2, if used "+" and "-" buttons 

Activities

vinvin

2015-06-16 12:39

administrator   ~0000001

I thought it was happening only on slow systems, taking two clicks while trying to display the second image.

lock42

2015-06-16 15:02

administrator   ~0000002

It also occurs on my i7-8Gb. So I think it's not depending of the system.
I Will try on a more powerful computer.

lock42

2015-06-16 21:32

administrator   ~0000004

It seems it not occurs on very powerful computer ...

lock42

2015-06-21 13:18

administrator   ~0000010

OK. It's probably only happening on slow systems and with large image (like DSLR) as was our first clue.
See issue 0000006 and issue 0000013 could probably solve this problem.

vinvin

2017-12-02 00:00

administrator   ~0000430

Think about this with vips tests.

steffens

2018-03-07 21:42

reporter   ~0000489

I often have this - skipping images - on spin button clicks.
Yes, this happens when loading takes time, like with DSLR images.

I can always reproduce this problem when adding a "sleep(5);" to seq_load_image
Then on clicking "+", it will first load the next image, and then directly the next one. It always seems to skip exactly one image.

In the following example, the spin button shows current image number "7", and I press the "+" button once.
As the result, it will load image 8 and 9, finally displaying image 9 and also "9" in the spin button widget.

This is example debugging output_


INPUT: current index in input is 6 (looking for 7)
  found at 0 6
OUTPUT: spinchanged output: index=6
  index already processed or data not init. Current: 6, idx: 6
INPUT: current index in input is 6 (looking for 7)
  found at 0 6
OUTPUT: spinchanged output: index=6
  index already processed or data not init. Current: 6, idx: 6
OUTPUT: spinchanged output: index=7
SPINCHANGED: index=7
---> loading, 5s delay
log: Reading FITS: file M51_00008.fit, 3 layer(s), 6016x4016 pixels
Setting MAX value for cutoff sliders adjustments
setting ranges scalemin=0, scalemax=65535
remap 0
Re-using previous remap_index
remap 1
Re-using previous remap_index
remap 2
Re-using previous remap_index
remaprgb
<--- loading finished
display_image_number: index=7
OUTPUT: spinchanged output: index=8
SPINCHANGED: index=8
---> loading, 5s delay
log: Reading FITS: file M51_00009.fit, 3 layer(s), 6016x4016 pixels
Setting MAX value for cutoff sliders adjustments
setting ranges scalemin=0, scalemax=65535
remap 0
Re-using previous remap_index
remap 1
Re-using previous remap_index
remap 2
Re-using previous remap_index
remaprgb
<--- loading finished
display_image_number: index=8
INPUT: current index in input is 8 (looking for 9)
  found at 0 8
OUTPUT: spinchanged output: index=8
  index already processed or data not init. Current: 8, idx: 8

Issue History

Date Modified Username Field Change
2015-06-16 09:40 lock42 New Issue
2015-06-16 10:41 lock42 Tag Attached: display
2015-06-16 10:41 lock42 Tag Attached: sequence
2015-06-16 12:39 vinvin Note Added: 0000001
2015-06-16 12:39 vinvin Status new => confirmed
2015-06-16 13:27 lock42 Product Version => 0.9.0
2015-06-16 13:27 lock42 Target Version => 0.9.0
2015-06-16 15:02 lock42 Note Added: 0000002
2015-06-16 16:09 lock42 Assigned To => lock42
2015-06-16 16:09 lock42 Status confirmed => assigned
2015-06-16 17:25 lock42 Status assigned => confirmed
2015-06-16 21:32 lock42 Note Added: 0000004
2015-06-21 13:18 lock42 Note Added: 0000010
2015-06-21 13:19 lock42 Relationship added child of 0000013
2015-06-21 13:22 lock42 Product Version 0.9.0 => 1.0.0
2015-06-21 13:22 lock42 Target Version 0.9.0 => 1.0.0
2015-08-06 08:19 lock42 Relationship added has duplicate 0000056
2016-11-26 20:33 vinvin Relationship deleted child of 0000013
2016-12-19 16:32 lock42 Category General => Software Development
2016-12-19 16:50 lock42 Category Software Development => Software
2016-12-19 23:30 lock42 Category Software => Siril
2017-12-02 00:00 vinvin Priority normal => high
2017-12-02 00:00 vinvin Assigned To lock42 =>
2017-12-02 00:00 vinvin Status confirmed => feedback
2017-12-02 00:00 vinvin Note Added: 0000430
2018-03-07 21:42 steffens Note Added: 0000489