flathub / com.vscodium.codium

https://flathub.org/apps/details/com.vscodium.codium
94 stars 19 forks source link

ctrl + / (ctrl + shift + 7) to toggle comment line not working #338

Closed g3blv closed 1 month ago

g3blv commented 1 month ago

Describe the bug ctrl + / (ctrl + shift + 7) to toggle comment line stopped working in version 1.86.

This works as expected in "native" VSCodium with the same version as the Flatpak version of VSCodium.

The last Flatpak version (I know) this worked was:

Version: 1.85.2 Release: 24019 Commit: c8a36a69377856369f139f39ee56dd3838130fbf Date: 2024-01-19T18:30:44.948Z Electron: 25.9.7 ElectronBuildId: undefined Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Linux x64 6.8.8-200.fc39.x86_64

To Reproduce Steps to reproduce the behavior:

  1. Press ctrl + / or ctrl + shift + 7 when standing on a line

Expected behavior Comment // would toggle.

Desktop (please complete the following information):

Additional context Programming Rust.

For below version, Flatpak version is broken while "native" version works. Version: 1.89.0 Release: 24127 Commit: 4379b66f0d4dd9881ba96fa086f387725b69a24b Date: 2024-05-06T17:54:09.063Z Electron: 28.2.8 ElectronBuildId: undefined Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Linux x64 6.8.8-200.fc39.x86_64

daiyam commented 1 month ago

Can you verify that the language extension is running (command Developer: Show Running Extensions)?

g3blv commented 1 month ago

Do you mean the Rust language extension, rust-analyzer?

daiyam commented 1 month ago

No, the extension which provides the language so it's the Rust extension ;)

g3blv commented 1 month ago

These are the extensions I see under Developer: Show Running Extensions

rust-analyzer 
Git
Emmet
CodeLLDB
Merge Conflict
GitHub
TODO Highlight v2
Node Debug Auto-attach
GitBase

g3blv commented 1 month ago

@daiyam these are the extension I have in version 1.85.2 where everything works. Is there something I need to change in regard to the extensions?

noonsleeper commented 1 month ago

This only apply to ctrl+shift+7 because ctrl+/ on ansi us keyboard distributions works as expected. I change my keyboard distribution to iso es to test this and is reproducible. Can you try another IDE under flatpak that use ctr+/ for comment lines like vscode?

g3blv commented 1 month ago

I changed the shortcut to crtl+shift+7 and that works.