ivan-lednev / obsidian-day-planner

An Obsidian plugin for day planning with a clean UI and a simple task format
MIT License
2.01k stars 498 forks source link

Obsidian freezes completely if a notification daemon is not running (Linux) #293

Open ErenKyojin opened 10 months ago

ErenKyojin commented 10 months ago

Describe the bug As the title states, on task switch if a notification daemon is not running, raising a libnotify error in the console. I'm currently running arch linux.

To Reproduce Steps to reproduce the behavior:

  1. Create a new task
  2. Ensure that no notification daemon is running
  3. When the task begins obsidian becomes completely unresponsive (nor closing the application works nor SIGTERM works, only SIGKILL)

Expected behavior Either throw an error about the daemon not running or ignore the issue

Additional context Plugin version: 0.12.2 Obsidian version: 1.4.16-1 Also the GUI isn't frozen, IE the cursor blinks, but nothing really responds

Obviously starting a daemon like Dunst fixes the problem, but it took me a while to realize that was the issue.

ivan-lednev commented 10 months ago

Hello, @ErenKyojin,

Unfortunately, I don't have a Linux system at hand to test and fix this. A pull-request from a person with Linux would be awesome.

In the meantime, did you try to just turn off the notification feature?

ErenKyojin commented 10 months ago

Unfortunately, I don't have a Linux system at hand to test and fix this. A pull-request from a person with Linux would be awesome. I can try to look into this as soon as i have some free time

In the meantime, did you try to just turn off the notification feature? Just tried it and this also fixes the issue.

Also thank you for the fast respone!