Pressing <kb-accept-entry> with no input and require-input enabled #1763
Unanswered
elamperti
asked this question in
(Possible) Issues
Replies: 2 comments 5 replies
-
it is only cosmetic. hit your kb-cancel keybinding. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I know I can use kb-cancel, but sometimes one may accidentally use kb-accept with no input and, when that happens with nothing visible in the list, it would make a lot of sense to behave as if kb-cancel was hit from a UX perspective. Some references from elsewhere:
At the very least, I'd expect it to stay open but not to launch the first (hidden) item of the list. Would you accept a PR to either follow this behavior or at least have it as an option? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If
require-input
is set to true, executing rofi (I'm trying with dmenu mode) and pressing enter (or whichever kb-accept-entry you set) with no input will launch the first item of the list. I'd expect that, if require-input is enabled, it shouldn't be possible to accept an invisible entry (i.e. cancel).As it is now, it seems to be behaving only as a cosmetic toggle for the listview and produces a confusing result.
Is this the intended behavior? Shouldn't it consider require-input? (if not, any idea on how to cancel if there's no input?)
Beta Was this translation helpful? Give feedback.
All reactions