-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Favorites plugin - clicking on items in Favorites does not open them #9280
Comments
I can confirm the same behaviour, also on Windows with the same Joplin and same plugin version. |
Ok that's a tricky one. The favorite plugin had a click handler on a disabled input field, which indeed I would expect doesn't work, however somehow it did with previous Electron versions and doesn't anymore: I tried reverting to the previous Electron version we used, v19 and it works fine. @personalizedrefrigerator, I wonder if we should revert to an earlier Electron version, which doesn't have this problem, to give us time to address this properly? For info, as a test, I've reverted the upgrade in this PR: #9285 Another issue probably caused by the Electron upgrade is this one: #8788 |
@jb261, @placoderm, as a temporary workaround, you can click outside of that invisible input field - for example to the left of the icon, and that would work |
Let's do v25 and not v19. The Favorites plugin seems to work for me in v2.13.4, which uses Electron 25. v2.13.5 is the first version that uses Electron 26. Downgrading to Electron 19 may cause regressions in other plugins (e.g. it causes some minor style issues with the Freehand Drawing plugin and might not support the |
LOL. Yes that works. For me I don't have the icons (I must have done some css hiding?) but if I click on the very edge of the favorite tab/button then it does indeed work. Thanks!! |
As its author hasn't been active on GitHub in over a year, we will likely need to fix this issue without updating the original plugin (I've opened a pull request in case @benji300 is still maintaining it). Here are some ideas about how this might be done. If the plugin is unmaintainedIdea 1: Update by committing directly to the plugin repositoryWe might be able to commit a new JPL file and manifest for the plugin directly to the plugin repository. If we clear Idea 2: Transfer the Favorites plugin to a separate NPM package/GitHub repository and update it thereThis would require updating the plugin bot to support overriding one plugin's NPM package with another. Here's how this might work:
Idea 3: Update joplin-desktop to apply workaround CSS to the favorites plugin sidebarWe could update |
I realize it may be too complicated, but how about moving the plugin's functionality into core? This seems to be a good candidate for adding. |
Adding plugins to core is something we want to support eventually, but in the short term we need to fix that particular plugin for this release so this is what we're investigating at the moment. But the favorite plugin would indeed make a good candidate for a default bundled plugin. |
It might be — the feature freeze is just a few days away however, and we would likely need to make the following changes:
After version 2.13 is released, I plan to work on #7934 (including a set of default plugins with the app). Plugins would still be plugins, and thus not included directly in core, but a version of each plugin could be bundled with the application. (So hopefully we'll have that in version 2.14!) |
@personalizedrefrigerator, @laurent22: I can fix the plugin by accepting the PR and create a release (I hope my local environment still works). I think tomorrow I can spend some time to do so... But for future changes I would need someone to maintain the plugins. As you recognized, I don't have time anymore to maintain this and the other plugins. I am also happy to transfer the repositories to another location in GitHub. What about moving them to the Joplin organization? The plugins could then be maintained and further developed by the community. But I'm not quite sure what to do with the npm packages... |
Just want to say thank you for creating the plugin. And thanks for helping to get it working with the new release. |
@benji300, thanks for getting back to us! If you could transfer the GitHub repo indeed that would be great, or add some of us as administrator ( The more important part for deployment would be the npm package - would you be able to transfer it to us? It's described here how to do this: https://docs.npmjs.com/transferring-a-package-from-a-user-account-to-another-user-account. The organisation is |
Operating system
Windows
Application version
2.13.5
Desktop: About dialog content
Favorites plugin (v1.3.0) isn't working with 2.13.5. Left clicking on any of the notes in Favorites does not open the note; right clicking does work as expected though.
Joplin 2.13.5 (prod, win32)
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes
Revision: 1d04ec6
Current behaviour
Left clicking on a note in Favorites does not open the note.
Expected behaviour
Joplin should open the note.
Logs
No response
The text was updated successfully, but these errors were encountered: