Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onagre takes a long time to open #85

Open
TurtleMeds opened this issue Aug 31, 2024 · 10 comments
Open

onagre takes a long time to open #85

TurtleMeds opened this issue Aug 31, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@TurtleMeds
Copy link

Describe the bug
onagre takes about 6-10 seconds to open.

Config
default

To Reproduce
launch time onagre
spam escape
look at time

Expected behavior
open in a reasonable time

Screenshots
image

Window manager (please complete the following information):

  • Hyprland

Additional context
Arch linux
AMD Ryzen 5 7530U
16 gb of memory

@TurtleMeds TurtleMeds added the bug Something isn't working label Aug 31, 2024
@oknozor
Copy link
Collaborator

oknozor commented Sep 17, 2024

I have seen this before without being able to find a reproducer.
Does this still happen on consecutive launches ?

@salahoued
Copy link

I have compiled the 1.1.0 on openSUSE Tumblweed, and I found it lagging even when typing and displaying results.

@oknozor
Copy link
Collaborator

oknozor commented Oct 14, 2024

Do you have the same behavior woith icons disabled ?

@salahoued
Copy link

Sorry, but how can I do that?

@oknozor
Copy link
Collaborator

oknozor commented Oct 14, 2024

you can copy paste this config https://docs.onagre.dev/gallery.html#murz

@salahoued
Copy link

salahoued commented Oct 14, 2024

Way better now, especially the search is fast,
The start up didn't take as much time.

EDIT: tried the default theme, and Hollow theme, they have the same issue, especially the default theme it takes even more time to start up

Thanks

@oknozor
Copy link
Collaborator

oknozor commented Oct 15, 2024

Thanks for the report, we probably need to cache icon paths. I'll do this asap.

@salahoued
Copy link

salahoued commented Oct 16, 2024

Hi @oknozor , I'm not sure about @TurtleMeds , but for my part, it is most likely because of the icon-theme used in the
configuration, for example the Hollow theme uses the Papirus icon theme which I don't have installed, when modifying the hollow.scss theme to use the Breeze icon theme the startup is much faster.

I don't know which icon theme the default theme uses, but it still has the same issue.
Where can I find the .scss file for the default theme?

@oknozor
Copy link
Collaborator

oknozor commented Oct 16, 2024

The default theme is hardcoded, it uses Adwaita I think

@issmirnov
Copy link

I am experiencing the same. Arch Linux, Intel 12900k with SSD. Time shows 0.778 to open and close with escape. theme is Murz.

I am comfortable compiling and running dev builds to help reproduce or narrow down a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants
@issmirnov @salahoued @oknozor @TurtleMeds and others