Operating system
Linux
Joplin version
2.13.8
Desktop version info
Joplin 2.13.8 (prod,linux)
Revision 604dcbc35
Ubuntu snap information: 42 latest/stable James-Carroll*
Sync target
Dropbox
What issue do you have?
After a reboot when I first try to open Joplin Desktop the window does not appear, but it does show in the sidebar with a dot next to it (implying it is open, but none of my 4 desktop spaces shows it).
If I right click the icon and choose Quit, then open it again it opens fine, no problem, and is perfectly stable until next time I need to reboot to install Ubuntu updates.
Please note that this is NOT a big deal, I just thought I would report it in case there was a work-around. Even if there is no fix or work-around it does NOT significantly impact my use of Joplin. Thanks for a great product!
Screenshots
Log file
Joplin_Log_for_time_period_involved.txt (27.2 KB)
This issue should be fixed by this pull request:
laurent22:dev
← personalizedrefrigerator:pr/fix-ubuntu-startup
opened 10:25PM - 19 Dec 23 UTC
# Explanation
- Electron replaces `XDG_CURRENT_DESKTOP` with `Unity` on `ubun… tu:GNOME`, but also stores the original `XDG_CURRENT_DESKTOP` in `ORIGINAL_XDG_CURRENT_DESKTOP`.
This change causes `shim.isGNOME` to also check `ORIGINAL_XDG_CURRENT_DESKTOP`.
# Testing
1. Launch the application using `npx electron .` (start in release mode)
- Do not launch from the terminal in VSCode (VSCode is an electron app, and thus also modifies `XDG_CURRENT_DESKTOP`).
3. Verify that the application window is visible
4. Repeat steps 1 and 2
5. Run `shim.isGNOME()` in the development tools.
This has been tested on Ubuntu 23.10.
<!--
Please prefix the title with the platform you are targetting:
Here are some examples of good titles:
- Desktop: Resolves #123: Added new setting to change font
- Mobile, Desktop: Fixes #456: Fixed config screen error
- All: Resolves #777: Made synchronisation faster
And here's an explanation of the title format:
- "Desktop" for the Windows/macOS/Linux app (Electron app)
- "Mobile" for the mobile app (or "Android" / "iOS" if the pull request only applies to one of the mobile platforms)
- "CLI" for the CLI app
If it's two platforms, separate them with commas - "Desktop, Mobile" or if it's for all platforms, prefix with "All".
If it's not related to any platform (such as a translation, change to the documentation, etc.), simply don't add a platform.
Then please append the issue that you've addressed or fixed. Use "Resolves #123" for new features or improvements and "Fixes #123" for bug fixes.
AND PLEASE READ THE GUIDE: https://github.com/laurent22/joplin/blob/dev/CONTRIBUTING.md
-->
Thank you for reporting this!
You are very welcome. Apparently I included sufficient information to identify the cause (this was my first bug report). Happy Holidays!
system
Closed
18 January 2024 23:19
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.