Skip to content

Remove All Gaps Alters Visuals for Clips with Overlapping Positions #5695

@Seandagan

Description

@Seandagan

**Proposed fix **
#5694

Describe the bug:
When using the Remove All Gaps operation on multiple clips that share the same position after a gap (referred to as overlapping clips), one of the clips in the group is moved to close the gap. This behaviour alters the visual arrangement of the timeline, even though the total duration remains unchanged.

Steps to reproduce the behavior:

  1. Create multiple clips with overlapping start positions after a gap.
  2. Use the Remove All Gaps operation.
  3. Observe that one clip is moved to close the gap, disrupting the visual alignment of the timeline.

Expected behavior:
The Remove All Gaps operation should preserve the visual alignment of overlapping clips while closing gaps.

System Details:
INFO app: ------------------------------------------------
INFO app: OpenShot (version 3.3.0)
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 3.3.0
INFO app: libopenshot version: 0.4.0

Log Files:
If you are experiencing a crash, please collect and attach logs of the problem. Log files can be found in the .openshot_qt folder in your user home directory. Log files over 2 MB in size will need to be compressed, please attach a ZIP file instead of the raw logs.

Exception / Stacktrace:
If you are experiencing a crash or strange output on the command line, please attach a small snippet of the exception here, but please keep it as small as possible (for readability).

Screenshots: (Optional)
If applicable, add screenshots to help explain your problem. To include screenshots, copy/paste them here, drag the image(s) into this form, or click the link below this edit field to load images saved to your computer. All images are public, so please don't post screenshots containing personal information.

Metadata

Metadata

Labels

🐞 bugA bug, error, or breakage of any kind

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions