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

vimode is Broken in Ubuntu 22.04 #1174

Open
timnolte opened this issue May 20, 2022 · 7 comments
Open

vimode is Broken in Ubuntu 22.04 #1174

timnolte opened this issue May 20, 2022 · 7 comments

Comments

@timnolte
Copy link

I turn on vimode in Geany, had it on before but have toggled it off/on, after upgrading to Ubuntu 22.04 and there is no Visual Mode anymore even though the cursor changes it still is in Insert Mode with no way to go to Visual Mode.

@elextr
Copy link
Member

elextr commented May 21, 2022

Please always post the version of Geany and GTK/Glib versions, just post the top few lines of Help->Debug messages we don't know what version makes what distro, especially (IIUC) an LTS like Ubuntu 22.04.

@timnolte
Copy link
Author

Sorry, I thought I had included the version.

Geany: 1.38
GTK/Glib: Using GTK+ v3.24.33 and GLib v2.72.1 runtime libraries

Debug Messages:

13:37:01.771873: GLib-GIO DEBUG	: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
13:37:01.775554: GLib-GIO DEBUG	: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
13:37:01.824318: Geany INFO		: Geany 1.38, en_US.UTF-8
13:37:01.824327: Geany INFO		: GTK 3.24.33, GLib 2.72.1
13:37:01.824346: Geany INFO		: OS: Pop!_OS 22.04 LTS (jammy)
13:37:01.824349: Geany INFO		: System data dir: /usr/share/geany
13:37:01.824353: Geany INFO		: User config dir: /home/tnolte/.config/geany
13:37:02.168508: Geany INFO		: Loaded GTK+ CSS theme '/usr/share/geany/geany.css'
13:37:02.169883: Geany INFO		: Loaded GTK+ CSS theme '/usr/share/geany/geany-3.20.css'
13:37:02.174839: Geany INFO		: System plugin path: /usr/lib/x86_64-linux-gnu/geany
13:37:02.182203: Geany INFO		: Added filetype CUDA (64).
13:37:02.182212: Geany INFO		: Added filetype Groovy (65).
13:37:02.182217: Geany INFO		: Added filetype Cython (66).
13:37:02.182220: Geany INFO		: Added filetype Swift (67).
13:37:02.182224: Geany INFO		: Added filetype Clojure (68).
13:37:02.182228: Geany INFO		: Added filetype JSON (69).
13:37:02.182232: Geany INFO		: Added filetype Meson (70).
13:37:02.182236: Geany INFO		: Added filetype Nim (71).
13:37:02.182240: Geany INFO		: Added filetype Graphviz (72).
13:37:02.182243: Geany INFO		: Added filetype Kotlin (73).
13:37:02.182247: Geany INFO		: Added filetype Genie (74).
13:37:02.182253: Geany INFO		: Added filetype Scala (75).
13:37:02.182257: Geany INFO		: Added filetype Arduino (76).
13:37:02.182261: Geany INFO		: Added filetype TypeScript (77).
13:37:02.192420: Geany INFO		: Loaded libvte from libvte-2.91.so.0
13:37:02.195005: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/codenav.so (Code navigation)
13:37:02.195385: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/defineformat.so (Define formatter)
13:37:02.199031: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/filebrowser.so (File Browser)
13:37:02.211595: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/git-changebar.so (Git Change Bar)
13:37:02.212327: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/htmlchars.so (HTML Characters)
13:37:02.213760: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/lineoperations.so (Line Operations)
13:37:02.214241: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/lipsum.so (Lipsum)
13:37:02.215339: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/overview.so (Overview)
13:37:02.215918: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/pairtaghighlighter.so (Pair Tag Highlighter)
13:37:02.216361: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/shiftcolumn.so (Shift Column)
13:37:02.217829: SpellCheck DEBUG	: Initializing Enchant library version 2.3.2
13:37:02.221578: GLib DEBUG	: unsetenv() is not thread-safe and should not be used after threads are created
13:37:02.230667: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/spellcheck.so (Spell Check)
13:37:02.231403: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/splitwindow.so (Split Window)
13:37:02.233064: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/updatechecker.so (Updatechecker)
13:37:02.236884: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/vimode.so (Vimode)
13:37:02.238012: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/pretty-printer.so (XML PrettyPrinter)
13:37:02.238371: Geany INFO		: Loaded:   /usr/lib/x86_64-linux-gnu/geany/xmlsnippets.so (XML Snippets)
13:37:02.243604: Geany INFO		: unknown : None (UTF-8)
13:37:02.334786: (null) DEBUG	: Name com.canonical.AppMenu.Registrar does not exist on the session bus

@techee
Copy link
Member

techee commented Sep 13, 2022

OK, sorry, noticed this bug report just now.

vimode in 1.38 is quite broken because of the problems described in #1136 (which I think I fixed in #1141 and #1139 but these haven't been merged yet).

The problem with the visual mode is new to me (unless by "visual mode" you actually mean "command mode" in which case it's the numlock-related problem that should be fixed by #1141). I seem to be able to enter visual mode from the command mode by v without any problem.

@timnolte
Copy link
Author

No I did mean Visual Mode, whereas when I type v I'm dropped into Insert Mode. However, based on what you described with the Command Mode issues I suspect that may ultimately be the issue.

@techee
Copy link
Member

techee commented Sep 13, 2022

based on what you described with the Command Mode issues I suspect that may ultimately be the issue.

It should be easy for you to test - does it help when you disable numlock?

@timnolte
Copy link
Author

OK, yep, the Num Lock key was the issue. As soon as I turned off the Num Lock things were working as expected.

@techee
Copy link
Member

techee commented Sep 13, 2022

OK, good, so this is what #1141 should fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants