Focus issue with middle and right click in 5.7

Summary

I have just started using Unreal Engine 5.7 and encountered the following:

After right or middle clicking inside of the scene viewport, the editor will not let me use any options of context menus / popups outside of the viewport.

If i then right and middle click (depending on what i pressed inside) outside of the scene view that seems to release this lock of that specific mouse button, allowing me to use context menus again.

The issue is that I use middle and rightclick a lot to navigate around the viewport so this is a constant issue.

I have confirmed this is not the case in UE 5.6.1

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

  1. Open fresh project
  2. Add a cube shape via quick add - working fine
  3. Right click in the viewport
  4. Middle mouse button click in the viewport
  5. Open quick add
  6. Try to click Shape → Cube - clicks through the option and selects whatever is behind it in the viewport
  7. Rightclick outside of the viewport
  8. Try to click Shape → Cube - clicks through the option and selects whatever is behind it in the viewport
  9. Middle click outside of the viewport
  10. Try to click Shape → Cube - working again

Expected Result

Left or middle click should not lock up context menu options

Observed Result

Clicking through context menu options

Platform(s)

Windows 11

Video

Additional Notes

I am rightclicking outside of the viewport in the video everytime before it works again

I’m having the same issue on 5.7 as well. It also affects the blueprint editor, making it almost impossible to work with.

I checked on a different computer and that didn’t seem to have the issue so I’m assuming there’s some specific software that might be causing the issue, though I’m not sure what it is. I’ve tried ending different processes but it keeps happening.

Hopefully there’s a fix, but I’m gonna keep messing around with my PC to see if something works in the mean time.

Hello, this is also happening in UEFN. Here is what we found:

We are investigating an issue where developers may be unable to click on buttons while working in UEFN.

As a temporary fix, you can turn off the Discord overlay or use the legacy Discord overlay to fix the issue.

Hey, sorry but the discord overlay issue was a seperate one for me, this bug is still occuring even with the discord overlay turned off (it solved what you described but my specific issue persists)

I tested this exact thing on my work laptop today and could not reproduce this issue so it might have to do with my hardware/software on this pc, if you need further info I am happy to provide details.I also turned off all other software that I could turn off without compromising the stability of my system and the issue still persisted, same test with a different mouse, issue persisted.

You can see the effect of this specific bug in the video above

@Flak

Would appreciate if somebody could take a closer look, I could not fix this with turning off discords overlay and I think the cause may be something different, the bug behaves different aswell. It prevents me from using UE 5.7 at this point.

1 Like

Well I finally solved this by reinstalling windows, needed a clean installation sometime soon anyways and that solved it for me

Formatting is a viable solution for me right now… Every other Engine version is working for me so it’s something that must be wrong with 5.7 specifically and must be fixed by Epic…


EDIT: In the end I solved it changing this setting: Unreal 5.7 Ui not working? - #3 by ILunin