Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
102 stars 0 forks source link

Import Dialog Appears to Side of User When In Desktop Mode #1929

Open lxw404 opened 2 weeks ago

lxw404 commented 2 weeks ago

Describe the bug?

Prior to Beta 2024.5.3.526, the import dialog appeared directly in front of the user when importing items, however now it appears to the side while in desktop mode.

To Reproduce

Drop any file onto the Resonite window.

Expected behavior

The import dialog should be an appropriate distance away from the user and in front of them so that it can be interacted with.

Screenshots

Resonite_QJC3oCNknY

Resonite Version Number

Beta 2024.5.3.526

What Platforms does this occur on?

Windows

What headset if any do you use?

Valve Index, Desktop

Log Files

Import Dialog To Side - 2024.5.3.561 - 2024-05-03 07_04_51.log

Additional Context

No response

Reporters

LuxKitty

epicEaston197 commented 2 weeks ago

Just tested it myself and to be clear this is only happening with imported files from your computer by dragging and dropping it into the game window if you copy and paste the file it appears in the middle of the screen like it's supposed to

code807 commented 1 week ago

Just confirmed this issue is present for me as well. I took a screenshot of the displacement. On the left is an import dialog created via drag-and-drop, and in the center is one created via copy paste. Resonite_eNOEJP5fuB

shiftyscales commented 1 week ago

Does it place it at the same location every time, or does it matter where the cursor is, @lxw404 @epicEaston197 @code807?

epicEaston197 commented 1 week ago

Does it place it at the same location every time, or does it matter where the cursor is, @lxw404 @epicEaston197 @code807?

It places it in the exact same spot on the left side of the screen

shiftyscales commented 1 week ago

Hmm, this issue seems to be exclusive to desktop mode.

It also appears the importer is being placed at 0,0 in the screen coordinates. The centre/origin of the importer lines up exactly with its position in the above pics.

Seeking input from @Frooxius or @ProbablePrime - this issue seems like it has everything it needs.