List rendering issue with "List" triggered Scripted Column

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
admin
Site Admin
Posts: 67282
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: List rendering issue with "List" triggered Scripted Colu

Post by admin »

OK; I think I got it. It probably had to do with the way runret works. I will try to improve it...

Huidong
Posts: 213
Joined: 18 May 2011 21:55

Re: List rendering issue with "List" triggered Scripted Colu

Post by Huidong »

OK! Thanks.

Just another observation though, before runret came out, I was using run with clip:

Code: Select all

run "cmd /c D:\Xpdf\pdfinfo.exe ""<curitem>"" | clip", , 2, 0;
And I had this same issue back then, too. So perhaps this is common among both run and runret()?

admin
Site Admin
Posts: 67282
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: List rendering issue with "List" triggered Scripted Colu

Post by admin »

Yes, it should be all fixed now.

Huidong
Posts: 213
Joined: 18 May 2011 21:55

Re: List rendering issue with "List" triggered Scripted Colu

Post by Huidong »

Thanks a lot! Indeed no more such issues on my end as well :appl:

I just wanted to mention here, when using the "List" trigger on pdfinfo, scrolling performance is still noticeably sluggish. Is it possible to use some kind of "lazy" loading mechanism that uncouples scrolling from CC computation? In fact I don't mind that CC doesn't immediately show the return value, but keeping the scrolling fast and smooth is way more important. Currently the scrolling seems to be waiting for CC to return the value before moving on. Is it possible to make this "non-blocking"? Namely ensuring no loss of scrolling performance, but let the performance of CC vary depending on the performance of the script it runs. That way "List" triggered CC with a runret() based script will be significantly more appealing to use. Your thoughts on that?

Post Reply