TfTHacker / obsidian42-strange-new-worlds

Revealing the strange new world of connected thoughts in your vault.
https://tfthacker.com/SNW
MIT License
432 stars 13 forks source link

Cannot click on the beginning of each line when splitting #31

Closed madaolee closed 1 year ago

madaolee commented 1 year ago

the latest version(1.0.3)

I found that I could not click to select the beginning of each line when splitting left and right

https://user-images.githubusercontent.com/72607182/199883169-511c24b0-24bb-4314-bfe1-eccfb940a2fb.mp4

TfTHacker commented 1 year ago

Thank you for your report. If you turn off SNW this works well? It seems you are using the outliner plugin?

The video doesn't really show me where SNW is causing an issue, so please give me a few more details.

madaolee commented 1 year ago

Yes, when I turn off SNW it works well. and this issue came up after I updated SNW this morning. And I've tried using the default topic and then just turning on SNW, and the problem still exists, so I feel like this should be a problem caused by SNW.

Here is a more detailed video, my English is not very good, I do not know if it is expressed clearly, please forgive me.

https://user-images.githubusercontent.com/72607182/199894240-0f926afd-a526-4867-941f-f544bef5dab3.mp4

TfTHacker commented 1 year ago

Your english is just fine! You nicely explained the issue. I am not able to reproduce it, but I am going to try today and this weekend to see if I can.

madaolee commented 1 year ago

Thanks a lot!

TfTHacker commented 1 year ago

I am curious if you have these settings on:

CleanShot 2022-11-08 at 05 25 24@2x

If so, if you turn them off do they fix the issue?

madaolee commented 1 year ago

Turning off these options does not fix the issue. Beside,I can reproduce the issue in sandbox and my friend's computer. This is a really confusing bug.

TfTHacker commented 1 year ago

So try this please. Turn off gutters.

CleanShot 2022-11-08 at 06 48 52

madaolee commented 1 year ago

Now it's solved, thank you sincerely for your patient response

TfTHacker commented 1 year ago

well, that is still a bug. I will have to figure out why the gutter caused that. Another test you can try is turning the line number on in the editor (which is a gutter as well) and seeing if you experience the same issue.

The question is: is this an SNW bug, or something to do with gutters in general?

CleanShot 2022-11-08 at 07 12 51

madaolee commented 1 year ago

If I turn on Show line number, everything is ok. And I can also turn on Embed references in Gutter in Live Preview Mode (Desktop), the issue is fixed.

madaolee commented 1 year ago

https://user-images.githubusercontent.com/72607182/200493206-ac2054bf-d422-45a5-a98d-730b38619c5a.mp4

TfTHacker commented 1 year ago

I have closed this because in the end it wasn't a bug. Obsidian creates a gutter margin in various scenarios, for example when showing line numbers in the editor. SNW uses "gutters" in some cases. This is off by default in settings. If it gets turned on a gutter is added for SNW.

Each them handles gutters differently. So try different themes to find something that works well for SNW.