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

[Bug] The whole Obsidian interface shakes like crazy when typing (see demo)

Open FeralFlora opened this issue 2 years ago • 24 comments

When I type with typewriter scroll toggled on, the whole Obsidian interface shakes about with every keystroke. See demo:

Obsidian_pm6iFQHLUW

Note that the framerate of the gif is too slow to show how bad it truly is. This, of course, renders the plugin unusable. I had the same issue with the original plugin by deathau, as reported here, which is what prompted me to try this for. But the situation is the same.

Info: Version: 0.0.2

FeralFlora avatar Sep 03 '23 21:09 FeralFlora

same here

chenxin0397 avatar Sep 05 '23 02:09 chenxin0397

same

Homoe-hs avatar Sep 16 '23 09:09 Homoe-hs

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

davisriedel avatar Sep 16 '23 09:09 davisriedel

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I have version 1.4.11, but when I was testing this, I was on version 1.4.6 (catalyst).

FeralFlora avatar Sep 16 '23 10:09 FeralFlora

当前版本: v1.4.13

chenxin0397 avatar Sep 25 '23 01:09 chenxin0397

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'

chenxin0397 avatar Sep 26 '23 15:09 chenxin0397

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'

That's a great catch! I can confirm that disabling Table Enhancer also resolves the issue for me! I wonder what the conflict is there.

FeralFlora avatar Sep 28 '23 07:09 FeralFlora

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'

That's a great catch! I can confirm that disabling Table Enhancer also resolves the issue for me! I wonder what the conflict is there.

不知道开发者是否能解决这个问题,反正我已经禁用了 'Table Enhancer.'

chenxin0397 avatar Sep 28 '23 14:09 chenxin0397

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'

That's a great catch! I can confirm that disabling Table Enhancer also resolves the issue for me! I wonder what the conflict is there.

不知道开发者是否能解决这个问题,反正我已经禁用了 'Table Enhancer.'

We'll see, maybe we should report it in the Table Enhancer repo? I've also disabled it for now.

FeralFlora avatar Sep 29 '23 08:09 FeralFlora

I tried it on macOS: Table Enhancer and Typewriter Mode worked together there without this bug. I will try to reproduce this on Windows next time I get my hand on a Windows machine. I suppose Table Enhancer might also perform some action on each keystroke that interferes with the one executed by Typewriter Mode.

davisriedel avatar Sep 30 '23 11:09 davisriedel

I turned off the Highlighter and i notice no such jitters.

brocodile avatar Sep 30 '23 14:09 brocodile

Sorry, closed it by mistake. Re: Turning off highlighter, you mean current line highlighting, @brocodile?

FeralFlora avatar Sep 30 '23 14:09 FeralFlora

yes, the "highlight current line". There is significant reduction in the lag on my system.

brocodile avatar Sep 30 '23 14:09 brocodile

I tried it on macOS: Table Enhancer and Typewriter Mode worked together there without this bug. I will try to reproduce this on Windows next time I get my hand on a Windows machine. I suppose Table Enhancer might also perform some action on each keystroke that interferes with the one executed by Typewriter Mode.

@davisriedel Perhaps there is some confounding factor that we are unaware of? Like "Table enhancer" + "Typewriter" + "Plugin X" cause this problem?

FeralFlora avatar Oct 10 '23 21:10 FeralFlora

In fact, I have found that this plugin always affects the two typewriter mode plugins. Every time I want to use the typewriter mode plugin, I need to turn off this plugin. I wonder if this discovery would be helpful to the author?

chenxin0397 avatar Oct 13 '23 12:10 chenxin0397

In fact, I have found that this plugin always affects the two typewriter mode plugins. Every time I want to use the typewriter mode plugin, I need to turn off this plugin. I wonder if this discovery would be helpful to the author?

I assume by "this plugin", you mean table enhancer?

The problem is that @davisriedel couldn't replicate the problematic interaction. That's why I suggested that there might be some additional unknown factor in play.

FeralFlora avatar Oct 13 '23 13:10 FeralFlora

In fact, I have found that this plugin always affects the two typewriter mode plugins. Every time I want to use the typewriter mode plugin, I need to turn off this plugin. I wonder if this discovery would be helpful to the author?事实上,我发现这个插件总是影响两个打字机模式插件。每次我想使用打字机模式插件时,我都需要关闭这个插件。我想知道这个发现对作者是否有帮助?

I assume by "this plugin", you mean table enhancer?我假设“这个插件”是指表格增强器?

The problem is that @davisriedel couldn't replicate the problematic interaction. That's why I suggested that there might be some additional unknown factor in play.问题是@davisriedel无法复制有问题的交互。这就是为什么我建议可能还有其他一些未知因素在起作用。

是的,我发错地方了,本来是要发到 table enhancer 那边的

chenxin0397 avatar Oct 13 '23 17:10 chenxin0397

Hi, I am encountering the same behaviour. Once the table enhancer is disabled, the shaking effect is gone.

kennygokh avatar Mar 16 '24 03:03 kennygokh

@davisriedel, Strange that you can't reproduce the conflict between Table enhancer and Typewriter Mode, when there's three people here that could reproduce it. I wonder what differs in our setups 🤔

FeralFlora avatar Apr 12 '24 09:04 FeralFlora

I don't have table enhancer but I do see this issue until I turn off hilight current line. It seems to be some sort of conflict between minimal, obsidian, and Typewriter mode hilight current line and maybe line length? The lag is very noticable. These are what are in console:

image image image

It may also be languagetool?

brimwats avatar Jul 06 '24 21:07 brimwats

Have you figured out what's causing the shaking?

ReaderGuy42 avatar Oct 24 '24 14:10 ReaderGuy42

Unfortunately, I still wasn't able to reproduce this on any of my machines. I also use the language tool plugin, without any problems. However, I am preparing to release version 1.0.0 where I have rewritten several parts of the typewriter scroll mechanism. Has anyone who experienced this issue tried one of the latest release candidates? Is the problem still remaining?

davisriedel avatar Oct 26 '24 00:10 davisriedel

my version: V 1.6.7 I found the the plugin 'Calendar (Beta)' is another one to cause it, and this calendar version is 2.0.0

xhmmza-lab avatar Nov 02 '24 17:11 xhmmza-lab

problem still occurs on obsidian 1.8.10 and plugin version 1.1.0. It only started after I installed a different plugin but it continues after uninstalling that plugin

rexendevar avatar May 06 '25 19:05 rexendevar