touch-bar-simulator
touch-bar-simulator copied to clipboard
Touch Bar is offline when I use External display. With closing MacBook Pro
Touch Bar is offline when I use External display. With closing MacBook Pro
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
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.
@sindresorhus Any update about this? The whole point of using this software for me was using it on closed Macbook with external display.
I don't have an external display, so I'm not able to even reproduce this.
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.
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.
Closing as this app is now discontinued.