Matches in mode name of entry are highlighted, but not actually matched, in combi mode.
Version
1.5.1-dirty (tags/1.5.1)
Configuration
Launch Command
rofi -show combi
Steps to reproduce
-
Enable
runmode as one ofcombi-modi -
Run
rofi -show combi -
Type
runinto the prompt -
Each entry contains the mode name (in this example,
run) and the name of the program
What behaviour you see
- Only entries where the name of the program contains
runare selected, and the wordrunis highlighted in both the name of the program and mode name
What behaviour you expect to see
One of the following:
A:
- Only entries where the name of the program contains
runare selected, and the wordrunis hightlighted in only the name of the program
B:
- Entries where either the name of the program or the mode name contains
runare selected, and the wordrunis highlighted in both the name of the program and the mode name
Even better would be a configuration option to switch between the two behaviors.
Yeah, the highlight is independent of the filtering (for speed issues). The highlight is on the visible text (not on searched fields). I hope to improve this in the future.
Is there any way to get behavior B?
It is not going to be trivial (at all) to fix the highlighting of the text in the current design, I don't expect this be changed soon. (beside possibly removing highlighting as it seems to cause confusion because of this reason.)
@DaveDavenport I would like to have it the other way around. I would like to keep the highlighting but change the matching. So I want to be able to enter run firefox to start firefox (and not match a window)
This is supported, see manpage. !r firefox