Skip to content

9697 Add setting to configure whether clicking on ruler should trigger playback - #9707

Merged
embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:9697-click-ruler-to-start-playback-setting
Oct 21, 2025
Merged

embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:9697-click-ruler-to-start-playback-setting

Conversation

@embarc-gabriel

Copy link
Copy Markdown
Contributor

Resolves: #9697

Add setting on the timeline context menu to configure whether clicking on the timeline should trigger playback.

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Autobot test cases have been run

@embarc-gabriel embarc-gabriel changed the title 9697 Add settings to configure if click on ruler will trigger playback 9697 Add setting to configure whether clicking on ruler should trigger playback Oct 20, 2025
@embarc-gabriel
embarc-gabriel force-pushed the 9697-click-ruler-to-start-playback-setting branch from f0ca7f4 to a9ea38a Compare October 20, 2025 14:02
@embarc-gabriel
embarc-gabriel force-pushed the 9697-click-ruler-to-start-playback-setting branch from a9ea38a to c59a5b2 Compare October 20, 2025 15:48
@embarc-gabriel
embarc-gabriel force-pushed the 9697-click-ruler-to-start-playback-setting branch from c59a5b2 to bcce474 Compare October 20, 2025 15:49
@luapmartin

Copy link
Copy Markdown
Contributor

about the naming of the action why do we need the "-enabled" suffix?

we don't use it for another toggle like the loop-region:

        makeMenuItem("toggle-playback-on-ruler-click-enabled"),
        makeSeparator(),
        makeMenuItem("toggle-loop-region"),

could we call that "start-playback-on-ruler-click"

I don't think we need toggle or enabled words

"start-playback-on-ruler-click" this is more explicit if true it "start playback on ruler click" if false it doesn’t

what do you think @Eism @embarc-gabriel ?

NOTE: "toggle-loop-region" is fine for me

@embarc-gabriel
embarc-gabriel merged commit 3873b90 into audacity:master Oct 21, 2025
@Eism

Eism commented Oct 21, 2025

Copy link
Copy Markdown
Collaborator

"start-playback-on-ruler-click" this is more explicit if true it "start playback on ruler click" if false it doesn’t

But you are suggesting a name for the action, and according to your version, when the action is called, the developer will expect the playback to start, and not the setting to be switched.

(As I understand the issue, after the user turns on the setting, playback will start when the user clicks on the ruler)

@luapmartin

Copy link
Copy Markdown
Contributor

then toggle-playback-on-ruler-click without the -enabled

@embarc-gabriel
embarc-gabriel deleted the 9697-click-ruler-to-start-playback-setting branch August 28, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New setting for clicking the ruler to trigger playback (default: OFF)

3 participants