Not directly filed as a bug report as I first wanted to know if this is the intentional behavior but when we select a window to set it to front by clicking on it, "Receive Mouse Clicks" directly fires an event.

May be unhandy for all the drawing stuff.

Maybe the first click should be ignored ? Or optionally ignored ? Perhaps some cases could need this though.



@Pianomatic hey ;) Yes I don

Bodysoulspirit's picture
Submitted by

Philip hey ;) Yes I don't know. Could imagine something like it too if it had to be intentional. Maybe it can already be tricked with some hold node or something.

Just tried several applications on OSX and they actually not react all the same.

1 - Those who click on focus : If I have 2 quicktime videos open and click on a video window on the play button it plays even if the window is not top focused. Click on focus happen for Finder, Quicktime, Safari ...

2 - Those who does not click on focus : Photoshop doesn't for example. If I have a photoshop document open with a brush as a tool, choosing Photoshop doesn't result in painting a click.

So as you say, guess this has to be optional as I can imagine different usages.

Did you see if there is a

George_Toledo's picture
Submitted by

Did you see if there is a difference between clicking on the window and the title bar?

Presumably it should be possible to click on the title bar to bring the window into focus, then one can click on the window directly to send it an event.

It might also currently be possible to focus and unfocus a window via window attributes, not sure.

Yes, this is intentional

jstrecker's picture
Submitted by

Yes, this is intentional behavior.

Just tried several applications on OSX and they actually not react all the same.

See also:

Yes clicking on the title bar does not react as a click.

Glad that was brought up.

how about a node to ascertain whether a window is in focus?

Sure, that would work, and could be more generally useful as well. Another option more specific to this situation would be a node like Change Window Clickthrough or something that outputs a Window Property.