Obsidian is utterly broken on tables when using a pen

Steps to reproduce

You need a tablet with an S pen. Once you install Obsidian and attempt to write with the S pen the left / right / top panels are showing for a split second due to the movement of the s pen being detected as a pull event. This causes the writing to stop and the type cursor starts moving all over the place.

Here’s a recording of the experience:

Unfortunately the panels sometimes show for a split-second so they are not captured in the video, but it does show the problems that occur after those panels show.

The overall experience is pretty terrible to be honest. The pen randomly stops working in Obsidian and to make it “work” again I need to use my fingers, move the side bars and then the pen starts working again until the next time I need to do that again.

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The S pen should work.

Actual result

Shhh starts flying around :smile:

Environment

SYSTEM INFO:
	Operating system: android 14 (samsung SM-X916B)
	Obsidian version: 1.6.7 (149)
	API version: v1.6.7
	Login status: not logged in
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

Based on some research it looks like it’s possible to reliably detect if there is an pen being used:

It would make sense to temporarily disable the ability to “pull out” the side panels when the s pen is being used. Or have a dedicated area from which the pen can activate the pull out. So instead of activating the pull out from anywhere on the screen there could be a “hot spot” that’s on the left/right/top with let’s say 200px offset in which the pen would activate the pull event.

I think the option with disabling the pull event is easier to implement as the user still has the left / right icons on the top that he can use to click and show those panels.

1 Like

Hello. We don’t support S pen input. Please, open a Feature Request. Thanks

I wouldn’t categorize this as a feature request, but rather a bug which can be easily fixed.

There is no need for dedicated S pen, Stylus or Apple Pencil support. The above was merely a suggestion. Minor logic changes related to the side panels will resolve the problem as well. For example there could be configuration flag that can be selected by the user and when enabled – the side panels will only show when you click the respective icon(s):
Screenshot_20240725_114711_Obsidian

The flag can be set to false as default which would preserve backwards compatibility and the current behavior.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.