Bug report
When using the Web Clipper you can not save the page if you start Inkdrop after you have opened the browser tab that you are trying to clip. It does “fix” it if you then reload the tab after starting Inkdrop, as well as work properly for any new tabs created afterwards. This also means that the Web Clipper thinks that a connection to Inkdrop is available even after it is closed.
I assume this is due to the plugin checking connection to the Inkdrop rest API whenever a new URL in a tab is loaded, if that is the case then checking whenever the Web Clipper plugin button is pressed instead would probably solve the issue.
Info
- Platform: Windows & Linux/Manjaro
- Browser: Firefox 88
- Plugin version: 0.1.0
Reproduce
To reproduce the connection unavailable error:
- Make sure Inkdrop is closed
- Open a new tab
- Go to some website
- Start Inkdrop
- Try to save the page using Web Clipper
To reproduce the bug where Web Clipper still thinks the Inkdrop server is available
- Do step 1-4 as above
- Reload the tab
- Close Inkdrop
- Try to save the page using Web Clipper