In View/VID on macOS, the on-down event is not detected on an image.

Open
#5,676 0 comments 1 reaction 2 assignees View on GitHub

@dockimbel is already working on this.

Since Jan 20, 2026.

Assessment

This issue has not been assessed yet.

Description

GUI.macOS type.bug

One workaround is to replace "image" by "base"

To reproduce
Just run this code on macOS

Red [ about: "on-down with image" ]

square: draw 50x50 [ pen red fill-pen red box 0x0 50x50]

; only base reacts to mouse left click
view layout [
	style img: base 100x100

	text "click the red square (no effect)"
	a: image square on-down [ print "image on-down"] 

	b: base on-down [ print "base on-down"]

	c: img on-down [ print "img on-down"]

	return

	button "click to print informations" [
		print "image actors ..."
		probe a/actors 
		print "base actors ..."
		probe b/actors
		print "img actors ..."
		probe c/actors
		?? system/view/vid/styles/image
	]
]

Expected behavior
Clicking on the red square should print "image on-down", but the click has no effect.

The same code on Windows 8 runs as expected and it displayed the very same informations about actors.

Platform version
RED: [ branch: "master" tag: #v0.6.6 ahead: 0 date: 19-Mar-2025/13:09:25 commit: #6942c7a021253150c3e3cf90428305892340db03 ]
PLATFORM: [ name: "macOS El Capitan" OS: 'macOS arch: 'x86-64 version: 10.11.6 build: "15G22010" ]

Dominant language
Red
Stars
6k
Forks
416
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from red/red

All issues in red/red

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.