Repository: vscode
Issue: "Save File" dialog is not visible in KDE after upgrade to 1.94.0
Labels: bug,upstream,linux,upstream-issue-linked,chromium,native-file-dialog

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.94.0
```
Version: 1.94.0
Commit: d78a74bcdfad14d5d3b1b782f87255d802b57511
Date: 2024-10-02T13:08:12.626Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 6.8.0-44-generic snap
```
- OS Version: [K]Ubuntu 24.04.1 LTS

Steps to Reproduce:

1.  Open a new (`Ctrl+N`)
2. Type in something
3. Try to save it (`Ctrl+S`)
4. No dialog is shown, but VSCode main window starts behaving like it is - e.g. if you click `Help->About` in meny, nothing happens.
5. `ps aux|grep kdialog` shows that there is a process is running with  command:
```
kdialog --attach=94371844 --title=Save As --getsavefilename /home/myuser/Documents/какойтокаталог/asdasdas All Files (*.txt)|Plain Text (*.apib)|API Blueprint (*.bat *.cmd)|Batch (*.bib)|BibTeX (*.c *.i)|C (*.cake *.cs *.csx)|C# (*.c++ *.c++m *.cc *.ccm *.cpp *.cppm *.cxx *.cxxm *.hh *.hpp)|C++ (*.clj *.cljc *.cljs *.cljx *.clojure *.edn)|Clojure (*.cmake)|CMake (*.code-snippets)|Code Snippets (*.coffee *.cson *.iced)|CoffeeScript (*.css)|CSS (*.csv)|CSV (*.cu *.cuh)|CUDA C++ (*.dart)|Dart (*.diff *.patch *.rej)|Diff (*.disasm)|Disassembly (*.containerfile *.dockerfile)|Dockerfile (*.editorconfig)|EditorConfig (*.ejs)|EJS (*.fs *.fsi *.fsscript *.fsx)|F# (*.go)|Go (*.gotmpl *.tmpl)|Go Template File (*.gradle)|Gradle (*.gradle.kts)|Gradle Kotlin DSL (*.gql *.graphql *.graphqls)|GraphQL (*.gradle *.groovy *.gvy *.jenkinsfile *.nf)|Groovy (*.handlebars *.hbs *.hjs)|Handlebars (*.cginc *.compute *.fx *.fxh *.hlsl *.hlsli *.psh *.vsh)|HLSL (*.asp *.aspx *.htm *.html *.jshtm *.jsp *.mdoc *.shtml *.xht *.xhtml)|HTML (*.eslintignore *.git-blame-ignore-revs *.gitignore *.gitignore_global *.npmignore)|Ignore (*.ini)|Ini (*.class *.jav *.java)|Java (*.properties)|Java Properties (*.cjs *.es6 *.js *.mjs *.pac)|JavaScript (*.jsx)|JavaScript JSX (*.j2 *.jinja2)|Jinja (*.bowerrc *.css.map *.har *.js.map *.jscsrc *.jslintrc *.json *.jsonld *.ts.map *.webmanifest)|JSON (*.jsonl)|JSON Lines (*.babelrc *.code-workspace *.eslintrc *.eslintrc.json *.hintrc *.jsfmtrc *.jshintrc *.jsonc *.language-configuration.json *.swcrc)|JSON with Comments (*.jl)|Julia (*.jmd)|Julia Markdown (*.ctx *.ltx *.tex)|LaTeX (*.less)|Less (*.*.log.? *.log)|Log (*.lua)|Lua (*.mak *.mk)|Makefile (*.markdn *.markdown *.md *.mdown *.mdtext *.mdtxt *.mdwn *.mkd *.workbook)|Markdown (*.nix)|Nix (*.m)|Objective-C (*.mm)|Objective-C++ (*.PL *.pl *.pm *.pod *.psgi *.t)|Perl (*.ctp *.php *.php4 *.php5 *.phtml)|PHP (*.css *.pcss *.postcss)|PostCSS (*.ps1 *.psd1 *.psm1 *.psrc *.pssc)|PowerShell (*.prisma)|Prisma (*.cfg *.conf *.directory *.editorconfig *.gitattributes *.gitconfig *.gitmodules *.npmrc *.properties *.repo)|Properties (*.jade *.pug)|Pug (*.cpy *.gyp *.gypi *.ipy *.py *.pyi *.pyt *.pyw *.rpy)|Python (*.r *.rhistory *.rprofile *.rt)|R (*.nqp *.p6 *.pl6 *.pm6 *.raku *.rakudoc *.rakumod *.rakutest)|Raku (*.cshtml *.razor)|Razor (*.rast)|ra_syntax_tree (*.rst)|reStructuredText (*.erb *.gemspec *.podspec *.rake *.rb *.rbi *.rbx *.rjs *.ru)|Ruby (*.rs)|Rust (*.scss)|SCSS (*.code-search)|Search Result (*.shader)|ShaderLab (*.bash *.bash_aliases *.bash_login *.bash_logout *.bash_profile *.bashrc *.ebuild *.eclass *.profile *.sh)|Shell Script (*.dsql *.q *.sql)|SQL (*.svg)|SVG (*.swift)|Swift (*.tf)|Terraform (*.tfdeploy.hcl)|Terraform Deployment (*.tfmock.hcl)|Terraform Mock (*.tfstack.hcl)|Terraform Stack (*.tftest.hcl)|Terraform Test (*.tfvars)|terraform-vars (*.bbx *.cbx *.cls *.sty)|TeX (*.toml)|TOML (*.tab *.tsv)|TSV (*.cts *.mts *.ts)|TypeScript (*.tsx)|TypeScript JSX (*.bas *.brs *.vb *.vba *.vbs)|Visual Basic (*.vue)|vue (*.wasm *.wat)|WebAssembly Text Format (*.ascx *.atom *.axaml *.axml *.bpmn *.cpt *.csl *.csproj *.xml *.xsd)|XML (*.xsl *.xslt)|XSL (*.cff *.eyaml *.eyml *.yaml *.yaml-tmlanguage *.yaml-tmpreferences *.yaml-tmtheme *.yml)|All Files (*)
```
Killing it by PID unfreezes main vscode window.

Disabling all extensions (with `--diable-extensions` option on command line) didn't help.

Reverting VSCode snap to `38c31bc7` (which is 1.93.1) fixes things.