Try clicking with the middle mouse button. It's the same button you use when clicking a diagnostic that has an action.  

João Távora

On Tue, Apr 29, 2025, 00:32 Elijah Gabe Pérez <eg642616@gmail.com> wrote:
João Távora <joaotavora@gmail.com> writes:

> They should be mouse clickable, though the margin and fringe are contested for multiple functions (like
> opening the Flymake diagnostics buffer when theres a diagnostic on the line).
>
> So please provide an Emacs -Q recipe for reproducing your problem exactly.

1. Run emacs -Q
2. eval:
    (set-window-margins (get-buffer-window) 3)
    (setopt eglot-code-action-indications
            '(eldoc-hint margin nearby mode-line))
3. Open a file which supports eglot (example: any Emacs C source file) and
   enable eglot.
4. Move cursor/point to where there is any code action available.
   (for example in any Emacs C source file, move to any DEFUN or macro)
5. And click the 💡 icon where it appears (margin/mode-line/before point).

   It doesn't nothing, something curious is that with mode-line/nearby
   options the lightbulb icon have a `mouse-face' property, which gives the
   impression that you can click it.

--
                                          - E.G via GNU Emacs and Org.