[Solved] Focusing an executable - Anything special there?

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".
Borut
Posts: 1472
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

[Solved] Focusing an executable - Anything special there?

Post by Borut »

This is not urgent (and maybe the solution has been published here already, but I was not able to find it). Also, this is perhaps not a bug, but just a small nuisance.

Recently I switched to a newer version of the avast! anti-virus program (8.0) and installed it from scratch (so I am unsure about the options I have used under the previous version).

What I then noticed is that when I click (once, i.e. not starting) large executable files in XYplorer (files containing installations, i.e. a large number of files to unpack), it lasts for many seconds before such a file gets focused in XYplorer.

The culprit is avast!, which does the check during that time. (This, however, occurs only once for a given file, since avast! apparently notes the result of its check and repeats it no more.) In the settings of the avast!'s File System Shield one can uncheck "Scan programs when executing", after which this issue does not occur. However, this is in general not secure enough for me (and, more importantly, there is in fact no executing in the cases I describe here!).

Now the really interesting part...

If this avast! checking is active and I click large files never checked before in MS WE, no delay is noticeable - avast! apparently does nothing at that time.

So that lead me to thinking that something what XYplorer does while focusing an executable file makes avast! act as if that file is being executed - it triggers a check.

Please note that the same problem occurs if one is focusing files (in the list of such files, for instance a folder with installation executables) by scrolling with up-down keys (i.e. no clicking with mouse).
Last edited by Borut on 12 Mar 2013 08:46, edited 1 time in total.
Win 10 Pro 64bit

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

Re: Focusing an executable - Anything special there?

Post by admin »

Does it also happen when you tick like this?
+ Configuration | Refresh, Icons, History | Icons | Use generic icons for super-fast browsing
- Configuration | Refresh, Icons, History | Icons | But only in network locations
+ Configuration | Refresh, Icons, History | Icons | Apply to all controls

Borut
Posts: 1472
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

Re: Focusing an executable - Anything special there?

Post by Borut »

Unfortunately it seems to make no difference: even when I see only generic icons in the list, this delay does not go away. Does not seem that fetching the icon has something to do with this.
Win 10 Pro 64bit

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

Re: Focusing an executable - Anything special there?

Post by admin »

Last idea: Untick Configuration | File Info Tips | Show file info tips.

Borut
Posts: 1472
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

Re: Focusing an executable - Anything special there?

Post by Borut »

No, unfortunately it does not help either - it stays the same also when Show file info tips is OFF. (At my place normally Show info tips only when hovering file icon is ON, so I was skeptical, but nevertheless tested with Show file info tips OFF.)

But really, apart from the issue being strange, I find that it is not a big deal, more so because avast! checks the same file only once, as far as I can see. And there is the other possibility of course, that the avast! is to blame for a misinterpretation of something as the "file execution" (which actually is obviously the case).
Win 10 Pro 64bit

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

Re: Focusing an executable - Anything special there?

Post by admin »

Then it is probably the version retrieval. This is done whenever and EXE file is selected, even if the "version" tab is not visible. It cannot be turned off or prevented in any way (unless I recode it).

Borut
Posts: 1472
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

Re: Focusing an executable - Anything special there?

Post by Borut »

v12.20.0404 - 2013-03-11 20:09
+ Tweak "StatusBarNoVersion": Set to 1 to suppress showing the file
version info for executables in the status bar. Reason: Showing
the file version info can be slow with certain virus scanners.
StatusBarNoVersion=1
Yesss! As far as I could test it, that was it. With StatusBarNoVersion=1 there are no more delays. Many thanks!!

I just think that the factory default statement in your Changelog should be changed to StatusBarNoVersion=0, i.e. when there is a problem with antivirus, this tweak should explicitly be set from 0 to 1, as far as I was able to see.
Win 10 Pro 64bit

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

Re: [Solved] Focusing an executable - Anything special there

Post by admin »

Cool.

That's not a factory default statement, but a usage example. :)

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: [Solved] Focusing an executable - Anything special there

Post by Enternal »

:biggrin: Whee!! I can't believe this now hehe. I had the lagging issues since like forever but I know it's just AVG being stupid (why don't they even allow us to deactivate network shares scanning?) and this tweak now solves it all. Instant file selection and management.

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

Re: [Solved] Focusing an executable - Anything special there

Post by admin »

Enternal wrote::biggrin: Whee!! I can't believe this now hehe. I had the lagging issues since like forever but I know it's just AVG being stupid (why don't they even allow us to deactivate network shares scanning?) and this tweak now solves it all. Instant file selection and management.
OMG, I was not aware of this being any issue. Guess I will make it a real GUI setting turned off by factory default...

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: [Solved] Focusing an executable - Anything special there

Post by highend »

Guess I will make it a real GUI setting turned off by factory default...
Good idea. Wouldn't it be easier to force all people to uninstall their virus scanner? *g*
One of my scripts helped you out? Please donate via Paypal

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

Re: [Solved] Focusing an executable - Anything special there

Post by admin »

highend wrote:
Guess I will make it a real GUI setting turned off by factory default...
Good idea. Wouldn't it be easier to force all people to uninstall their virus scanner? *g*
Yeah. I mean, simply don't visit porn or crack, and you don't need one. But that's asking too much probably. Without porn the net would not even exist. It's the (hard) core of it.

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: [Solved] Focusing an executable - Anything special there

Post by Filehero »

admin wrote:I mean, simply don't visit porn or crack, and you don't need one.
Well, those times unfortunately are gone for good. One infected/bad banner ad on any of the "good" sites might be sufficient....


Cheers,
Filehero

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: [Solved] Focusing an executable - Anything special there

Post by Enternal »

Yeah. I actually only recently this past few years re-installed anti-virus software. The reason? Doing research and some banner on some sketchy site infected my entire system. Later on I would start using Sandboxie (software virtualization) and NoScript for Firefox and Opera (similar script) to block all JavaScripts unless I allow it to run. Of course I now need an anti-virus software just in case. Besides, how can you prove your system is virus free when you don't even have any soft of software that tells you anything lol. I could always take an extra step and go for system virtualization as well but then it would be too much of a hassle.

klownboy
Posts: 4481
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: [Solved] Focusing an executable - Anything special there

Post by klownboy »

After much experimentation, what I recently started doing is turning off real time scanning on my entire D: drive where I keep all my frequently used tools, utilities, DVD/Blu-Ray and other programs that I trust such XYplorer, ImgBurn, MPC HomeCinema (x64) and CCleaner etc. and even small card/games that don't access the internet. I continue to have scanned the entire C: drive along with other drives into which I do any downloading. I started experimenting with this when I changed virus scanners from ESET to Norton. Since I got a great deal, I did purchase ESET NOD32 again to use at some point though as it turns out Norton's has actually been very good as of late...I hadn't used it since it became so bloated and dog slow many years ago.) Even Microsoft Essentials will be just fine set up this way...tested.

Speed is everything or nearly and your tweaks certainly have helped greatly.
Without porn the net would not even exist. It's the (hard) core of it.
That's a bit sad really, but there may be some truth in it... :)

Post Reply