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

Speed concerns #20

Closed
ghost opened this issue May 4, 2017 · 11 comments
Closed

Speed concerns #20

ghost opened this issue May 4, 2017 · 11 comments

Comments

@ghost
Copy link

ghost commented May 4, 2017

Hi,
I've found Argos to be a great tool for providing UIs for my python scripts. The Advanced Application Launcher script on the README is actually something i want to have. But the issue is, it takes about 5 seconds to start working, i.e., 5 seconds AFTER GNOME starts up every boot. The delay wouldn't be an issue if it wasn't that the system actually hangs during these 5 seconds. This is obviously worse than simply using "Frippery Applications Menu" or a similar extension.
Adding a lot of objects to the menu seems to be what is causing the delay. I'm ready to do tests if need be. For me, this results in an almost unnoticeable lag but for someone with a huge list of apps would face trouble with this.
Hope I'm of some help to you,
Thanks for this amazing piece of software

@ghost ghost changed the title Speed and other concerns Speed concerns May 4, 2017
@p-e-w
Copy link
Owner

p-e-w commented May 6, 2017

I suspect this is an issue with either the script or some other system-specific problem. Argos doesn't block, it uses asynchronous calls everywhere. On every system I've tested, scripts load instantly. The menu widgets created by Argos are the same as used by any other extension.

What version of GNOME Shell are you on? What is the output of the script when run from the console?

@ghost
Copy link
Author

ghost commented May 6, 2017

GNOME 3.24
I've looked further into it. The delay is, like you said, due to the script, it takes time to load the list. But the bigger issue here is that this freezes GNOME and everything else, which shouldn't be happening.

@VVhitehead
Copy link

Can confirm,
Gnome version 3.24.1
OS: Arch Linux

@p-e-w
Copy link
Owner

p-e-w commented May 13, 2017

I can't reproduce this on GNOME Shell 3.22. Even if I place sleep 60 in a script it doesn't block the shell at all although it takes a minute to execute.

@ghost
Copy link
Author

ghost commented May 14, 2017

An issue with just 3.24 then? Or maybe only when used with python?

@nesneros
Copy link

FWIW I run gnome shell 3.24.1 (ubuntu 17.04), and I have no problem with long running argos scripts. I don't have any python scripts

@ghost
Copy link
Author

ghost commented May 15, 2017

So, its python then?

@VVhitehead
Copy link

I doubt, I'm running shell scripts...

@ghost
Copy link
Author

ghost commented May 16, 2017

That just makes it even more confusing.... could you send the scripts?

@VVhitehead
Copy link

@ghost I doubt its the scripts blocking...

@p-e-w
Copy link
Owner

p-e-w commented Jun 25, 2017

Closing because I'm unable to reproduce the problem.

@p-e-w p-e-w closed this as completed Jun 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants