Classic Shell
http://classicshell.net/forum/

Buttons on the taskbar appears with delay
http://classicshell.net/forum/viewtopic.php?f=12&t=1057
Page 1 of 1

Author:  KristopherRobin [ Wed Aug 07, 2013 12:06 pm ]
Post subject:  Buttons on the taskbar appears with delay

buttons on the taskbar appears with delay when starting anything (explorer, control panel) from CSM

if you double click on a shortcut on the desktop for example Computer.lnk than launches the explorer and its taskbar button apperas immediately, but when you click on the Competer item from CSM - starts the explorer and its taskbar button appears with delay
What causes the delay?

CSM 3.9.0
Windows 8

ps watch the video i recorded the bug:

http://tempfile.ru/file/2945637
(if it's in russian then click "Скачать файл")

Author:  Ivo [ Thu Aug 08, 2013 7:37 am ]
Post subject:  Re: Buttons on the taskbar appears with delay

My media player couldn't play the file. Probably it needs some codec.
Does the problem happen only for Explorer, or for all kinds of programs? What about Notepad?
Does the main window appear also with a delay, or is it just the button?
After clicking on the link but before the button opens, is that taskbar responsive?

Author:  KristopherRobin [ Thu Aug 08, 2013 11:44 am ]
Post subject:  Re: Buttons on the taskbar appears with delay

> My media player couldn't play the file. Probably it needs some codec.
It recorded with CamStudio. I have K-Light Codec Pack in my system

> Does the problem happen only for Explorer, or for all kinds of programs? What about Notepad?
Button appears with delay for: Explorer, Control Panel, Notepad, mp3DirectCut...
no delay for: Notepad++, MS Office, VideoEditMaster...
so some buttons appears with delay some without

> Does the main window appear also with a delay, or is it just the button?
only taskbar button

> After clicking on the link but before the button opens, is that taskbar responsive?
When I start the program which taskbar button appears with delay the taskbar is not responsive (tested with right-clicking) and when I start something like notepad++ the taskbar is responsive.

Author:  KristopherRobin [ Thu Aug 08, 2013 12:56 pm ]
Post subject:  Re: Buttons on the taskbar appears with delay

btw, if I click the CSM button then opens the start menu and then if I click somewhere on the desktop or the start button again in order to hide the start menu then taskbar becomes not responsive for a sec! maybe that causes delays with some progs?

Author:  Ivo [ Thu Aug 08, 2013 1:43 pm ]
Post subject:  Re: Buttons on the taskbar appears with delay

Hm, looks like the start menu takes a while to close. This is weird though, because it doesn't do much during closing. A procdump capture might prove helpful. Look at the link at the top of this page.

Author:  KristopherRobin [ Thu Aug 08, 2013 2:47 pm ]
Post subject:  Re: Buttons on the taskbar appears with delay

captured with "procdump -n 10 -s 1 "

Attachments:
Explorer.7z [1.52 MiB]
Downloaded 925 times
ClassicStartMenu.7z [67.89 KiB]
Downloaded 998 times

Author:  Ivo [ Fri Aug 09, 2013 7:48 am ]
Post subject:  Re: Buttons on the taskbar appears with delay  Topic is solved

I think this is related to the cache file that contains icons and other information about the menu items. Every time the menu is closed it saves the entire cache file. Look at the folder %APPDATA%\ClassicShell and tell me the size of the DataCache.db file.
Also as a test make it read-only. Then see if that fixes the problem.
I am looking into ways of making that process faster.

Author:  KristopherRobin [ Fri Aug 09, 2013 10:33 am ]
Post subject:  Re: Buttons on the taskbar appears with delay

Ivo wrote:
Look at the folder %APPDATA%\ClassicShell and tell me the size of the DataCache.db file.

the DataCache.db is 11.9 MiB
Ivo wrote:
Also as a test make it read-only. Then see if that fixes the problem.

That fixed the problem!
I made the cache file read-only then CSM created "%APPDATA%\ClassicShell\DataCache.tmp" (the size is 11.9 MiB). I made the new file read-only too and then no delay :)
btw I got ~150 (or more) shortcuts in the start menu :)

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/