nuttyartist / notes

Fast and beautiful note-taking app written in C++. Write down your thoughts.
https://notes-foss.com
Mozilla Public License 2.0
3.75k stars 329 forks source link

<Super><Shift>N toggle doesn't work when current focus is native wayland window #591

Open Ragnoroct opened 1 year ago

Ragnoroct commented 1 year ago

notes version: 2.1.0

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy

problem: When my current focused window is a native wayland window the <Super><Shift>N keybind doesn't work. If my current window focus is a xwayland window it does work.

I believe this has to do with how wayland sends inputs directly to the composites and they can't be seen by other applications.

A possible fix would to add a new cli option --toggle-window. Then could create a global ubuntu binding <Super><Shift>N to run the notes binary with that argument.

nuttyartist commented 1 year ago

Thanks for reporting. I'll try to reproduce this soon.