It used to work intermittently, but now it’s stopped working completely. Every time, I have to use the keyboard shortcut. I’ve restarted Obsidian and PopClip.
Is this a known issue with Obsidian, or other electron apps?
Using Monterey on an M1 MacBook Air. PopClip 2022. Obsidian is up-to-date.
It actually works OK for me in Obsidian but I do hear that some are having trouble with Electron apps.
You could provide a little data to help shed light on it by Option-clicking the PopClip menu bar icon, which will reveal a Debug window. When you select text in Obsidian, what appears in the debug console? You could paste a sample here (click Pause in the debug console to allow copying).
Alt-tabbing, or even quitting and restarting obsidian, didn’t help.
I’ve also noticed it’s working intermittently in Drafts. Here’s is the debug, with one event where it didn’t work, followed by another event that did work.
Looks like the “08:58:43.5 * Excluded by initial (pre-axapi) policy check (probe+require-beam)” is the issue?
It looks like it’s failing when the cursor is an arrow and succeeding when it is a beam/caret shape.
It does this because it uses the cursor shape as a heuristic to help work out if the user is actually selecting text. If the cursor is an arrow, it assumes the mouse movement is for something else.
However, I think this needs to become more nuanced – I will be working on this soon.
In the latest beta (build 4183), I think I have fixed this issue with PopClip not working in Obsidian. It should also be better in Notion and VS Code, and in browsers too.
If you get a chance to try the beta, please do let me know if it seems to have improved matters or not.
I haven’s specifically addressed Drafts in this beta, so do let me know if you are still seeing the problem in Drafts.
Also, if anyone is aware of any further apps with which PopClip still exhibits this problem with PopClip, please do report the details to me.
The problem still exists in both Drafts and Obsidian. Definitely associated with the arrow cursor. Using build 4183 on a Studio Mac running macOS 13.5.2.
I programmed PopClip to allow the arrow cursor for selections in app with bundle ID md.obsidian (that’s Obsidian’t bundle ID on my machine). I wonder if perhaps there are other Obsidian variants?
Could you please use the BundleID extension to find the bundle ID of your copy of Obsidian and tell me what yours is?
The problem is the same in Ulysses - except with Ulysses I can’t figure out how to get the arrow cursor to change to the beam. So, PopClip doesn’t work at all.
I need to probe further. The best thing that you can do is option(⌥)-click the PopClip menu bar icon to reveal the debug window. Then record a screen video (with QuickTime Player or similar) showing the fault happening and with the debug window showing in the video too. That will help me get a much better feel for what is happening. Then send me the vid — you can upload it to https://www.dropbox.com/request/QZit2LMzPZsQc09tjBsi
Let’s keep it to Obsidian for now. I’ll look into Drafts and Ulysses too after.
As you can see from the three videos I sent you, the behavior is not limited to the arrow keys. Within the last 48 hours two friends have told me that PopClip is no longer working for them. I don’t know whether the three of us are doing something strange or whether the problem is more general.
I just updated Obsidian to the new Insider build (1.4.12). I can no longer select text with the arrow cursor. As soon as I try, the cursor changes from an arrow to a beam. Wit the beam cursor PopClip works reliably. That is based on only a few minutes of testing, but seems to be a definite improvement.
When I activate Drafts, it opens with the arrow cursor and PopClip doesn’t work. But, there is a work-around: If I click in the tag area at the top of the edit screen the cursor changes to a beam and PopClip starts working.
With Ulysses, I can’t get the app to use anything except the arrow cursor, so PopClip doesn’t work at all.