primary-theme / obsidian

Comfy, playful but productive theme for Obsidian. "Primary instantly puts you in a relaxed state that opens the door to creativity and exploration. Wonderfully executed down to the smallest details,"
GNU General Public License v3.0
1.06k stars 46 forks source link

Primary Theme Glitches Out #227

Open Mack127444 opened 3 months ago

Mack127444 commented 3 months ago

Is the bug present in the Default Theme?

No

Is the bug present in when all Snippets and Community Plugins are turned off?

Yes

Primary Theme Version

v2.8.0

Debug Info

SYSTEM INFO: Obsidian version: v1.6.7 Installer version: v1.6.3 Operating system: Windows 10 Home 10.0.22631 Login status: logged in Catalyst license: none Insider build toggle: off Live preview: on Base theme: adapt to system Community theme: Primary v2.8.0 Snippets enabled: 1 Restricted mode: off Plugins installed: 27 Plugins enabled: 27 1: Advanced Tables v0.21.0 2: Calendar v1.5.10 3: Callout Manager v1.1.0 4: Colored Text v1.1.1 5: Copilot v2.5.3 6: Editing Toolbar v2.4.16 7: Emoji Toolbar v0.4.1 8: Excalidraw v2.2.10 9: Execute Code v1.12.0 10: Full Calendar v0.10.7 11: Hider v1.4.0 12: Homework Manager v1.0.1 13: Iconize v2.14.3 14: Kanban v2.0.51 15: Latex Suite v1.9.4 16: Note Definitions v0.25.0 17: Omnisearch v1.23.1 18: Style Settings v1.0.8 19: Surfing v0.9.12 20: Text Extractor v0.5.2 21: Unicode Search v0.6.1 22: Excel to Markdown Table v0.4.0 23: Nuke Orphans v1.2.5 24: Day Planner v0.21.1 25: Dataview v0.5.67 26: NyanBar v1.0.0 27: ii v1.1.6

RECOMMENDATIONS: Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets. Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Share the Steps to Reproduce the Bug

It happens randomly, but certain things will guarantee it. Things like moving around in settings or browsing plugins will cause it to happen very badly. (Specifically the "appearance" tab will usually cause it)

https://github.com/user-attachments/assets/b2b811f3-352c-4daf-8d25-328e3bbfb9a0

https://github.com/user-attachments/assets/03637984-3122-4951-94f1-f1779663abb8

https://github.com/user-attachments/assets/3e8f2ba5-4251-42c8-a376-9218a7c8e500

The screen will flicker and either buttons or previews will stop appearing or they will continuously flash.

Additional Info

The instructions say to copy and paste debug info, which I did. It should be noted though that I am running Windows 11 Home, not Win10.

ceciliamay commented 3 months ago

hey there! can you try to check if and see if you have Hardware Acceleration turned on? (please try turning it off and on again if it already is)

you can find this under the Appearance tab > Advanced > Hardware Acceleration.

Afterwards, restart your Obsidian.

this seem to be a common issue but the cause is unsure right now. for now let me know if the above works for you.

Mack127444 commented 3 months ago

Thanks for the quick reply @ceciliamay! I tried that and unfortunately it made it a bit worse, causing my actual note files to start glitching out and hiding text. However I noticed something else. I have two monitors, one plugged into my 3060 ti (4k) and another plugged into the integrated graphics (1080p). I played around with it with the window on the 1080p monitor and couldn't get the glitching or the note-text disappearing to happen. However, it happened nonstop when the window was up on my main monitor (the 4k one). Is it a possibility that the Primary theme has some sort of bug that makes it run badly on Nvidia cards? Or am I pushing it too far trying to run it at such a high resolution?

Gabsop commented 2 months ago

Hey guys, I was having the same problem as you and it was something to do with my iCloud. My local vault was connected to my iCloud and apparently iCloud keeps moving the .obsidian to the cloud, witch breaks Obsidian. I marked the option "Keep Downloaded" and it fixed for me!

image Check this: https://forum.obsidian.md/t/obsidian-themes-keep-resetting-to-default-on-mac/38410

Mack127444 commented 2 months ago

Glad to see there's a fix for it on mac, but unfortunately, I'm on a windows pc :/.

ceciliamay commented 2 months ago

hey folks! is this still a persistent issue even after updating obsidian and primary (2.9.0)? let me know and i'll check it out again. it's a little tricky since i don't have a windows system to test on yet so apologies for the slow progress on this one!

let me know how it goes.

Mack127444 commented 2 months ago

Hey! My apologies for not seeing your comment earlier, unfortunately I just updated Primary this morning and it still glitches out. I once again tried to disable all css snippets and plugins but it still occurs...

ceciliamay commented 2 months ago

okay got it, will check on this again when i get my hands on a windows pc. it doesn't seem to be occurring in my virtual machine of windows, so in that aspect i did try.

Mack127444 commented 2 months ago

It's a weird issue, I should once again add:

These conditions have been observed across a single laptop and desktop pc.