The orbiting editor viewport mouse input bug is still present when using UE4Editor (4.24) remotely on Linux via a VNC client (e.g. on Ubuntu 18.04 with vino as the default VNC server on the server side).
The following patch can be used to add a new command-line option (-norelativemousemode) to the Linux build of UE4Editor so it can be used remotely with a VNC client:
diff --git Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxApplication.cpp Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxApplication.cpp
index 2eec72a6d18..ed18ad067ea 100644
--- Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxApplication.cpp
+++ Engine/Source/Runtime/ApplicationCore/Private/Linux/LinuxApplication.cpp
@@ -1362,7 +1362,10 @@ void FLinuxApplication::SetHighPrecisionMouseMode( const bool Enable, const TSha
{
MessageHandler->OnCursorSet();
bUsingHighPrecisionMouseInput = Enable;
- SDL_SetRelativeMouseMode(Enable ? SDL_TRUE : SDL_FALSE);
+ if (!FParse::Param(FCommandLine::Get(), TEXT("norelativemousemode")))
+ {
+ SDL_SetRelativeMouseMode(Enable ? SDL_TRUE : SDL_FALSE);
+ }
}
void FLinuxApplication::RefreshDisplayCache()
Note that some VNC clients also have a problem with key press/release propagation in the editor viewport (most notably Remmina) limiting the ability to move in the viewport via keyboard. TigerVNC seems to be the one that propagates key press/release properly.