Skip to content

"editing a clip can move other clips" setting bug #3998

Closed

Description

@DavidBailes

Bug description

Once this setting is enabled, disabling it has no effect.

Steps to reproduce

Start with default configuration:

  1. Create an audio track containing two clips.
  2. Delete part of the first clip. The second clip does not move as expected.
  3. Enable "editing a clip can move other clips" in track behaviors in preferences.
  4. Delete part of the first clip. The second clip moves as expected.
  5. Disable "editing a clip can move other clips" in track behaviors in preferences.
  6. Delete part of the first clip.

Expected behavior

The second clip does not move.

Actual behavior

The second clip moves.

Audacity Version

latest 3.2.2 beta - and 3.2.0 & 3.2.1

Operating system

Windows

Additional context

This is a regression wrt 3.1.3

Activity

  1. added
    AU3-bug
    regression
    on Nov 30, 2022
  2. DavidBailes commented on Nov 30, 2022

    @DavidBailes
    CollaboratorAuthor

    Had a quick look at the code. This setting makes use of the class BoolSetting, which is also used by several other settings. I checked one of them - track behaviors > enable scrolling left of zero, and it has the same bug as "editing a clip can move other clips". So a number of other settings may be affected by the same bug.

  3. added this to the Audacity 3.2.3 milestone on Dec 1, 2022
  4. self-assigned this
    on Dec 1, 2022
  5. Paul-Licameli commented on Dec 1, 2022

    @Paul-Licameli
    Collaborator

    See commit 3598fe4 and issue #3399

  6. added
    P2
    on Dec 1, 2022
  7. Paul-Licameli commented on Dec 1, 2022

    @Paul-Licameli
    Collaborator

    See the easy one-line fix at #4005
    Which is marked draft, until we know it's complete, addressing all checkboxes in all Preferendes.

  8. Paul-Licameli commented on Dec 1, 2022

    @Paul-Licameli
    Collaborator

    I think #4005 is now the comprehensive fix. I reviewed all calls to the Tie... functions taking Settings objects that are not Choice or Enum settings (those don't define Invalidate()). One of these isn't a BoolSetting but IntSetting.

  9. moved this from Todo to Review in progress in Kanban boardon Dec 1, 2022
  10. petersampsonaudacity commented on Dec 2, 2022

    @petersampsonaudacity

    Testing on W10 @Paul-Licameli 's draft branch: audacity-win-3.2.2-alpha-20221201+e174945-x64

    I confirm that this now works properly in Paul's branch for the setting for Editing a clip can move other clips in Tracks Behaviors preferences, where changes of setting are now properly honored.

    I do not have time to exhaustively test all of the checkbox settings in all preferences.

    One cannot be properly tested until a subsequent release is made and that is Check for updates in Application preferences.

  11. moved this from Review in progress to Ready for QA in Kanban boardon Dec 2, 2022
  12. moved this from Ready for QA to In QA in Kanban boardon Dec 2, 2022
  13. self-assigned this
    on Dec 2, 2022
  14. dozzzzer commented on Dec 2, 2022

    @dozzzzer
    Contributor

    Verified on macOS and Windows 11.

  15. moved this from In QA to Ready for merge in Kanban boardon Dec 2, 2022
  16. moved this from Ready for merge to Done in Kanban boardon Dec 2, 2022
  17. petersampsonaudacity commented on Dec 3, 2022

    @petersampsonaudacity

    Testing on W10 with latest 3.2.2 beta: audacity-win-3.2.2-beta-20221202+05c36ac-x64-msvc2022

    Testing shows that this now works properly on Windows for the setting for Editing a clip can move other clips in Tracks Behaviors preferences, where changes of setting are now properly honored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

AU3-bugP2regression

Type

No type

Fields

Priority

None yet

Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions