qawatake / obsidian-core-search-assistant-plugin

An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
MIT License
109 stars 2 forks source link

[Bug] Preview opens unknown files with default application on Windows #22

Closed generic-user closed 2 years ago

generic-user commented 2 years ago

Version: 0.3.7 OS: Windows

When the preview gets generated for an unknown file type, it opens it with the default application.

Ea: xml, html, drawio files.

Thanks for the plugin, It's a beauty. 🎉

qawatake commented 2 years ago

@generic-user

Could you share a screen recording of that problem?

qawatake commented 2 years ago

@generic-user

Can I close this issue?

generic-user commented 2 years ago

Hi sorry for the slow response, it's been some busy times for me, I recorded a GIF, hopefully it sheds some light upon the problem.

When the preview gets generated for an unknown file type, it opens it with the default application.

In the example below, the unknown file type is DWG, but it happens also with other file types.

Animation

qawatake commented 2 years ago

@generic-user

Thanks. I understand it. The problem occurs when you search with file: or path:.

I'll fix the bug in the next update.

qawatake commented 2 years ago

@generic-user

I think I have fixed the bug. Please try it.

generic-user commented 2 years ago

Hi I tested it, it seems fixed. Thanks!