You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to move a window in the client application when using Sample Dual UI in mirror mode, the window teleport to a fixed location.
To Reproduce
Launch the sample in SampleDualUI
launch the server
connect to the server
Choose Mirror UI
Move a window on the server: it works
Move a window on the client: it gets teleported
Expected behavior
The window on the client should not teleport to a fixed location, but should follow the mouse
Screenshots
Additional context
This is because the last mouse pos received on the client is given to imgui on a new frame, even if this mouse position is not relevant anymore:
On mirror mode, the client input/display properties (size/dpi) are completly ignored, it only shows the content controlled by the server and sent to it. I did notice the window jump once, which I will investigate, but you should not expect to be able to move/control content on the client in this particular mode. This mode is not that useful, just a showcasing that it is possible to see locally what's being rendered on the server.
Describe the bug
When trying to move a window in the client application when using Sample Dual UI in mirror mode, the window teleport to a fixed location.
To Reproduce
Expected behavior
The window on the client should not teleport to a fixed location, but should follow the mouse
Screenshots
Additional context
This is because the last mouse pos received on the client is given to imgui on a new frame, even if this mouse position is not relevant anymore:
Callstack:
The text was updated successfully, but these errors were encountered: