obsidian-typewriter-mode icon indicating copy to clipboard operation
obsidian-typewriter-mode copied to clipboard

When Typewriter Mode Plugin is Enabled, Cursor Gets Stuck

Open acook opened this issue 9 months ago • 8 comments

This is a really weird issue but it only happens when Typewriter Mode plugin is enabled.

Effect

The typing cursor locks in place and cannot be moved with cursor keys. Then Obsidian will not accept typed input from the keyboard at all. The rest of Obsidian works as normal, including hotkeys and mouse movement and switching tabs.

Cause

I've been dealing with it off and on for months but I'm not sure how to replicate it simply.

Resolution

If the plugin has been enabled during a session, disabling it does not fix the problem on its own. Obsidian needs to be restarted.

acook avatar Feb 14 '25 02:02 acook

Could you please try it in an empty vault without any other plugins installed and see if the issue occurs there as well? Or please provide a list of plugins you have installed in the vault where the issue occurs. Also, do you have VIM mode enabled?

davisriedel avatar Feb 16 '25 16:02 davisriedel

Contents of my community-plugins.json:

[
  "auto-card-link",
  "calendar",
  "create-note-in-folder",
  "dataview",
  "dbfolder",
  "file-tree-alternative",
  "highlightr-plugin-enhanced",
  "obsidian-list-callouts",
  "longform",
  "numerals",
  "url-into-selection",
  "obsidian-outliner",
  "settings-management",
  "obsidian-minimal-settings",
  "obsidian-style-settings",
  "obsidian-git",
  "omnisearch",
  "obsidian-tasks-plugin",
  "text-extractor",
  "obsidian-file-info-plugin",
  "obsidian-focus-mode",
  "templater-obsidian",
  "obsidian-chartsview-plugin",
  "live-editor-syntax-highlight",
  "cmdr",
  "home-tab",
  "typewriter-mode"
]

I don't have VIM mode enabled.

I'll keep playing with different plugin combos to see where the conflict might be.


  • Tested without obsidian-outliner which was my bet guess for conflicts, but it still happened. Testing will continue. I noticed this time that it happened after copy and pasting a large block containing links from one file to another.

It's not any of these:

[
  "create-note-in-folder",
  "dataview",
  "file-tree-alternative",
  "obsidian-minimal-settings",
  "obsidian-style-settings",
  "obsidian-git",
  "omnisearch",
  "text-extractor",
  "templater-obsidian",
  "typewriter-mode",
  "auto-card-link",
  "calendar",
  "dbfolder",
  "obsidian-list-callouts",
  "home-tab",
  "lineage",
  "settings-management",
  "obsidian-file-info-plugin",
  "longform",
  "numerals",
  "url-into-selection",
  "obsidian-tasks-plugin"
]

acook avatar Feb 17 '25 05:02 acook

I have the same Issue, I also test some combinations. If you find the reason for the issue please let me know. I ll also try to find the problem.

Jo55Jo avatar Mar 04 '25 09:03 Jo55Jo

@Jo55Jo can you post the contents of your community-plugins.json like I did?

acook avatar Mar 04 '25 20:03 acook

Sure! This is it: [ "obsidian-minimal-settings", "tag-wrangler", "obsidian-tagfolder", "dataview", "smart-random-note", "obsidian-plugin-toc", "highlightr-plugin", "obsidian-dictionary-plugin", "obsidian-footnotes", "periodic-notes", "journal-review", "cmdr", "obsidian-hotkeys-for-specific-files", "quickadd", "obsidian-sort-and-permute-lines", "obsidian-text-expander-js", "find-unlinked-files", "birthday-tracker", "obsidian-mind-map", "obsidian-reading-time", "colored-text", "recent-files-obsidian", "weekly-review", "calendar", "simple-canvasearch", "whisper", "canvas-presentation", "canvas-minimap", "obsidian-kanban", "obsidian-markmind", "typewriter-mode", "obsidian-stille", "table-editor-obsidian", "obsidian-annotator", "canvas-links" ] It also now bugs sometimes when the plugin is off..

This appear to be the similarities:

obsidian-minimal-settings dataview calendar typewriter-mode

Jo55Jo avatar Mar 07 '25 14:03 Jo55Jo

Looks like cmdr is another one we share.

I am starting to suspect it might have something to do with load order. If Typewriter Mode is loaded early, issues may not appear. So tracking conflicts becomes more challenging.

acook avatar Mar 07 '25 22:03 acook

Thank you for your plugin lists, I will investigate this and try to implement a fix.

davisriedel avatar Apr 05 '25 08:04 davisriedel

FYI it is related to load order. So if you enable Typewriter Mode in at the end it is more likely to happen.

acook avatar Apr 05 '25 09:04 acook