onagre icon indicating copy to clipboard operation
onagre copied to clipboard

Bug: Onagre automatically launches first application on consecutive runs

Open Septias opened this issue 11 months ago • 3 comments

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 [email protected]: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.

Septias avatar Mar 05 '24 15:03 Septias

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).

oknozor avatar Mar 06 '24 08:03 oknozor

image

Idk how much that helps you though...

Septias avatar Mar 30 '24 09:03 Septias

Can you provide the onagre and pop-launcher version ?

oknozor avatar Mar 30 '24 09:03 oknozor