void icon indicating copy to clipboard operation
void copied to clipboard

[Bug] Freezes when starting void

Open LemonsSquirrel opened this issue 9 months ago • 12 comments

So now that everything works well with extensions, when i start void for the first time, everything's good, but when i close it then reopen a workspace, it freezes without me being able to do anything except closing. It's only when i already have a file opened in the workspace or when i open a file in void from the "Open with Void".

LemonsSquirrel avatar Apr 18 '25 12:04 LemonsSquirrel

I have exactly the same issue on Ubuntu. Possible duplicate of https://github.com/voideditor/void/issues/416

Dylan-86 avatar Apr 18 '25 12:04 Dylan-86

I'm on windows but yeah, after multiple tests, it appears it's not only when i open files, it's random, when i open a workspace or a file it has a chance to freeze

LemonsSquirrel avatar Apr 18 '25 12:04 LemonsSquirrel

yes, permanently

LemonsSquirrel avatar Apr 18 '25 13:04 LemonsSquirrel

It just permanently freezes?

Thanks for reporting, guys. Do you have a slow computer @LemonsSquirrel? Errors are expected on Linux because unfortunately our build pipeline was deprecated by GitHub actions 3 days ago (so we need to upgrade / rebase), but this is unexpected on Windows. Not clear if this is just lag or something we can fix.

andrewpareles avatar Apr 18 '25 13:04 andrewpareles

i thought this also, but it appears it's not speed because i waited for 10 minutes to see if it was my PC and it was still freezed so i don't think. Plus i don't think my PC is that slow because i used vscodium before and everything loads in like 30 seconds.

LemonsSquirrel avatar Apr 18 '25 13:04 LemonsSquirrel

Hi Andrew, For Linux: note that I built from scratch, from source.

I've uploaded a video here that shows the bug on my end: https://youtu.be/jKG-gJlGz6k

Dylan-86 avatar Apr 18 '25 13:04 Dylan-86

Thanks for the video - this is helpful to see. More concerned about Windows right now, since we expected that to work. Just pushed a couple changes, should be out shortly and will ask @LemonsSquirrel to test again!

andrewpareles avatar Apr 18 '25 21:04 andrewpareles

i'm taking the beta download so version 1.2.5.25107, is this the right one or should i be pulling the repository?

LemonsSquirrel avatar Apr 18 '25 22:04 LemonsSquirrel

Building it soon. It will be 1.2.6... happy to ping when it's ready!

andrewpareles avatar Apr 18 '25 22:04 andrewpareles

Sorry for the delay, coming soon...

andrewpareles avatar Apr 21 '25 10:04 andrewpareles

i'm taking the beta download so version 1.2.5.25107, is this the right one or should i be pulling the repository?

@LemonsSquirrel If you have 10 minutes, could you please try to change one file and re-build?

The fie is: https://github.com/voideditor/void/blob/main/src/vs/workbench/contrib/void/browser/react/src/void-onboarding/VoidOnboarding.tsx

Find the line with: <VoidIcon />

Comment it out like this: {/*<VoidIcon />*/}

Then from terminal npm run buildreact (or watchreact), then launch again.

On Ubuntu this solves the freeze issue.

Dylan-86 avatar Apr 23 '25 08:04 Dylan-86

Since i'm on windows, i'm using the .exe built version and not the github source code release one, i tested with the source release and i keep getting errors when i try to install the dependencies so i gave up on it.

LemonsSquirrel avatar Apr 23 '25 18:04 LemonsSquirrel