Skip to content

Coordinate picker passes the pick click through to the app underneath and shows no crosshair #43

Closed

Description

@TMHSDigital

Summary

Pick Location hides the window and listens for a global left-button-down with mouse.on_button. The hook can't suppress the event, so the pick click also lands on whatever is under the cursor: it presses buttons, focuses windows, follows links, or places a game piece. There's also no crosshair or live coordinate readout, although the README says the picker has "visual feedback".

Evidence

  • autoclicker/utils/coordinate_picker.py:50-52 — mouse.on_button(self._on_mouse_click, buttons=("left",), types=("down",)) (no suppression on Windows).
  • autoclicker/gui/main_window.py:193-207 — root.withdraw() is the only feedback.
  • README.md:50 — "Click-to-select target locations with visual feedback".

Suggested approach

Replace the global hook with a borderless, topmost, nearly transparent Tk overlay that covers the virtual desktop (alpha ≈ 0.01–0.2, crosshair cursor):

Done when

  • Picking never sends a click to the underlying application.
  • A live coordinate readout is visible while picking; Esc cancels.
  • Works across all monitors.

Activity

  1. added
    bug
    priority: medium
    ux
    on Oct 4, 2026
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

    bugpriority: mediumux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions