Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard actions do not work if -DisablePlatformInterfaces is set via command line argument. #3536

Open
shiftyscales opened this issue Jan 14, 2025 · 11 comments
Assignees
Labels
Small Feature New addition that is quick and easy to implement triaged This issue has been assessed

Comments

@shiftyscales
Copy link
Collaborator

Describe the bug?

Pasting while in desktop mode is currently not working at all. I was seemingly also unable to copy images / record URLs from the inventory, etc.

To Reproduce

Be in desktop mode and attempt to paste into Res, e.g. image, link, video, etc. by either Control+V or the facet.

Expected behavior

Clipboard interactions should work properly while in desktop.

Screenshots

No response

Resonite Version Number

2025.1.14.6

What Platforms does this occur on?

Windows

What headset if any do you use?

Desktop

Log Files

Nothing of note seemed to be in the log file- I pressed the debug keybind between attempts at pasting through both Control + V and the facet.

LAURA-LAPTOP - 2025.1.14.6 - 2025-01-14 12_56_10.log

Additional Context

Discovered while trying to paste replication objects in other issues.

Reporters

@shiftyscales @tiny_bear93 (Discord)

@shiftyscales shiftyscales added bug Something isn't working as intended. triaged This issue has been assessed labels Jan 14, 2025
@shiftyscales
Copy link
Collaborator Author

@ProbablePrime has expressed he'll be looking at this one.

@Frooxius Frooxius added the needs more information More information is requested about this issue. label Jan 14, 2025
@Frooxius
Copy link
Member

I think this is more complicated than the initial issue suggests, because I just tested this and it works fine for me on the latest build.

I can paste things no problem:

Image

It might be specific to some things, but I think some work needs to be done to isolate what's breaking it on your end.

@JackTheFoxOtter

This comment has been minimized.

@shiftyscales
Copy link
Collaborator Author

Are you sure they don't spawn at all and not just spawn at a weird position because of the regression in #3534?

Yes, I'm certain- I am not spawning even import dialogs which typically are placed right in front of you, and nothing is appearing in the hierarchy of the world. That is a separate issue.

@shiftyscales
Copy link
Collaborator Author

With help from @ chundelac I seem to have found the primary culprit in my case, @Frooxius.

I had recently added the -DisablePlatformInterfaces specifically to fully disable all Discord / Steam integrations as the description in the patch notes indicated- but it seems like it also prevents all clipboard interaction / functionality too.

@shiftyscales shiftyscales changed the title Clipboard actions seems to no longer work while in desktop Clipboard actions do not work if -DisablePlatformInterfaces is set via command line argument. Jan 14, 2025
@shiftyscales shiftyscales removed the needs more information More information is requested about this issue. label Jan 14, 2025
@ProbablePrime
Copy link
Member

Disabling the platform interfaces will also disable the "Windows Platform Connector" which handles Cipboard interactions for windows.

So technically, this is "intentional" and by design.

We'd need to add features that allow for more granularity of control on which interfaces you'd need or not need etc.

@shiftyscales shiftyscales added Small Feature New addition that is quick and easy to implement and removed bug Something isn't working as intended. labels Jan 14, 2025
@lxw404
Copy link

lxw404 commented Jan 14, 2025

In my case, I do not have -DisablePlatformInterfaces set, and clipboard actions do not work at all.

ClipboardFailure - 2025.1.14.6 - 2025-01-14 14_57_17.log

@shiftyscales
Copy link
Collaborator Author

And it does not exist in your config.json either @lxw404? Do you have Steam or Resonite running as an elevated (admin) app?

@Frooxius
Copy link
Member

Oh... yeah in that case that's actually correct behavior. You're asking it not to interface with the system - so it's doing that, which means it can't interface with the clipboard either.

More granular settings could help with this. I'd probably make that a separate issue though.

@lxw404
Copy link

lxw404 commented Jan 15, 2025

And it does not exist in your config.json either @lxw404? Do you have Steam or Resonite running as an elevated (admin) app?

I have never created/changed config.json, nor do I run Resonite as admin.

@shiftyscales
Copy link
Collaborator Author

Would you mind creating a new issue, @lxw404? The cause of my issue was determined- so it sounds like yours might be something else failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Feature New addition that is quick and easy to implement triaged This issue has been assessed
Projects
Status: Backlog
Development

No branches or pull requests

5 participants