touch-bar-simulator icon indicating copy to clipboard operation
touch-bar-simulator copied to clipboard

Touch Bar is offline when I use External display. With closing MacBook Pro

Open Nikolassos opened this issue 4 years ago • 6 comments

Touch Bar is offline when I use External display. With closing MacBook Pro

Nikolassos avatar Apr 27 '20 06:04 Nikolassos

I am also seeing this. Interestingly, it is not immediate. When I close the laptop the touchbar continues to operate for a time (which varies)and then goes black. I am running 10.15.5

LinnStanton avatar Jun 07 '20 03:06 LinnStanton

i'm having the same strugles on an mbp 15.6" 2018. I have a wall mount for the laptop and an usb-c monitor. Touch Bar Simulator runs fine with the display open, but thats when i don't need it. When the display closes Touch Bar Simulator immediately turns to a black window. like it is displaying the touchbar on a window. If i touch the touchbar i see it on the window on my display.

baaskaas avatar Nov 23 '20 17:11 baaskaas

@sindresorhus Any update about this? The whole point of using this software for me was using it on closed Macbook with external display.

Lotuashvili avatar Mar 10 '21 16:03 Lotuashvili

I don't have an external display, so I'm not able to even reproduce this.

sindresorhus avatar Mar 10 '21 16:03 sindresorhus

This issue exists in Monterey even without an external monitor. The simulator prints some related logs while debugging.

2021-12-16 15:03:03.738093+0800 Touch Bar Simulator[240:18286708] [General] Accessibility: Not vending elements because elementWindow(1000) is lower than shield(2147483628)

In my case, buttons still exist(but can't be seen) on the simulator as they can be activated by clicking even after switching windows.

After debugging for a couple of days, I found the logs above are irrelevant. The real reason may be that the TouchbarServer or something else which sends frames to the simulator always thought that the simulator is sleeping since the OS slept the first time. But I found no way to notify after wakeup. So I take a straightforward way to rebuild the stream after OS wakeup.

The fix is public in my fork, and I also build a release for testing.

kitt1987 avatar Dec 16 '21 07:12 kitt1987

I actually thought the whole point with TBS was to have a Touchbar also when in clamshell mode. If you need to have the lid open, you only end up with two Touchbars. Of course, not on the new MBPs that have no TB, but clamshell mode would still be a very useful feature.

petugg avatar Jun 08 '22 08:06 petugg

Closing as this app is now discontinued.

sindresorhus avatar Mar 06 '24 17:03 sindresorhus