Different behavior between cmd-f and the built OSX fullscreen function

Steps causing the bug to occur

Really strange behavior here !

1 - Make a composition that calculates a font size based on the window size (“showed window” port to “get window dimension node” and “pixels wide” to a “calculate” node for the “Make Font Point Size” port.

2 - Go fullscreen using the OSX green button function, all goes fine, text size updates.

3 - Go fullscreen using cmd-f, sometimes the size updates, sometimes not (more often not) !

4 - Show a monitor port window on the “showed window” output port. Go fullscreen using cmd-f, the text size doesn’t update, but the monitor shows a last event that just triggered (I guess it only triggers when you leave the fullscreen).

4 - Add a “measure time” node that resets each time showed window" fires and event and run the same tests again. Boom, text size updates on every cmd-f command.


Even more bizarre, if I screencast the window to upload a video using Quicktime, the cmd-f function fires all events. Stop screen casting, happens again.

Attached the composition and some screenshots. Hope you can recreate it.

Have you found a workaround?

Other notes

  • Vuo version: 1.2.1
  • macOS version: OS X 10.11
  • How severely does this bug affect you? It’s annoying but I can work around it.

Compositions.zip (3.59 KB)


Cmd-F (size not updated).png

OSX 12.11 Green Button (size updated).png

Event Still Fires with Cmd-F.png

I couldn’t reproduce the problem with steps 1-3, but I did see it when using QuickTime to take a screen recording. Apparently the extra load that the screen recording puts on the system was enough to expose a timing problem. The Pixels Wide output of Get Window Dimensions sometimes outputs the wrong number. I guess the window resizing may not be complete by the time the Showed Window trigger fires, and thus Get Window Dimensions is picking up the old size.

Perhaps it’s more obvious with this composition.

It loads fullscreen width the false screen height for me which is the default duo composition height, I get fullscreen out using cmd-f, stays at 1,5 (which is true as it is the default composition widow height) and as much as I repeat going fullscreen in and out using cmd-f, height stays at 1,5.

As soon as I use the OSX function, it changes to height value = 1,25.

Could this be a difference in the fact that cmd-f is a keyboard command and fullscreen a mouse action ? Mouse action would send a refresh where the keyboard would not ?
Or as you mention, a schedule error.

Noticed also that when going fullscreen with cmd-f, you can only go out with command-f, when fullscreen with OSX, cmd-f gets us out. Guess that has to do with how Vuo manages its fullscreen method.

Composition.vuo (4.08 KB)

Guess that has to do with how Vuo manages its fullscreen method.

Indeed. Vuo has its own fullscreen implementation because OS X’s built-in implementation doesn’t allow you to specify which screen the window goes fullscreen on.

We made some improvements to the fullscreen implementation in Vuo 1.2.4 that may have fixed the problem. @Bodysoulspirit, if you’re still seeing the problem, please let me know.

1 Like

Seems fixed ! Cool