arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.22k stars 379 forks source link

Add macOS Touch Bar support #2094

Open czo opened 1 year ago

czo commented 1 year ago

Describe the problem

The Touch Bar on my MBP does not display Arduino IDE related buttons on it. Only the Emoji picker are displayed (which is there any time the cursor is in a textual input field).

Touch Bar content on 2.1.0:

Touchbar-2 1 0

on 1.8.19:

Touchbar-1 8 19

To reproduce

Run Arduino IDE on any Touch Bar equipped MacBook Pro (problem occurs both on Intel and ARM).

Expected behavior

Touch Bar works like before.

Arduino IDE version

2.1.1-nightly-20230609

Operating system

macOS

Operating system version

macOS 13.4 (22F66)

Issue checklist

kittaakos commented 1 year ago

IDE2 needs to implement TouchBar:

Note: The TouchBar API is currently experimental and may change or be removed in future Electron releases.

Arduino IDE 1.x changes: https://github.com/arduino/Arduino/commit/d4d70623915666521843eaca265e52f9310140d6