Page 3 of 4

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-01, 02:06 UTC
by petermad
If I under Window 7 enable it ( PreventScrollbarCrash=1), then the first time in a session when I use Lister, I see the little Lister window in the upper left corner where the final window is going to be showed - this is the same as I see under Window 8.1.

So it seems that the function can be enabled manually, even when not needed (Windows 7), and also be disabled manually (PreventScrollbarCrash=0) under Windows 8.1, if you are not haunted by the bug, and don't want to see the extra Lister window. If I dont set the parameter under windows 8.1 it defaults to 1, and it defaults to 0 under windows 7.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-01, 12:26 UTC
by ghisler(Author)
1) It depends, and explaining it there would be too extensive.
2) TC has to open a hidden Lister window (and keep it open) to prevent the crash. This lister window has to be visible for a short moment, otherwise it has no effect.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-01, 13:38 UTC
by Dalai
Then maybe add a link to this thread to the help file so interested people can read more about the issue and the TC option.

Regards
Dalai

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-01, 17:02 UTC
by Flint
2ghisler(Author)
2) I meant, describe it in the help, not here, so that other users could find this information without having to search for this specifit topic on your forum (which they don't know exists, in the first place).

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-02, 09:12 UTC
by ghisler(Author)
It's not something the normal user needs to change.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-02, 10:53 UTC
by Flint
2ghisler(Author)
If a normal user starts seeing unexpected blinking Lister windows it's definitely something he might want to change, and there must be information at his disposal about why this happens, what needs to be done to avoid it, and what the caveats are. Right now, he has nothing of this sort, so he cannot make a correct decision. He has to go and search the official forum for the answer (and what if he has no Internet at the moment?), and read the long thread, instead of being provided a simple one-sentence explanation in the help file.

You considered this an important enough issue to dedicate a special key for handling it. In my opinion, if it deserves an option, it certainly deserves an explanation what this option does.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-02, 11:19 UTC
by petermad
May I suggest something like this in TC's Help:
PreventScrollbarCrash=0/1 - defaults to 1 on Windows 8.1, otherwise defaults to 0. Opens an extra Lister window the first time Lister is used in a session. The window is made invisible after loading of the main Lister window - this is to prevent a potential crash in Lister under Windows 8.1 when opening Lister several times fast after each other.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-20, 06:06 UTC
by MVV
I agree that such a help is required, otherwise it is not clear at all why this option exists (because no one usually wants to unfix a bug) and which side effects it may cause. petermad's help makes it clear what this option does, when it should be used and why anyone may want to disable it.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-20, 07:05 UTC
by ghisler(Author)
I will add a note "see our forum for details". It's too complex/long to describe in the help.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-20, 15:00 UTC
by Dalai
2ghisler(Author)
If you do, better add a link to this topic as I suggested previously.

Regards
Dalai

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-20, 20:06 UTC
by MVV
Perhaps hint may be made a bit shorter, it will be better than nothing. E.g. (shorter than a hint for auto-update option):
PreventScrollbarCrash=0/1

Defaults to 1 on Windows 8.1 or 0 otherwise. Shows an extra Lister window for some short time for preventing a potential crash when Lister is quickly opened/closed some times.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-21, 07:16 UTC
by ghisler(Author)
I prefer not to link to a specific thread - a forum is dynamic, and TC users should be clever enough to use the search function.

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-21, 11:24 UTC
by MVV
I still think that a brief description is better than a forum reference...

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2018-08-21, 14:20 UTC
by petermad
I still think that a brief description is better than a forum reference
I agree

Re: Windows 8.1 Pro x64 - crash comctl32.dll

Posted: 2019-03-02, 11:32 UTC
by browny
Since that fix, the latest 64-bit release (9.21) never crashed here in synchronize tool (or in lister).

Interestingly, scroll bars could create issues in other projects too: https://github.com/ppescher/resizablelib/commit/17ff3890df57ab18689d337e009e0df06349f6a7 (ResizableFormView.cpp, line 140).
If something like this could be used instead of creating inivisible windows, it would make a more elegant solution.