VSE locked strips moves with gaps tools
Closed, InvalidPublic


System Information
Ubuntu 16.10
Intel® Core™ i7 CPU 960 @ 3.20GHz × 8
GeForce GTX 480/PCIe/SSE2

Blender Version
Broken: 2.78b 3c043732d3f
Worked: (optional) probably never.

Short description of error
Strips that are locked in the VSE does move when you use Insert/Remove Gaps.
Locked strips should be locked in place no matter which tools you chose to use.

Exact steps for others to reproduce the error
3 clips with gaps.
Lock the last one.
Positioned at first one, remove gaps.
See gap between clip1 and clip2 dissapear but do also see clip3 move!



Confirmed with master hash d2f4900. Also positioning cursor over clip 2 and removing gaps also moves clip 3 - basically locking has no effect on the remove gaps command.

Is it possible that this is intentional for some arcane reason?

In fact, in the description of the command (hover over it), it does say "independent of selection or locked state of strips" so I guess this is intentional.

Hmm, so it does...
Is this for a special reason? Not affecting locked strips would be much more useful. As it is now you can't use the two of them together in any meaningful way (That I can see)

Yes. There is no bug, here. It is clearly mentionned in tooltip.

Independent of selection or locked state of strips

Generally, you choose to lock a strip to avoïd accidental editing.

But the same way that length of clip can be judged satisfying and locked; gap between locked strip and previous one can be judged satisfying when strip is locked.
If position is locked when you remove gaps between previous strip, gap between locked strip and previous one is changed which can be unsatisfying.

You can't lock both, position and gap with previous strip at same time.
A choïce was made to preserve previous gap. It does not mean that there si no workaround to preserve position.
You can create a metastrip with unlocked strips and use Remove Gaps inside meta-strip.
Or, you can avoïd Remove Gaps operator, move precisely current frame to end of a clip, select strips to move and use snap menu.