Keyboard focus on OSX not following pointer

While trackpad/mouse input correctly follows pointer on screen (e.g. when cursor is on a viewport its input control this same viewport) keyboard focus does not follow as well (e.g. if you click on content browser, and then move cursor on viewport, cursor controls viewport, but keyboard input [eg WASD] is still directed to content browser)

Hey ,

I don’t see this behavior. When I click in Search bar of Content Browser, then move cursor to Viewport, one of two things happen:

  1. I don’t click anywhere, and focus is retained in Search bar (as intended), or
  2. I click mouse anywhere in level, and keyboard focus follows (I can use W, E, and R to change widget, for example).

Are you seeing something different? If so, would you mind giving me some exact reproduction steps? Thanks!

Hi , no, I confirm current behaviour is one you describe, but it is kind of awkward (e.g. if you click anywhere in view you always happen to select something unwillingly). Plus, dragging viewport with 2 fingers on trackpad is equivalent to LMB, isn’t it? Isn’t this supposed to move focus too?
May this problem be relevant only when using trackpad instead of mouse?

If you click and hold LMB in Viewport, you can navigate around without selecting an actor in scene. When you click LMB without holding, it selects whatever actor your cursor was over, and that’s intentional behavior consistent with PC version. You can click Eye icon in Scene Outliner to make any actor invisible and thus not clickable, if you want those not to be selected when clicking in Viewport.

Dragging with 2 fingers is equivalent to holding and moving with RMB on PC and Mac, but it does not move focus. I’ll check with Mac developers and see if that’s something they want to change; it’s possible they just didn’t realize that was happening. Thanks for feedback!

Thank you very much ! I think that if you are already acting on viewport dragging view with mouse it is pretty natural to think that also keyboard input goes to same viewport (this is in particular useful for WASD navigation, that when not using a mouse is my main way to move around)

Hi , any update on issue? was it possible to correct problem?

Hey devel,

This has been fixed in our internal build, and will probably be released in 4.3. Dragging with 2 fingers in viewport will switch focus after update. You will still need to switch focus before WASD controls will work in viewport, but that’s expected behavior.

Hi , this bug has been fixed in past but is back now (4.12.4)
Could you please check regression?

Hi devel.bemad,

I am not able to recreate this behavior in UE4.12.5 -specifically “selecting something unwilling.” I am currently able to mouse over Viewport without selecting any asset and navigate scene. (Clicking in Viewport will select Sky Sphere in background, however.)

Please test this, and if behavior you previously reported still exists, please describe what you are still experiencing… I can also use WASD keys if I have two fingers on track pad (when cursor is in Viewport.)

Thanks,

.

Thank you, tried now and cannot replicate problem, I will follow up if I find a deterministic way to cause it.