Quick access immediately closes on Wayland (solved??)
After switching to Wayland last year, I set up the recommended 1password --quick-access
keyboard shortcut in KDE plasma to handle the fact that the app's global hotkeys won't work under wayland. A few days ago, I noticed that the quick access bar would appear for a second and then immediately close out. After some testing, I realized that this was because the shortcuts set in the app are suddenly working and every time I hit 'ctrl+shift+space' --quick-access was getting called twice, resulting in an immediate toggle back to off. Removing my custom shortcut in KDE plasma fixed the issue. So it's working fine for me now, but I don't really know why, and I wanted to post this in case anyone runs into the same issue.
Maybe something changed with a recent Plasma 6 update (I honestly haven't been keeping up with plasma/wayland news), or maybe it's just something weird with my system's configuration. I didn't notice anything related in recent 1P release notes. I confirmed I'm still in an actual Wayland session and 1P is running under xwayland. xeyes is behaving like expected with this configuration. I confirmed the app shortcuts were actually working and this wasn't a 'Plasma firing shortcuts twice' issue by setting some new shortcuts for quick access & 'Show' in the app and verifying that they worked globally. It feels like this shouldn't be working, so I'm prepared to switch back to a custom shortcut if it 'breaks' again.
I'm running Plasma 6.1.3
1Password Version: 8.10.36
Extension Version: Not Provided
OS Version: Arch Linux 6.10.0-arch1-2
Browser: Not Provided
I've got it finally working as expected:
1. Create keyboard shortcut with this command:
1password --ozone-platform-hint=wayland --quick-access
2. edit desktop file, in my case: /usr/share/applications/1password.desktop:
Exec=/opt/1Password/1password --enable-features=UseOzonePlatform --ozone-platform=wayland %U
No more double spacebar tap necessary.