typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

Opening a link to a file freezes Typora #4734

Open lillemets opened 2 years ago

lillemets commented 2 years ago

Describe the bug When opening a link to a file that is opened with an application other than Typora, Typora becomes unresponsive. Only when the opened file is closed, it is possible to use Typora again.

Links were created as described in support.typora.io/Links/. If this functionality is supposed to be broken for files that open outside Typora, then it should be noted on that help page.

To Reproduce Steps to reproduce the behavior:

  1. Create a link to a file that is opened with an applicaton other than Typora
  2. Open the link

Expected behavior Typora should be responsive and not frozen when I open a linked file or directory. This would allow linking to e.g. directories that contain files relevant to the text.

Screenshots / Screencasts Not relevant.

Sample Markdown File I reproduced the probem from new file using default themes, so file should not be the issue.

Desktop (please complete the following information):

Typora Version e.g: 0.11.8

Additional context To clarify, the problem did not occur when link opened a file in another instance of Typora or when link opened in Chrome browser.

abnerlee commented 2 years ago

could you open the same link / path in terminal with xdc-open ?

lillemets commented 2 years ago

Yes, xdg-open from terminal opens the same directories and files without producing any relevant errors.

abnerlee commented 5 months ago

Does this still happens in Typora 1.8?