Skip to content

[Bug]: Translation result buttons provide no click feedback #1068

Description

@quanru

Existing issues

  • I searched open and closed issues and didn't find this already reported.

What happened?

The translation result panel's Copy, Replace, and Dismiss buttons execute their actions, but provide no visible pressed feedback when clicked.

The shared ModalActionButtonStyle derives its visual state from:

hovered || configuration.isPressed

Hover and press therefore render identically. Once the pointer enters a button, pressing it cannot produce another visual state.

Expected: pressing any action button produces a clearly visible pressed state. Actual: the action runs, but the button looks unchanged while clicking.

Steps to reproduce

  1. Select text in another app.
  2. Run the Translate quick action with result preview enabled.
  3. Wait for the translation result panel.
  4. Move the pointer over Copy, Replace, or Dismiss.
  5. Press and hold the mouse button.
  6. Observe that the button looks the same as its hover state.

Screenshots or recording

The CI scenario uses Midscene aiAct, startObserving() at 200 ms intervals, and five panel-only captures during mouse-down. All three actions execute in both builds. Before the fix, every pressed capture is byte-identical to hover; after the fix, every pressed capture differs.

Tinycast version + channel

Tinycast 0.11.3 (build 99), stable channel; also present on current main.

macOS version

macOS 26.6.2 (25G83)

Contribution

  • I'm willing to implement this myself once this issue is labelled approved.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedGreen-lit. A PR may link this issue and will pass the gate.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions