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

Opening Roblox Studio through the .desktop entry should always open a new Studio window. #428

Open
1 task done
BakonBot opened this issue Jul 29, 2024 · 6 comments
Open
1 task done
Assignees
Labels
enhancement New feature or request

Comments

@BakonBot
Copy link

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Is your feature request related to a problem?

If Roblox Studio is already running, when you try to open another Roblox Studio window by clicking on the icon inside of the applications menu, Vinegar errors out with a return code 1, because it tries to create another wineserver process, but a wineserver process with ESYNC is already running.

Even if it wouldn't error out because of ESYNC, it would be quite a waste of resources to run multiple wineserver processes for separate Studio windows (if even possible under the same wineprefix, that is)

The correct way to open another Studio window on Windows is to open it through the start menu/app list.

Describe the Solution you'd Like

Make Vinegar open RobloxStudioBeta.exe under the wineserver that is already running. Perhaps by checking if a Vinegar process with Studio is already running and, if it is, it would signal to the already running process to just run a new Studio process.

Describe Alternatives you've considered

A workaround is to go to File > New, wait for Studio to load a baseplate in the newly created window, and then exit out of the baseplate to get to the start page. This, however, harms productivity because it takes way longer than just clicking on Studio and then having it open the start page.

Additional context

No response

@BakonBot BakonBot added the enhancement New feature or request label Jul 29, 2024
@apprehensions
Copy link
Member

Roblox studio itself has multi-instance capabilities, where a new instance calls to the first instance to run a new window. Can you confirm this by using vinegar studio ... under flatpak run --command=bash ...?

@BakonBot
Copy link
Author

Running flatpak run --command=bash org.vinegarhq.Vinegar and then vinegar studio run under it returns the same error when clicking on Studio while a Studio process is already running
0338:err:esync:esync_init Failed to open esync shared memory file; make sure no stale wineserver instances are running without WINEESYNC.

@apprehensions
Copy link
Member

Kill all Vinegar instances, and instantiate the shell; Do vinegar run ... & to run in the background, and do another after the window instantiates.

@BakonBot
Copy link
Author

That does work. A new Studio window opens with no issues.

@apprehensions
Copy link
Member

This will indeed require Vinegar IPC.

@apprehensions
Copy link
Member

Related: flatpak/flatpak#1963

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants