user menu icons taking seconds to load on startup of AS

Try the latest development release to test new features and bug fixes even before beta version release. Please use this section to discuss features and problems of this Preview Build version.
Forum rules
Please read forum rules and a few additional rules for this section:
1. Please take into account that Preview Build versions of Salamander and plugins could contain serious bugs. Don't use them in production environments.
2. All problems or comments regarding Preview Build versions please insert into this section of forum.
3. Each new topic mark with PB abbreviation and Preview Build number, for example "PB22: inactive panel below mouse cursor doesn't scroll while mouse wheel tilting".
superBK
Translator
Translator
Posts: 32
Joined: 21 Jul 2010, 12:32

user menu icons taking seconds to load on startup of AS

Post by superBK » 01 Jul 2013, 17:37

I noticed the latest beta is taking some time to load the icons on the user menu which i didn't experience in v2.54

Can anyone confirm this?

Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5126
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: user menu icons taking seconds to load on startup of AS

Post by Jan Rysavy » 01 Jul 2013, 19:57

Do you mean Altap Salamander 3.0 beta 3 (PB103)?

See http://www.altap.cz/salamander/downloads/eap/ - User Menu: reading icons for menu items in separate thread, so it does not delay start of Altap Salamander even if icons are placed on network drives or encrypted drives. Until reading of icons is finished, User Menu contains just simple icons but you can use it as usual.

superBK
Translator
Translator
Posts: 32
Joined: 21 Jul 2010, 12:32

Re: user menu icons taking seconds to load on startup of AS

Post by superBK » 02 Jul 2013, 00:59

Yes i'm using PB103, i didn't mean AS is delayed starting up but the icons on the user menu are blank for a few seconds before being loaded. In v2.54 the icons were displayed instantly on startup of AS.

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1102
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: user menu icons taking seconds to load on startup of AS

Post by Petr Solin » 02 Jul 2013, 10:33

Do you mean icons on user menu toolbar?

It is important what icons are in user menu, configurations for 2.54 and 3.0 beta 3 (PB103) are in separate keys in registry, you can have there completely different items.

Please do the following test:
  • start RegEdit
  • exit all instances of Salamander
  • in RegEdit: find key HKEY_CURRENT_USER\Software\Altap\Altap Salamander 3.0 beta 3 (PB103) and rename it to Altap Salamander 3.0 beta 3 (PB103) backup
  • start Salamander 3.0 beta 3 (PB103), in first dialog choose to import configuration from version 2.54 ... to have the same user menu
  • test speed of reading icons in 2.54 against 3.0 beta 3 (PB103)
  • when you are finished, exit all Salamanders, switch to RegEdit, press F5 (Refresh), and delete Altap Salamander 3.0 beta 3 (PB103), then rename back Altap Salamander 3.0 beta 3 (PB103) backup to Altap Salamander 3.0 beta 3 (PB103).
It is possible that icons are loaded faster in 2.54 because of higher thread priority. It is possible to set higher priority to icons reading thread to fix this slow down. Please let me know results of your testing.

superBK
Translator
Translator
Posts: 32
Joined: 21 Jul 2010, 12:32

Re: user menu icons taking seconds to load on startup of AS

Post by superBK » 03 Jul 2013, 04:08

After installing PB103 and importing the configuration from v2.54 i experienced this issue. I followed your instruction which is actually the same as what i did and the result remains the same. I guess the lower priority is the cause of this.

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1102
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: user menu icons taking seconds to load on startup of AS

Post by Petr Solin » 03 Jul 2013, 06:28

OK, thanks for test!

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1102
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: user menu icons taking seconds to load on startup of AS

Post by Petr Solin » 25 Jul 2013, 11:52

I have changed priority of the user menu icons reading thread to the same level as of main thread, so I hope it will work as fast as you were used to. Please test it with next version of Salamander and let me know if it is still slower or not.

User avatar
SvA
Posts: 439
Joined: 29 Mar 2006, 02:41
Location: DE

Re: user menu icons taking seconds to load on startup of AS

Post by SvA » 25 Jul 2013, 15:34

superBK wrote:I noticed the latest beta is taking some time to load the icons on the user menu which i didn't experience in v2.54
Hi Petr,

are you sure that your change does not only delay the load time of AS? I am not sure, superBK really suffered any delay compared to earlier versions of AS. On my main machine (I didn't pay attention to it anywhere else) it also takes quite some while until the symbols are displayed. But on the other hand, the application is ready for service in a breeze. It fels like AS 2.54 takes about as long to start up as 3.0b3 takes to start up and display the icons, but with 3.0 I have the possibility of using it much sooner. I suppose after your change the behavior will revert to resemble more AS 2.54 behavior.

So to me, the change was a big usability advantage and a minor UI irritation.

Have you thought about caching the icons (or a representation of the menu bar) to minimize the visible irritation instead?

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1102
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: user menu icons taking seconds to load on startup of AS

Post by Petr Solin » 25 Jul 2013, 16:07

It may delay start time of Salamander but only very little. It should not suffer by 10-15 seconds waiting times as AS 2.54 because icon reading thread is inactive during these long waits (e.g. wait for reading from network drive), so main thread can continue without any slowdown.

Please test it with next version, we can change it again, if it will be worse.

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1102
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: user menu icons taking seconds to load on startup of AS

Post by Petr Solin » 27 Sep 2013, 10:29

We have received reports that reading of icons for panels significantly delays reading of icons for user menu. So we have made two more patches. First, icons which are not visible in panel are not read before finishing of reading of icons for user menu. And second, Salamander waits (not longer than half second) for finishing of reading of icons for user menu on start. It prevents immediate collision with reading of icons for panels. We believe user menu icons will be displayed significantly earlier.

superBK
Translator
Translator
Posts: 32
Joined: 21 Jul 2010, 12:32

Re: user menu icons taking seconds to load on startup of AS

Post by superBK » 03 Dec 2013, 20:10

I have just installed the latest beta and i'm still experiencing the same issue. Don't know if other users notice any difference.

Post Reply