Closed Master811129 closed 1 month ago
does this happen if you run that in an external terminal?
No, It only happens in vscode terminal. I believe this occurs due to snap sandbox blocking something.
Merging to https://github.com/microsoft/vscode/issues/179086
The library variables we set like GTK_PATH, GIO_MODULE_DIR interfere with launching external applications.
The library variables we set like GTK_PATH, GIO_MODULE_DIR interfere with launching external applications.
The app I ran here was dolphin
which is a Qt app not GTK. Are you sure that this is related to my problem?
I dont have many GTK apps installed on my system but gnome-disks
and lutris
work fine from VSCode(snap) terminal.
Tried with more qt apps some of them just won't do anything, Halt the termianl and use 100% CPU and some of them will open up without issues. Note that all of them work fine on my normal Konsole its just vscode's terminal.
dolphin
❌kdialog --msgbox "Hello world"
✅kdialog --getsavefilename
❌kmines
✅kate
❌systemsettings
❌qbittorrent
✅ark
opens but clicking on "Open Archive..." which opens a file dialog hangs the appI suggest dumping the environment variables in your default terminal into a file. Then dump the environment variables in the VSCode terminal to another file. Compare the 2 files, and observe if any new environment variable related to Qt/Gtk by either unsettling them in the VSCode terminal to see if any fixes the issue.
Does this issue occur when all extensions are disabled?: Yes
Installed the app as a classic Snap. It looks like that some apps can't be run from VSCode's terminal. CPU goes 100% and ram gets filled up and crashes the system:
NO extensions BTW
Steps to Reproduce:
dolphin
as an example and CPU goes 100%Screencast: ignore the flashing
Ignore the flashing
https://github.com/user-attachments/assets/d9429512-9256-44bf-96fe-d9e72c4861a8