Sublime Forum

Sublime Text 3: Preferences menu greyed

#1

I am using Sublime Text 3 on my MacBook Pro (OS version 10.13.2)

Since a few time, the Preferences menu is always greyed and not usable. Even on restart.
Any idea to solve that?

Thanks
Paul

1 Like

My preferences menu item is disabled
#2

I am having the same issue and came here to look for help or create an issue myself. Sometimes I can access preferences and other times I cannot. I’ve copied the output of my console here: https://gist.github.com/anonymous/886aecbf87f6d7595e1c3f4ec7e85faa, but nothing seems out of the ordinary except a few tmlanguage files which cannot be found. This has been going on for a few weeks now.

Same OS and using Sublime dev build 3156.

0 Likes

#3

My build is 3143
My Console here:

startup, version: 3143 osx x64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
working dir: /
packages path: /Users/eric/Library/Application Support/Sublime Text 3/Packages
state path: /Users/eric/Library/Application Support/Sublime Text 3/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/eric/Library/Application Support/Sublime Text 3/Installed Packages
ignored_packages: [“Vintage”]
Errors parsing theme:
icon_folder is missing layer0.opacity, setting to 1.0 for backwards compatibility
icon_folder_loading is missing layer0.opacity, setting to 1.0 for backwards compatibility
pre session restore time: 0.704028
using gpu buffer for window
startup time: 0.801768
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.50-backrefs
reloading plugin 0_package_control_loader.50-markupsafe
reloading plugin 0_package_control_loader.50-pymdownx
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin BracketHighlighter.bh_core
reloading plugin BracketHighlighter.bh_logging
reloading plugin BracketHighlighter.bh_plugin
reloading plugin BracketHighlighter.bh_popup
reloading plugin BracketHighlighter.bh_regions
reloading plugin BracketHighlighter.bh_remove
reloading plugin BracketHighlighter.bh_rules
reloading plugin BracketHighlighter.bh_search
reloading plugin BracketHighlighter.bh_swapping
reloading plugin BracketHighlighter.bh_wrapping
reloading plugin BracketHighlighter.support
reloading plugin Colorsublime.colorsublime-plugin
reloading plugin DocBlockr.jsdocs
reloading plugin Emmet.emmet-plugin
reloading plugin GotoDocumentation.goto_documentation
reloading plugin Gremlins.Gremlins
reloading plugin HTML Minifier.Minfier
reloading plugin LoremIpsum.LoremIpsum
reloading plugin npm-install.npm-install
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarAPI
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin SublimeLinter-annotations.linter
SublimeLinter: annotations linter loaded
reloading plugin SublimeLinter-csslint.linter
SublimeLinter: csslint linter loaded
reloading plugin SublimeLinter-html-tidy.linter
SublimeLinter: htmltidy linter loaded
reloading plugin SublimeLinter-jshint.linter
SublimeLinter: jshint linter loaded
reloading plugin SublimeLinter-php.linter
SublimeLinter: php linter loaded
reloading plugin SublimeLinter-phplint.linter
SublimeLinter: phplint linter loaded
reloading plugin View In Browser.ViewInBrowserCommand
reloading plugin CodeFormatter.CodeFormatter
CodeFormatter: formatting python files on ST3 not supported.
reloading plugin HTML-CSS-JS Prettify.HTMLPrettify
reloading plugin sublime-compare-side-by-side.sbs_compare
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
plugins loaded
SublimeLinter: annotations activated:
CodeFormatter: Plugin Initialized
environment variables loaded using: /bin/bash -l
Emmet: No need to update PyV8
Package Control: Skipping automatic upgrade, last run at 2018-01-08 21:13:34, next run at 2018-01-08 22:13:34 or after

0 Likes

#4

Preferences went back for short time and vanished again…
:frowning:

0 Likes

#5

My initial hunch was that your plugin_host is probably crashing, but the console log doesn’t seem to indicate that (I think this is logged).

Try with plugins disabled or revert your installation.

0 Likes

#6

Thanks FichteFoll

  • disabling plugins didn’t let Preferences more stable
  • I tried to revert Sublime: same problem with only these plugins installed
    SublimeLinter
    SublimeLinter-annotations
    CodeFormatter
    BracketHighlighter
  • I tried to remove them with different combinations: same problem
  • dowload a fresh version of ST3: same problem

Well… any idea?
(Atom is knocking at the door)

0 Likes

#7

I’ve also been having this problem.

Mac OS 10.13.3
Sublime Text build 3157

It comes and goes. Sometimes it takes many tries for it to start with preferences available, other times it stays for a while. I’ve checked the console but there’s no errors. Sometimes it comes back if I remove a plugin and then re-add it. It’s very inconsistent and rather frustrating. What conditions cause Sublime Text to grey the preferences? Maybe there’s a race condition in loading things back in that causes it to be unhappy or something? I don’t know, just guessing.

For a while it was coming back when I removed Sublime Linter - Stylelint, but even now I’ve just removed it again and it’s still greyed out.

I also tried removing all packages, and it was still happening. :confused:

0 Likes

#8

I hope you’ll find the solution.
I didn’t… and just switched from Sublime to Atom.

0 Likes

#9

I’ve been experiencing the same issue for a few weeks (macOS 10.13.3, ST3 build 3143). Reinstalling a package would sometimes fix it, and then it would come back. Disabling all my packages didn’t fix it. Eventually I reverted my installation and only installed a handful of packages, leaving out SublimeCodeIntel and SublimeLinter among others, and the issue has since disappeared.

Although SublimeLinter seems to be the culprit, as mentioned in Preferences greyed out in OS X it might be a race condition, and not specifically tied to one package.

0 Likes

#10

A user has figured out a way to repro this (see Kronuz’ comment from 6/19/18 on the issue tracker).

Looks like it might be caused by packages with a large amount of files. There could be other causes as well, but hopefully with at least one reliable way to repro, the devs will come up with a fix.

0 Likes

#11

This worked for me:
1/ open up the Sublime Console ( ctrl + ` )
2/ see if anything is throwing an error. *
3/ uninstall and reinstall the package that’s throwing the error ( cmd + shift + P)

  • In my case, it was GitGutter
Exception AttributeError: "'GitGutterShowDiff' object has no attribute 'git_handler'" in <bound method GitGutterShowDiff.__del__ of <GitGutter.modules.show_diff.GitGutterShowDiff object at 0x109698790>> ignored
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 272, in create_text_commands
    cmds.append(class_(view))
  File "/Users/.../Library/Application Support/Sublime Text 3/Installed Packages/GitGutter.sublime-package/modules/commands.py", line 56, in __init__
TypeError: __init__() missing 1 required positional argument: 'status_bar'
0 Likes