Page 1 of 1
High CPU Usage
Posted: 20 Feb 2022 22:29
by lian00
Hello, I notice that XYPlorer uses a lot of CPU just being open - I don’t do any manipulation. I excluded process from Windows Defender.
v.22900003
xyplorer.png
Re: High CPU Usage
Posted: 21 Feb 2022 10:47
by admin
Can't be. If XY is idle, CPU usage is zero. Have you tried a restart of XY?
Re: High CPU Usage
Posted: 22 Feb 2022 13:50
by lian00
I did and it was quite normal. I think it’s not the first time I have this problem but I did not make regular tests. So, for the moment it’s OK and I will have a look from time to time to see if it happens again.
Re: High CPU Usage
Posted: 22 Feb 2022 14:12
by admin
Are you using scripts? Maybe you fabricated some endless loop...
Re: High CPU Usage
Posted: 22 Feb 2022 15:47
by lian00
I use some scripts. I will look what happens after using them.
By the way, the last beta "broke" my buttons used for scripts : "open" needs now ";" at the end to work and
did not work anymore, I had to change it to
I suppose it’s normal but I was quite surprised.
Re: High CPU Usage
Posted: 22 Feb 2022 15:53
by admin
v22.90.0007 should have fixed that.
Re: High CPU Usage
Posted: 22 Feb 2022 21:33
by lian00
admin wrote: ↑22 Feb 2022 15:53
v22.90.0007 should have fixed that.
OK, so it was not something you wanted to change

Re: High CPU Usage
Posted: 22 Feb 2022 21:36
by admin
Yep,
this bug wasn't on purpose.

Re: High CPU Usage
Posted: 23 Feb 2022 10:34
by lian00
Middle click on button does not launch my script anymore :-( I’ve read the changes for last beta but I’m not sure I did understand correctly the changes.
Re: High CPU Usage
Posted: 23 Feb 2022 10:35
by lian00
It’s worst than that : clicking on a button does not execute the code put in edit mode. I missed something ?
Re: High CPU Usage
Posted: 23 Feb 2022 10:36
by admin
It would help if you posted the button script...
Re: High CPU Usage
Posted: 23 Feb 2022 13:40
by lian00
Code: Select all
foreach($file, "<get SelectedItemsPathNames |>") {
$ext = gpc($file, "ext");
$oldName = gpc($file, "base");
$newName = replace(recase($oldName, "lower"), " ", "-");
rename "s", "$oldName/$newName";
runret("""C:\Program Files\nconvert\nconvert.exe"" -ratio -rtype lanczos -rflag orient -quiet -resize longest 1200 -out jpeg -o ""G:\images\Output\%.jpg"" ""<curpath>\$newName.$ext""");
}
end confirm("Allez à Output ?") == 0;
goto "G:\images\Output";
It’s a text button and it’s regular LM click. When I click it, it shows the code - I guess it’s from last update.
Re: High CPU Usage
Posted: 23 Feb 2022 14:39
by admin
Yep, fixed in next beta.
It will take a while until the fine line between multi-scripts and hamburgers is perfectly drawn...