I am having issues with tab indent and the menu bar

I recently updated to komodo 10.

My first issue is with the menu bar. The top menu won’t show unless I hit “alt”. When I hit alt, it shows up but goes away after I do anything. Show menu bar is active in view.

My other issue is with tab. I was having this issue in Komodo 9 as well, which is the reason I uninstalled komodo and installed Komodo 10. Basically, I can’t indent anything. In 9, I could indent individual lines but nothing more than that. Now, I can’t tab ANYTHING.

I am using Ubuntu by the way.

Please help, this is my favorite editor, period. I’ve had to switch over to other ones because of this issue.

View - Toolbars - Show Menubar.

Try to change your keybinding to default. (Edit - Preferences - Key Bindings)

Neither of these worked.
Actually, a lot of things aren’t working key wise. I can’t even backspace.

That’s very strange. Could you share your log? (Help - Troubleshooting - View log file). Also, are you able to reproduce it in Safe Mode? (Help - Troubleshooting - Restart in Safe Mode)

Restarting in safe mode fixes all the problems. Of course, it when I restart again, it reverts to the issues, here’s the log:

[2016-08-21 18:45:13,848] [INFO] Startup: Welcome to Komodo Edit 10.0.1 build 17276 (platform linux-x86_64, running on Linux 3.19.0-15-generic version #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015)
[2016-08-21 18:45:13,849] [INFO] Startup: /usr/bin/python built on Wed Jun 15 08:25:28 2016
[2016-08-21 18:45:13,850] [INFO] koInitService: installing Komodo samples to '/home/cina/.komodoedit/10.0/samples'
[2016-08-21 18:45:13,912] [INFO] koInitService: Setting LC_CTYPE to utf-8
[2016-08-21 18:45:14,291] [WARNING] koLess: Clearing local and file cache
[2016-08-21 18:45:14,398] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2016-08-21 18:45:15,060] [WARNING] console-logger: Expected identifier for pseudo-class or pseudo-element but found ' '.  Ruleset ignored due to bad selector. (1) in chrome://komodo/skin/codeintel.css:1
[2016-08-21 18:45:15,060] [WARNING] console-logger: Unexpected end of file while searching for closing } of invalid rule set. (1) in chrome://komodo/skin/codeintel.css:42
[2016-08-21 18:45:15,178] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:48:1

[2016-08-21 18:45:16,588] [WARNING] keybindings: [F1] was used for 'cmd_helpHelp', overriding to use 'cmd_toggleInteractiveShell'
[2016-08-21 18:45:16,589] [WARNING] keybindings: [Ctrl+0] was used for 'cmd_goToQuickBookmark_0', overriding to use 'cmd_fontZoomReset'
[2016-08-21 18:45:17,218] [INFO] koInitService: Adding pre startup service for 'koFileStatusService': '@activestate.com/koFileStatusService;1'
[2016-08-21 18:45:17,271] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2016-08-21 18:45:17,716] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///usr/lib/komodo-edit/mozilla/components/koamAddonManager.js:138
[2016-08-21 18:45:17,717] [ERROR] console-logger: uncaught exception: [object Object] (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2016-08-21 18:45:18,856] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2016-08-21 18:45:18,856] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2016-08-21 18:45:18,856] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2016-08-21 18:45:18,856] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2016-08-21 18:45:18,857] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2016-08-21 18:45:18,857] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2016-08-21 18:45:18,858] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'spelling_error'
[2016-08-21 18:45:18,858] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2016-08-21 18:45:18,904] [WARNING] commands: updateCommandset: cmdset_history
[2016-08-21 18:45:18,905] [WARNING] commands: updateCommandset: komodoFileSaveItems
[2016-08-21 18:45:18,906] [WARNING] commands: updateCommandset: cmdset_for_showHideMinimap
[2016-08-21 18:45:18,906] [WARNING] commands: updateCommandset: cmdset_cutcopydelete
[2016-08-21 18:45:18,908] [WARNING] commands: updateCommandset: cmdset_selection
[2016-08-21 18:45:18,910] [WARNING] commands: updateCommandset: cmdset_view_codeintel_changed
[2016-08-21 18:45:18,911] [WARNING] commands: updateCommandset: cmdset_view_or_language_changed
[2016-08-21 18:45:18,912] [WARNING] commands: updateCommandset: cmdset_currentview_is_editor_on_html
[2016-08-21 18:45:18,912] [WARNING] commands: updateCommandset: cmdset_view_dependent
[2016-08-21 18:45:18,914] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:18,915] [WARNING] commands: updateCommandset: cmdset_place_bufferOperations
[2016-08-21 18:45:18,916] [WARNING] commands: updateCommandset: cmdset_place_treeOperations
[2016-08-21 18:45:18,916] [WARNING] commands: updateCommandset: cmdset_some_files_open
[2016-08-21 18:45:18,917] [WARNING] commands: updateCommandset: cmdset_clipboard
[2016-08-21 18:45:18,924] [WARNING] commands: updateCommandset: cmdset_place_contextMenu
[2016-08-21 18:45:20,460] [INFO] koInitService: Adding pre startup service for 'KoMemoryReporter': '@activestate.com/koMemoryReporter;1'
[2016-08-21 18:45:20,463] [INFO] koInitService: Adding pre startup service for 'koCommandmentService': '@activestate.com/koCommandmentService;1'
ERROR:xpcom:Creation of class '<class 'component:koCommandmentService.KoCommandmentService'>' failed!
Exception details follow

ERROR:xpcom:Unhandled exception calling 'int8 * createInstance(in nsISomething, in nsIID &, out retval InterfaceIs *);'
Traceback (most recent call last):
  File "/usr/lib/komodo-edit/mozilla/python/xpcom/server/policy.py", line 300, in _CallMethod_
    return 0, func(*params)
  File "/usr/lib/komodo-edit/mozilla/python/xpcom/server/factory.py", line 57, in createInstance
    return self.klass()
  File "/usr/lib/komodo-edit/mozilla/components/koCommandmentService.py", line 477, in __init__
    self._reader = _CommandmentsReader(koDirs.userDataDir, ver)
  File "/usr/lib/komodo-edit/mozilla/components/koCommandmentService.py", line 386, in __init__
    self._pipe = os.open(self._commandmentsFileName, os.O_RDWR)
OSError: [Errno 2] No such file or directory: '/home/cina/.komodoedit/10.0/commandments.fifo'
[2016-08-21 18:45:20,469] [ERROR] koInitService: Unable to start 'koCommandmentService' service: '@activestate.com/koCommandmentService;1'
Traceback (most recent call last):
  File "/usr/lib/komodo-edit/mozilla/components/koInitService.py", line 404, in loadStartupCategories
    getService(components.interfaces.nsIObserver)
  File "/usr/lib/komodo-edit/mozilla/python/xpcom/components.py", line 195, in getService
    return serviceManager.getServiceByContractID(self.contractid, _get_good_iid(iid))
  File "<XPCOMObject method 'getServiceByContractID'>", line 3, in getServiceByContractID
Exception: 2147500037 (NS_ERROR_FAILURE)
[2016-08-21 18:45:20,596] [WARNING] commands: updateCommandset: cmdset_projects_places
[2016-08-21 18:45:20,597] [WARNING] commands: updateCommandset: cmdset_place_bufferOperations
[2016-08-21 18:45:20,597] [WARNING] commands: updateCommandset: cmdset_place_treeOperations
[2016-08-21 18:45:20,598] [WARNING] commands: updateCommandset: cmdset_place_contextMenu
[2016-08-21 18:45:20,598] [WARNING] commands: updateCommandset: cmdset_place_main
[2016-08-21 18:45:20,682] [WARNING] console-logger: Key event not available on GTK2: key="u" modifiers="control,shift" (1) in chrome://komodo/content/komodo.xul:0
[2016-08-21 18:45:20,683] [WARNING] console-logger: Key event not available on some keyboard layouts: key="w" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2016-08-21 18:45:20,684] [WARNING] console-logger: Key event not available on some keyboard layouts: key="n" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2016-08-21 18:45:20,684] [WARNING] console-logger: Key event not available on some keyboard layouts: key="s" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2016-08-21 18:45:20,684] [WARNING] console-logger: Key event not available on some keyboard layouts: key="d" modifiers="control,alt,shift" (1) in chrome://komodo/content/komodo.xul:0
[2016-08-21 18:45:21,034] [WARNING] commands: updateCommandset: cmdset_clipboard
[2016-08-21 18:45:21,037] [WARNING] commands: updateCommandset: cmdset_place_contextMenu
[2016-08-21 18:45:23,316] [WARNING] commands: updateCommandset: cmdset_place_main
[2016-08-21 18:45:23,323] [WARNING] commands: updateCommandset: cmdset_openfiles
[2016-08-21 18:45:24,120] [WARNING] commands: updateCommandset: cmdset_place_main
[2016-08-21 18:45:24,126] [WARNING] commands: updateCommandset: cmdset_openfiles
[2016-08-21 18:45:24,669] [WARNING] commands: updateCommandset: cmdset_place_main
[2016-08-21 18:45:24,679] [WARNING] commands: updateCommandset: cmdset_openfiles
[2016-08-21 18:45:25,315] [WARNING] commands: updateCommandset: cmdset_place_main
[2016-08-21 18:45:25,322] [WARNING] commands: updateCommandset: cmdset_openfiles
[2016-08-21 18:45:25,894] [WARNING] commands: updateCommandset: cmdset_place_main
[2016-08-21 18:45:25,902] [WARNING] commands: updateCommandset: cmdset_openfiles
[2016-08-21 18:45:39,535] [WARNING] commands: updateCommandset: cmdset_view_codeintel_changed
[2016-08-21 18:45:39,764] [WARNING] views: Inconsistent view count in view_closed event
[2016-08-21 18:45:39,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2016-08-21 18:45:39,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2016-08-21 18:45:39,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2016-08-21 18:45:39,800] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2016-08-21 18:45:39,801] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2016-08-21 18:45:39,802] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2016-08-21 18:45:39,802] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'spelling_error'
[2016-08-21 18:45:39,802] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2016-08-21 18:45:39,984] [WARNING] views: Inconsistent view count in view_opened event
[2016-08-21 18:45:40,148] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:40,151] [WARNING] commands: updateCommandset: komodoFileSaveItems
[2016-08-21 18:45:40,152] [WARNING] commands: updateCommandset: cmdset_for_showHideMinimap
[2016-08-21 18:45:40,153] [WARNING] commands: updateCommandset: cmdset_cutcopydelete
[2016-08-21 18:45:40,156] [WARNING] commands: updateCommandset: cmdset_selection
[2016-08-21 18:45:40,160] [WARNING] commands: updateCommandset: cmdset_view_codeintel_changed
[2016-08-21 18:45:40,162] [WARNING] commands: updateCommandset: cmdset_view_or_language_changed
[2016-08-21 18:45:40,166] [WARNING] commands: updateCommandset: cmdset_currentview_is_editor_on_html
[2016-08-21 18:45:40,167] [WARNING] commands: updateCommandset: cmdset_view_dependent
[2016-08-21 18:45:40,175] [WARNING] commands: updateCommandset: cmdset_place_bufferOperations
[2016-08-21 18:45:40,176] [WARNING] commands: updateCommandset: cmdset_place_treeOperations
[2016-08-21 18:45:40,177] [WARNING] commands: updateCommandset: cmdset_properties
[2016-08-21 18:45:40,177] [WARNING] commands: updateCommandset: cmdset_clipboard
[2016-08-21 18:45:40,181] [WARNING] commands: updateCommandset: cmdset_minimap
[2016-08-21 18:45:40,182] [WARNING] commands: updateCommandset: cmdset_currentview_is_editor
[2016-08-21 18:45:40,210] [WARNING] commands: updateCommandset: cmdset_foldability
[2016-08-21 18:45:40,214] [WARNING] commands: updateCommandset: cmdset_previewability_changed
[2016-08-21 18:45:40,215] [WARNING] commands: updateCommandset: cmdset_place_contextMenu
[2016-08-21 18:45:41,885] [WARNING] commands: updateCommandset: cmdset_selection
[2016-08-21 18:45:41,899] [WARNING] commands: updateCommandset: cmdset_clipboard
[2016-08-21 18:45:41,912] [ERROR] console-logger: ReferenceError: view is not defined (2) in chrome://openfiles/content/openfiles.js:585
Traceback (most recent call last):
  File "chrome://openfiles/content/openfiles.js", line 585, in 

[2016-08-21 18:45:41,954] [WARNING] commands: updateCommandset: komodoFileSaveItems
[2016-08-21 18:45:41,962] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:42,004] [WARNING] codeintel.db: Unable to create symbols.db: possibly exists?
[2016-08-21 18:45:42,523] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:43,178] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:43,485] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:44,090] [WARNING] commands: updateCommandset: cmdset_selection
[2016-08-21 18:45:44,093] [WARNING] commands: updateCommandset: cmdset_clipboard
[2016-08-21 18:45:46,000] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:46,307] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:47,194] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:47,626] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:49,425] [WARNING] commands: updateCommandset: cmdset_undo
[2016-08-21 18:45:49,873] [ERROR] console-logger: ReferenceError: view is not defined (2) in chrome://openfiles/content/openfiles.js:585
Traceback (most recent call last):
  File "chrome://openfiles/content/openfiles.js", line 585, in 

[2016-08-21 18:45:49,919] [WARNING] commands: updateCommandset: komodoFileSaveItems
[2016-08-21 18:45:50,009] [WARNING] commands: updateCommandset: komodoFileSaveItems
[2016-08-21 18:46:32,890] [WARNING] commands: updateCommandset: cmdset_clipboard
[2016-08-21 18:46:32,898] [WARNING] commands: updateCommandset: cmdset_place_contextMenu
[2016-08-21 18:46:32,976] [WARNING] views: Inconsistent view count in view_closed event
[2016-08-21 18:46:33,031] [WARNING] commands: updateCommandset: cmdset_place_historyMenu

When you press Tab or Backspace, no new log item appears in the log? The one you gave looks fine for me except for view is not defined errors (but they shouldn’t break the functionality) and failure of koCommandmentService.

Do you have any add-ons installed?

The only thing I recall adding is HTML tools 1.1 But when I check the add-ons manager, there are a bunch.

When I press tab it says

[2016-08-21 19:03:13,003] [ERROR] console-logger: TypeError: this.log is undefined (2) in chrome://komodo/content/library/abbrev.js:484
Traceback (most recent call last):
  File "chrome://komodo/content/library/abbrev.js", line 484, in

This disappears when I add bindings for the tab and indent but I still can’t indent. Nothing when I backspace.

Hmm. Open the bottom pane, Console tab.
Type this:

require('ko/editor').scimoz().indent
require('ko/editor').scimoz().tabWidth

What values you’ll get?

I actually fixed it. What I realized is that sudo apt-get purge was not eliminating my settings, which is where the problem is likely located. So I uninstalled komodo, deleted the settings and reinstalled. Everything works.

I appreciate your assistance, thanks!

Wait-wait-wait, you’ve installed Komodo via apt-get? There’s no official repository available, you should download Komodo and install it from the official website.

Note: Safe Mode ran your Komodo instance without your custom settings, that’s why you were not able to reproduce your issues.

I’ve been using this repository:

ppa:mystic-mirage/komodo-edit

https://launchpad.net/~mystic-mirage

This one is unofficial with global menu support. There were some people experiencing problems with this repository when migrating between major releases, that’s why I’d recommend to install Komodo using the official website. Not sure what’s causing that though, my migration from 9.x to 10.x was fine :slight_smile:

The UI looks pretty nice in 10, I’m looking forward to any new features.

You may want to test 10.1 beta version which has some interesting features (better color scheme editor, branch switcher statusbar, etc.)

http://komodoide.com/blog/komodo-10-1-beta-now-available/