PDA

View Full Version : Partially erase and delay [v7.0.1.0]


csd214
10-23-2004, 09:21 AM
Have you noticed an ugly partially screen erase and a delay when you go from "Select Install Folder" to "Select Shortcut Folder"? ? ? ?

This happens when the current user profile has "a lot" of shortcuts. I have experienced a process delay of 30 secs on a slow machine. In this period the end user is glaring at "the partially erased" screen (Install folder).

The behavior is caused by the actions in Shortcut Folder.On Preload (when the previous screen still is displayed). The easiest work-around I have found is:


Avoid the delay
Redefine function g_FillComboBoxWithShortcutFolders(nComboBoxID) in Global Functions (copy the function from _SUF70_Global_Functions.lua and paste it into the projects Global Functions). No modifications are needed.


Postpone the erase
Change the sequence in Select Shortcut Folder.On Preload. Move this paragraph to the end of On Preload actions:

if(bHideUserProfileOptions)then
DlgRadioButton.SetProperties(CTRL_RADIOBTN_PERUSER ,{Visible = false});
DlgRadioButton.SetProperties(CTRL_RADIOBTN_ALLUSER S,{Visible = false});
-- Always use per user folders on Windows 95/98/ME
_UsePerUserFolders = true;
else
DlgRadioButton.SetProperties(CTRL_RADIOBTN_PERUSER ,{Checked = _UsePerUserFolders});
DlgRadioButton.SetProperties(CTRL_RADIOBTN_ALLUSER S,{Checked = not _UsePerUserFolders});
end

Maybe the developers have another solution in the next service release?

csd214
10-27-2004, 10:59 AM
Has anybody else noticed this behaviour?

SUF6NEWBIE
10-27-2004, 08:09 PM
'30 secs delay' is for for sure not acceptable...
a bit wierd it should take that long regardless ?

Your 'solution' ..is the combo 'populated faster' ?

(wether any optimisation could be done in related 'global function)

perhaps the related 'table' actions could be called during
'startup actions'...have 'all user' and 'current user' table
data ready to go ?..just thinking out lowd here..

So far I have experienced 'minor' delays and wondered why..
(on a PIV ..with only 15 'current user' profile 'start menu' folders)

..but yes it appears this should be sorted some how..
(have not found this on other 'products' ?)

csd214
01-24-2005, 12:31 PM
True Setup 2.0 is installed with a SUF70 v7.0.1.0 installer. When you run this setup, NO DELAY is noticed. In this thread (http://www.indigorose.com/forums/showthread.php?t=10061#post47344) Lorne says: "As for the shortcut delay, AFAIK we didn't do anything special in the TU20 installer."

I should like to ask once more: Has anybody else noticed this delay in a SUF70 project? (if you "a lot of" shortcut folders).

"The partially erase" (of the text) depends of the screen being used.