Installing Joplin 1.0.174 on macOS Catalina results in no visible window

Joplin Version:

Joplin 1.0.174

OS

macOS Catalina 10.15.1

Most recent logs:

2019-11-24 09:42:08: “Profile directory: /Users/chris/.config/joplin-desktop”
2019-11-24 09:42:08: “Trying to load 0 master keys…”
2019-11-24 09:42:08: “Loaded master keys: 0”
2019-11-24 09:42:08: “ResourceFetcher: Auto-add resources: Mode: always”
2019-11-24 09:42:08: “ResourceFetcher: Auto-added resources: 0”
2019-11-24 09:42:08: “Trying to load 0 master keys…”
2019-11-24 09:42:08: “Loaded master keys: 0”
2019-11-24 09:42:08: “Scheduling sync operation…”
2019-11-24 09:42:08: “Trying to load 0 master keys…”
2019-11-24 09:42:08: “Loaded master keys: 0”
2019-11-24 09:42:08: “Scheduling sync operation…”
2019-11-24 09:42:08: “Trying to load 0 master keys…”
2019-11-24 09:42:08: “Loaded master keys: 0”
2019-11-24 09:42:08: “Scheduling sync operation…”
2019-11-24 09:42:08: “Scheduling sync operation…”
2019-11-24 09:42:08: “RevisionService::runInBackground: Starting background service with revision collection interval 600000”
2019-11-24 09:42:09: “DecryptionWorker: cannot start because no master key is currently loaded.”
2019-11-24 09:42:12: “RevisionService::maintenance: Starting…”
2019-11-24 09:42:12: “RevisionService::maintenance: Service is enabled”
2019-11-24 09:42:12: “RevisionService::collectRevisions: Created revisions for 0 notes”
2019-11-24 09:42:12: “RevisionService::maintenance: Done in 117ms”
2019-11-24 09:42:18: “SearchEngine: Updating FTS table…”
2019-11-24 09:42:18: “SearchEngine: Updated FTS table in 2ms. Inserted: 0. Deleted: 0”
2019-11-24 09:42:18: “Preparing scheduled sync”
2019-11-24 09:42:18: “Saving updated OneDrive auth.”
2019-11-24 09:42:18: “Token expired: refreshing…”
2019-11-24 09:42:19: “Saving updated OneDrive auth.”
2019-11-24 09:42:19: “Starting scheduled sync”
2019-11-24 09:42:25: "Operations completed: "
2019-11-24 09:42:25: “fetchingTotal: 1”
2019-11-24 09:42:25: “fetchingProcessed: 1”
2019-11-24 09:42:25: “Total folders: 31”
2019-11-24 09:42:25: “Total notes: 613”
2019-11-24 09:42:25: “Total resources: 52”
2019-11-24 09:42:25: “Updating all notifications…”
2019-11-24 09:42:25: “Garbage collecting alarms…”
2019-11-24 09:42:26: “DecryptionWorker: cannot start because no master key is currently loaded.”
2019-11-24 09:42:38: “ResourceService::indexNoteResources: Start”
2019-11-24 09:42:38: “ResourceService::indexNoteResources: Completed”
2019-11-24 09:42:38: “ResourceService::deleteOrphanResources:”, “[]”
2019-11-24 09:47:25: “Running background sync on timer…”
2019-11-24 09:47:25: “Scheduling sync operation…”
2019-11-24 09:47:25: “Preparing scheduled sync”
2019-11-24 09:47:25: “Starting scheduled sync”
2019-11-24 09:47:27: “TaskQueue.stop: syncDownload: waiting for tasks to complete: 0”
2019-11-24 09:47:27: “TaskQueue.stop: syncDownload: Done, waited for 0”
2019-11-24 09:47:28: "Operations completed: "
2019-11-24 09:47:28: “fetchingTotal: 1”
2019-11-24 09:47:28: “fetchingProcessed: 1”
2019-11-24 09:47:28: “Total folders: 31”
2019-11-24 09:47:28: “Total notes: 613”
2019-11-24 09:47:28: “Total resources: 52”
2019-11-24 09:59:14: “RevisionService::maintenance: Starting…”
2019-11-24 09:59:14: “RevisionService::maintenance: Service is enabled”
2019-11-24 09:59:14: “Running background sync on timer…”
2019-11-24 09:59:14: “Scheduling sync operation…”
2019-11-24 09:59:14: “Preparing scheduled sync”
2019-11-24 09:59:14: “Starting scheduled sync”
2019-11-24 09:59:14: “RevisionService::collectRevisions: Created revisions for 0 notes”
2019-11-24 09:59:14: “RevisionService::maintenance: Done in 105ms”
2019-11-24 09:59:18: “TaskQueue.stop: syncDownload: waiting for tasks to complete: 0”
2019-11-24 09:59:18: “TaskQueue.stop: syncDownload: Done, waited for 0”
2019-11-24 09:59:19: "Operations completed: "
2019-11-24 09:59:19: “fetchingTotal: 1”
2019-11-24 09:59:19: “fetchingProcessed: 1”
2019-11-24 09:59:19: “Total folders: 31”
2019-11-24 09:59:19: “Total notes: 613”
2019-11-24 09:59:19: “Total resources: 52”
2019-11-24 09:59:45: “Profile directory: /Users/chris/.config/joplin-desktop”
2019-11-24 09:59:45: “Trying to load 0 master keys…”
2019-11-24 09:59:45: “Loaded master keys: 0”
2019-11-24 09:59:45: “ResourceFetcher: Auto-add resources: Mode: always”
2019-11-24 09:59:45: “ResourceFetcher: Auto-added resources: 0”
2019-11-24 09:59:45: “Refreshing notes:”, “null”, “null”
2019-11-24 09:59:45: “Trying to load 0 master keys…”
2019-11-24 09:59:45: “Loaded master keys: 0”
2019-11-24 09:59:45: “Scheduling sync operation…”
2019-11-24 09:59:45: “Setting up recurrent sync with interval 300”
2019-11-24 09:59:45: “Trying to load 0 master keys…”
2019-11-24 09:59:45: “Loaded master keys: 0”
2019-11-24 09:59:45: “Scheduling sync operation…”
2019-11-24 09:59:45: “Trying to load 0 master keys…”
2019-11-24 09:59:45: “Loaded master keys: 0”
2019-11-24 09:59:45: “Scheduling sync operation…”
2019-11-24 09:59:45: “Scheduling sync operation…”
2019-11-24 09:59:46: “RevisionService::runInBackground: Starting background service with revision collection interval 600000”
2019-11-24 09:59:51: “Refreshing notes:”, “2”, “baac05242d5148cba327fdfcce018745”
2019-11-24 09:59:51: “DecryptionWorker: cannot start because no master key is currently loaded.”
2019-11-24 09:59:51: “RevisionService::maintenance: Starting…”
2019-11-24 09:59:51: “RevisionService::maintenance: Service is enabled”
2019-11-24 09:59:52: “RevisionService::collectRevisions: Created revisions for 0 notes”
2019-11-24 09:59:52: “RevisionService::maintenance: Done in 390ms”
2019-11-24 09:59:55: “SearchEngine: Updating FTS table…”
2019-11-24 09:59:55: “SearchEngine: Updated FTS table in 2ms. Inserted: 0. Deleted: 0”
2019-11-24 09:59:55: “Preparing scheduled sync”
2019-11-24 09:59:55: “Saving updated OneDrive auth.”
2019-11-24 09:59:56: “Starting scheduled sync”
2019-11-24 09:59:56: “Sync: starting: Starting synchronisation to target 3… [1574611196235]”
2019-11-24 09:59:56: “mkdir /drive/root:/Apps/Joplin/.sync”
2019-11-24 09:59:56: “mkdir /drive/root:/Apps/Joplin/.lock”
2019-11-24 09:59:56: “mkdir /drive/root:/Apps/Joplin/.resource”
2019-11-24 09:59:57: “list /drive/root:/Apps/Joplin”
2019-11-24 09:59:57: “get /drive/root:/Apps/Joplin/.sync/version.txt”
2019-11-24 09:59:58: “put /drive/root:/Apps/Joplin/.sync/version.txt”, “null”
2019-11-24 09:59:59: “delta /drive/root:/Apps/Joplin”
2019-11-24 09:59:59: “Sync: fetchingTotal: Fetching delta items from sync target”
2019-11-24 09:59:59: “get /drive/root:/Apps/Joplin/.sync”
2019-11-24 09:59:59: “Sync: fetchingProcessed: Processing fetched item”
2019-11-24 09:59:59: “Sync: finished: Synchronisation finished [1574611196235]”
2019-11-24 09:59:59: "Operations completed: "
2019-11-24 09:59:59: “fetchingTotal: 1”
2019-11-24 09:59:59: “fetchingProcessed: 1”
2019-11-24 09:59:59: “Total folders: 31”
2019-11-24 09:59:59: “Total notes: 613”
2019-11-24 09:59:59: “Total resources: 52”
2019-11-24 09:59:59: “Setting up recurrent sync with interval 300”
2019-11-24 09:59:59: “Updating all notifications…”
2019-11-24 09:59:59: “Garbage collecting alarms…”
2019-11-24 10:00:00: “DecryptionWorker: cannot start because no master key is currently loaded.”
2019-11-24 10:00:15: “ResourceService::indexNoteResources: Start”
2019-11-24 10:00:16: “ResourceService::indexNoteResources: Completed”
2019-11-24 10:00:16: “ResourceService::deleteOrphanResources:”, “[]”

Unfortunately there’s nothing in the log that explains this behavior.

What is the output of the following command (in the macOS Terminal):

sqlite3 ~/.config/joplin-desktop/database.sqlite "select * from settings where key='startMinimized'"

It just pops back to the command prompt. No output.

Thanks for the info. This means that the setting is not set and Joplin does not start minimized.
I’m using Joplin on macOS (although I’m on 10.14.6) as well and I never ran into this issue. But I also use TotalSpaces2 and have set Joplin to All spaces.

Is Joplin in the Dock? What happens, if you use the App Switcher (Cmd+Tab) to select Joplin? Are you using multiple monitors?
There could be a bug in Electron that only shows up on Catalina.

Does anybody have an idea?

  • I use multiple monitors at work.
  • Cmd + Tab behaves normally, with the absence of a window for Joplin. There is a Joplin top bar showing as if the app is running normally, but just not showing.
1 Like

Hmm, very strange. What happens, if you click Preferences... in the menu or click on Open in the status item menu?
I used multiple monitors a while back and I still never ran into that issue. This must be a combination of several things. Unfortunately I can’t figure this out, because I don’t have Catalina, nor HDMI to USB-C adapters.

Maybe Laurent has an idea on how to proceed.

Preferences has no effect. About pops the usual dialog. Open is not present. (a clue?) Close Window is present and behaves as expected, ‘minimizing’ to the toolbar and reverting to the next app underneath.

I have uninstalled / reinstalled to no effect.

When attempting to brew install I do get what appears to be a permissions issue and homebrew won’t let me sudo anymore. (I guess they are even idiot proofing the CL now. Probably appropriate in my case.)

Maybe we should add a Show all or Show Joplin in the menu. However, since I can't reproduce it, I don't even know where this hidden window is. Thus I don't know, it that would help at all.

I meant the status bar item. It loos like this: image

If you click on it, there are 2 menu items (Open Joplin, Exit).

SOLVED:

I installed the new release today in hopes that this would resolve my issue. It did not - however something must have changed ever so slightly, as now I noticed the tiniest vertical line in the upper left corner of my screen. I could ‘grab’ the window sizing handle and pull and there was my window! Whether this was an inadvertent user error, a result of multi-monitor shenanigans - I cannot say - but all is now well with the world.

TLDR:

If you can’t find your window, look around for a screen artifact that may be your shrunk window and attempt to expand it.

Thanks for the tip, I did encounter the same issue after using the 2nd monitor.

After find the line of Joplin’s window, can drag and scale to the size.

It looks like Joplin does not set the minimal window size in electron setting?

(update) yes it missed the setting. PR https://github.com/laurent22/joplin/pull/2521 could solve that

if anyone is having this issue use the script here

It’ll force the window size for you.

I think I’m running into the same issue.

When I downloaded Joblin, it worked for a few weeks, but after a while of not opening it, the window isn’t visible when I try to open it. The status bar shows that Joplin is active, and the it has the icon that lets me open it and exit from it, but no window is visible, not even the sliver in the top left corner.

Same issue on Catalina 10.15.3 after using 2nd monitor and back to built-in display.
Please advice how to run resize script.

Artefact line window was on bottom left side of screen. Solved.

sorry just saw this, but for others:

follow the instructions on the link about creating resizeWindow.applescript. Then run it like

resizeWindow.applescript Joplin 0 -64 720 640;

from terminal.