Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Latex suite causes the canvas cards to be misty on source view mode. #187

Closed
CamWam opened this issue Sep 13, 2023 · 8 comments
Closed
Labels
bug Something isn't working

Comments

@CamWam
Copy link

CamWam commented Sep 13, 2023

Description

It seems that Latex Suite will cause the canvas card’s content to be misty on source view mode.
In past versions, it only happened in selecting condition, but now it has become worse
I have tried to restart the software, open safe-mode and close it, and close all other plugins.

To Reproduce

canvas.mp4
v1.mp4

typing in canvas's card, it will reappear

Window 10
Obsidian v1.4.12

@CamWam CamWam added the bug Something isn't working label Sep 13, 2023
@Comprehensive-Jason
Copy link
Contributor

I'm having this same issue. It's quite weird.

Recording.2023-09-18.163046.mp4

@artisticat1
Copy link
Owner

I can't reproduce this. Does the issue occur if you disable all features in the plugin settings?

@Comprehensive-Jason
Copy link
Contributor

Comprehensive-Jason commented Sep 28, 2023

I can't reproduce this. Does the issue occur if you disable all features in the plugin settings?

Yes, see here. The blur seems to happen consistently if you double-click on text to select it, and happens regardless if there are equations in the selected note or not. It happens even if the note in canvas is just text.

I am on Windows 11.

Recording.2023-09-28.105020.online-video-cutter.com.mp4

@CamWam
Copy link
Author

CamWam commented Sep 29, 2023

I can't reproduce this. Does the issue occur if you disable all features in the plugin settings?

Well, it seems doesn't happen in MacOS, only happens on WindowsOS. I have tried to disable all features in the plugin settings. but it doesn't change anything.

@j-finger
Copy link

I have been encountering a peculiar blurring issue with the Latex Suite plugin on Obsidian, specifically affecting the canvas cards. The blurring manifests whenever a card contains either a Latex equation or a list with more than two items. I have documented this issue through several screenshots.

Here are the detailed observations and circumstances under which the blurring occurs:

  1. Latex Equations and List Items:

    • The blurring is triggered when a card has a Latex equation or a list with more than two items.
    • Notably, if the first item of a list is selected and being edited, the blurring does not occur. However, from the second item onwards, the blurring is present.
  2. Editing and Viewing Modes:

    • The blurring is present in both editing mode (under the aforementioned circumstances) and viewing mode (if the card contains a Latex equation or a list).
  3. Settings and Restart Attempts:

    • I tried to resolve the issue by toggling various settings on and off, including disabling and re-enabling the extension, coupled with restarting Obsidian. Unfortunately, these actions did not ameliorate the blurring issue.

I have captured screenshots illustrating the blurring issue, which can be provided for further analysis.

all LatexSuite settings disabled   still blurry
all LatexSuite settings disabled still blurry

blurry editing equation
blurry editing equation

blurry editing list
blurry editing list

clear - extension disabled
clear - extension disabled

Unselected Card and blurry
Unselected Card and blurry

@CamWam
Copy link
Author

CamWam commented Nov 1, 2023

I find a way to solve this problem.

  1. Open ".obsidian\plugins\obsidian-latex-suite"
  2. find "styles.css"
  3. comment out .snippets-editor-wrapper .cm-editor, .cm-scroller { border-radius: 4px; } to /* .snippets-editor-wrapper .cm-editor, .cm-scroller { border-radius: 4px; } */

It works in
obsidian v1.3.7 , Latex suite 1.74/1.8.8

@j-finger
Copy link

j-finger commented Nov 2, 2023

  1. Open ".obsidian\plugins\obsidian-latex-suite"
  2. find "styles.css"
  3. comment out .snippets-editor-wrapper .cm-editor, .cm-scroller { border-radius: 4px; } to /* .snippets-editor-wrapper .cm-editor, .cm-scroller { border-radius: 4px; } */

Can confirm this works! Happy days!

image

@artisticat1 Could we get this rolled into the next update please?

@artisticat1
Copy link
Owner

I find a way to solve this problem.

  1. Open ".obsidian\plugins\obsidian-latex-suite"
  2. find "styles.css"
  3. comment out .snippets-editor-wrapper .cm-editor, .cm-scroller { border-radius: 4px; } to /* .snippets-editor-wrapper .cm-editor, .cm-scroller { border-radius: 4px; } */

It works in obsidian v1.3.7 , Latex suite 1.74/1.8.8

Thank you for the fix! I've included it in 1.8.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants