Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 301 forks source link

Keyboard shortcuts for quick bookmark "7" and quick bookmark "0" conflict with other functions #3857

Open PeterMortensen opened 4 years ago

PeterMortensen commented 4 years ago

Short Summary

Two of the keyboard shortcuts for quick bookmarks, Ctrl + Shift + 7 and Ctrl + Shift + 0, do not set the expected bookmark. Instead, some line outcommenting and zooming happen, respectively.

This was tried in a file with file extension ".js" and can also be reproduced when trimmed down to a single line.

The corresponding menu items to the keyboard shortcuts: context menu in the text document → Quick BookmarksToggle bookmark 7 (and Toggle bookmark 0).

The bookmark function for 7 and 0 works when using it through the context menu, but not through the keyboard shortcut.

Steps to Reproduce

  1. Make a new file
  2. Type "ASD"
  3. Save it as someFile.js
  4. Press Ctrl + Shift + 7. "//" will be prepended to "ASD", instead of setting the bookmark.
  5. Press Ctrl + Shift + 0. It will zoom in instead of setting the bookmark

Expected results

Bookmark 7 and Bookmark 0 set, respectively

Actual results

"//" is be prepended to "ASD" and the document is zoomed into, respectively.

Platform Information

"Komodo IDE, version 12.0.1, build 91869, platform linux-x86_64. Built on Mon Feb 10 19:37:24 2020."

Ubuntu 19.10 (kept up to date), but using Cinnamon instead of GNOME (with its broken clipboard).

th3coop commented 4 years ago

Have you confirmed that they haven't been changed in your keybinding prefs?

th3coop commented 4 years ago

Edit menu > Preferences > Keybindings

PeterMortensen commented 4 years ago

It was the out-of-the-box experience, right after installation. I haven't changed any configuration (except perhaps answering startup/one-time questions). "Keybinding scheme" is set to "Default".

Do you mean you couldn't reproduce the problem?

PeterMortensen commented 4 years ago

I don't know if it is relevant, but in the terminal window at startup there is this output:

(process:20291): GLib-CRITICAL **: 02:42:49.411: g_slice_set_config: assertion 'sys_page_size == 0' failed

free -m produces this output:

              total        used        free      shared  buff/cache   available
Mem:           7984        4113         854         204        3017        3368
Swap:             0           0           0
th3coop commented 4 years ago

No, i can't reproduce the issue. I don't think the GLib output or memory availability is relevant here. It the former were an issue Komodo would likely not start. The latter would just result in a slow Komodo, not keybindings misfiring.

Can you double check your keybindings in your prefs? The actions your described are not the default keybindings. Maybe they changed somehow but I'd like to narrow things down. I'm guessing that if you didn't change them in komodo then something outside Komodo is usurping the keybinding which is not at all uncommon, though usurping to comment out code would be really werid.