onagre-launcher / onagre

A general purpose application launcher for X and wayland inspired by rofi/wofi and alfred
MIT License
511 stars 27 forks source link

Bug: Onagre automatically launches first application on consecutive runs #81

Open Septias opened 4 months ago

Septias commented 4 months ago

Describe the bug I built the application with Nix and also updated the Nix package here. Currently, we are facing the issue that Onagre automatically launches the first item from the suggestion list for every startup after the first one. (The first one works just fine).

To Reproduce

  1. Install the Nix package manager.
  2. Clone git@github.com:Septias/nixpkgs.git
  3. Execute nix run nixpkgs#nixpkgs-review -- pr 290409.
  4. Run the application ./result/bin/onagre

Addtional Info: The logs for cargo run and ./result/bin/onagre look exactly the same. The latter only produces the logs which happen when one application is opened automatically. I tested on Wayland and x11 and they both produced the same problem.

oknozor commented 4 months ago

Thanks for the report.

Just to be sure I understand the issue correctly. You launch onagre once, everything works. Then on subsequent launches, it opens then start the first suggestion item before you can type a search. Correct ?

Can you provide a bit more context so I can try to reproduce that (pop-launcer version, desktop environment etc).

Septias commented 3 months ago

image

Idk how much that helps you though...

oknozor commented 3 months ago

Can you provide the onagre and pop-launcher version ?