Skip to content

CSSTUDIO-3780 Bugfix: Boolean Button in "Push"/"Push (inverted)" mode should only write to the PV when left-clicking.#3890

Merged
abrahamwolk merged 1 commit into
masterfrom
CSSTUDIO-3780
Jul 20, 2026
Merged

CSSTUDIO-3780 Bugfix: Boolean Button in "Push"/"Push (inverted)" mode should only write to the PV when left-clicking.#3890
abrahamwolk merged 1 commit into
masterfrom
CSSTUDIO-3780

Conversation

@abrahamwolk

Copy link
Copy Markdown
Collaborator

Currently, when using a Boolean Button widget in either "Push" or in "Push (inverted)" mode, right-clicking (or, more generally, any non-primary mouse button) on the Boolean Button will write to the PV connected to the Boolean Button.

This pull request fixes this by checking that the primary mouse button (i.e., usually the left mouse button) was clicked before attempting to write to the PV connected to the Boolean Button.

  • Testing:
    I have tested the change manually locally.

  • Documentation:

    • The feature is documented
    • The documentation is up to date
    • Release notes:
      • Added an entry if the change is breaking or significant
      • Added an entry when adding a new feature

@sonarqubecloud

Copy link
Copy Markdown

@abrahamwolk abrahamwolk changed the title CSSTUDIO-3780 Bugfix: Boolean Button in "Push"/"Push (inverted)" mode only writes to the PV when left-clicking. CSSTUDIO-3780 Bugfix: Boolean Button in "Push"/"Push (inverted)" mode should only write to the PV when left-clicking. Jul 20, 2026
@abrahamwolk
abrahamwolk merged commit 51a9bf6 into master Jul 20, 2026
11 checks passed
@abrahamwolk
abrahamwolk deleted the CSSTUDIO-3780 branch July 20, 2026 14:09
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.

3 participants