Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » FileSel&FileList, Path » FileSel takes quite a lot of CPU on Windows
Re: FileSel takes quite a lot of CPU on Windows [message #58422 is a reply to message #58419] Thu, 19 May 2022 08:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Tom1 wrote on Wed, 18 May 2022 13:42
Mirek,

OK, now I can see it: I have a shortcut (link) on my desktop to an exe file on my server. So, the shortcut ("program1.exe - shortcut.lnk") points to "\\nas\share\program.exe". When I open FileSel, this causes the enormous CPU loading for quite some time.

If I map the \\nas\share to a network drive s: and change the shortcut to point to s:\program.exe, then the scanning proceeds much faster, just in a couple of seconds of CPU core domination.

How about making exe file icon loading optional through user configurable flag, such as: FileSel& LoadExeFileIcons(bool f); ?

BTW: Is it essential to load icons for network files at all?

Best regards,

Tom


Uhm, is this feature causing any problems? I mean, ok, CPU is high (for whatever reason, but my guess it is windows fault), but it runs in background and does not affect main thread. And I believe users do expect to see .exe icons after all...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FileSelNative::AllFilesType() doesn't show files without extensions on Linux
Next Topic: BUG + FIX: FileSelNative shows default filename as some trash characters
Goto Forum:
  


Current Time: Sun Apr 28 09:07:09 CEST 2024

Total time taken to generate the page: 0.04124 seconds