-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Joplin saves resources with absolute Windows Paths causing broken synced notes and .jex file is missing images #6211
Comments
I think I also have another plausible explanation Joplin records full paths to resources if you copy an image from a note and paste to another one |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
I provided all the info already |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
This is is not fixed and it is a major bug. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
It is not fixed and still a big bug |
It happened to me lately. |
This is still a severe bug and is not fixed... |
https://discourse.joplinapp.org/t/why-is-github-issues-long-left-to-be-answered/25993/8 seems like the bug is not easily reproduce. |
If anyone is having this issue, please could you provide the exact steps to follow to replicate it? Also please provide your operating system and Joplin version number. |
Copy and paste from the forum.
Joplin v2.8.8 under Windows 10.
|
@tomasz1986, I can indeed replicate this, but I don't think that's the problem they have, and it's probably not that common to copy from Rich Text editor to Markdown one. It seems to be some issue with Windows paths, but I'd need to try on Windows to replicate |
This becomes an issue when the user tries different clients on different platforms or shares between different users of Joplin or users of the system the paths change. |
@gerroon Do you have some non-ASCII characters in your Windows username ? If it is the case, I may have found your bug. Steps to reproduce:
I have written a fix for this bug. I will make a PR and link your issue if you confirm that it is your bug. |
Hi All my user names are regular ascii. What you found sounds like a different bug. This issue is about copying and pasting image using the rich markdown editor which pastes with absolute paths which leads to broken images on other clients and platforms. |
I tried the steps in #6211 (comment) and I can reproduce this bug. Something might be helpful:
|
I guess I've figured out what happens. Firstly, when copying an image from WYSIWYG editor, you will always get the full path of an image |
@laurent22, it sounds like @wh201906 pretty much figured out the bug that is causing this issue. |
To replicate:
#6211 (comment)
Hi
For some reason some images in some of the notes were not synching to other devices. I tried to figure out what the issue was but I can't pinpoint. After even more digging I found that Joplin records absolute Windows paths to the resources which ends up breaking image loading on other devices. Obviously this does not happen always and I do not know when or how Joplin decides to behave this way.
Please see the bottom of the .md content I pasted below. I renamed my user to USER
.jex file ( You can see that those images are not recorded in the resources folder)
Human head - Wikipedia 2.zip
I exported one of the notes I found with that issue, and as you can see the resource has absolute path, this is not something I added myself. This page was captured by the Chrome extension.
This is the page I captured, but I do not know if this is really a Clipper issue since the clipper would not know where the images are saved on the drive.
https://en.wikipedia.org/w/index.php?title=Human_head
As a result of this issue the exported .jex files also does not contain those images which has broken image icons, same with syncing to the other devices where those images are also going to be broken on those devices.
Environment
Joplin version: 2.7.13
Platform: Windows 10
The text was updated successfully, but these errors were encountered: