2019-12-07 05:20
Display of QAP menu is sometimes VERY VERY slow (10 to 20 seconds to display it)
It's not always the case, but I would say once out of 5 to 10 times
To be sure, I have already verified that the option to display icons for frequent files/folders is UNchecked.
And I have reduced the maximum number of subfolders for active folders. (and it's during these tests I have discovered it was not feasible to remove the "Active" folder parameter : see my other post)
But in any case, when menu takes this very long time to display, it is NOT at the same time that active folders are refreshed (I set the optional sound at refresh to be sure).
And when the menu takes so long to refresh, all other applications on laptop are OK and respond normally. And nothing special (neither CPU consumption, nor disk) is visible at task manager. Sounds more like a kind of "lock".
Since I saw that the QAP-Frequent DB was quite "big" (2876K), I tried to remove it : no change
I do not remember to face this issue before today....
I even tried to restart my laptop : no change.
If there is a mean to activate a kind of monitoring of what QAP does, I guess it could be useful to understand what happens....
Oops, I just saw in QuickAccessPopup.ini file a DiagMode=0
So I set it to 1, and now, if I do not know WHY there is an issue, I at least know WHERE is the issue : According to QuickAccessPopup-DIAG.txt file, when menu takes so long to display, 99.99% of time is spent in RefreshRecentItemsMenus.
Typically, when response time is OK, Diagfile contains
20191207@11:37:55.560 LaunchHotkeyMouse START-SHOW 2829375
20191207@11:37:55.591 RefreshSwitchFolderOrAppMenu START 2829406
20191207@11:37:55.716 RefreshSwitchFolderOrAppMenu STOP 2829531 125
20191207@11:37:55.716 RefreshClipboardMenu START 2829531
20191207@11:37:55.716 RefreshClipboardMenu STOP 2829531 0
20191207@11:37:55.716 RefreshPopularMenus START 2829531
20191207@11:37:55.732 RefreshPopularMenus STOP 2829546 15
20191207@11:37:55.747 RefreshRecentItemsMenus START 2829562
20191207@11:37:55.763 RefreshRecentItemsMenus STOP 2829578 16
20191207@11:37:55.763 RefreshDrivesMenu START 2829578
20191207@11:37:55.763 RefreshDrivesMenu STOP 2829578 0
20191207@11:37:55.763 LaunchHotkeyMouse menu name Principal 2829578
20191207@11:37:55.763 LaunchHotkeyMouse STOP-SHOW 2829578 203
and when it's NOT OK, it contains :
20191207@11:38:15.383 LaunchHotkeyMouse START-SHOW 2849203
20191207@11:38:15.383 RefreshSwitchFolderOrAppMenu START 2849203
20191207@11:38:15.540 RefreshSwitchFolderOrAppMenu STOP 2849359 156
20191207@11:38:15.540 RefreshClipboardMenu START 2849359
20191207@11:38:15.555 RefreshClipboardMenu STOP 2849375 16
20191207@11:38:15.555 RefreshPopularMenus START 2849375
20191207@11:38:15.571 RefreshPopularMenus STOP 2849390 15
20191207@11:38:15.571 RefreshRecentItemsMenus START 2849390
20191207@11:38:36.646 RefreshRecentItemsMenus STOP 2870468 21078 *FLAG4*
20191207@11:38:36.646 RefreshDrivesMenu START 2870468
20191207@11:38:36.661 RefreshDrivesMenu STOP 2870484 16
20191207@11:38:36.661 LaunchHotkeyMouse menu name Principal 2870484
20191207@11:38:36.661 LaunchHotkeyMouse STOP-SHOW 2870484 21281 *FLAG2*
Help doctor ! What can I do ?
Last (but maybe not least), since now I understand it's NOT linked to Active Folders, I wanted to uncheck the box relative to bip at refresh, and restore the maximum number to its default value (500), but when I clicked on "Enregistrer", I got this error message box :
Error : Menu name too long.
Line #
---> 3621: Menu,%strMenuName%,Add
The current thread will exit.
I then (after restart of QAP) tried (in parameters) to de-activate QAP database.... but no impact : Issue still there.
Since no impact, I reactivated it.
But when I tried to click on "Vider les items fréquemment utilisés de la base de données" , I got an error message
SQLite FLUSH Error
Message:
Code:
Query: DELETE FROM Usage;
It's not always the case, but I would say once out of 5 to 10 times
To be sure, I have already verified that the option to display icons for frequent files/folders is UNchecked.
And I have reduced the maximum number of subfolders for active folders. (and it's during these tests I have discovered it was not feasible to remove the "Active" folder parameter : see my other post)
But in any case, when menu takes this very long time to display, it is NOT at the same time that active folders are refreshed (I set the optional sound at refresh to be sure).
And when the menu takes so long to refresh, all other applications on laptop are OK and respond normally. And nothing special (neither CPU consumption, nor disk) is visible at task manager. Sounds more like a kind of "lock".
Since I saw that the QAP-Frequent DB was quite "big" (2876K), I tried to remove it : no change
I do not remember to face this issue before today....
I even tried to restart my laptop : no change.
If there is a mean to activate a kind of monitoring of what QAP does, I guess it could be useful to understand what happens....
Oops, I just saw in QuickAccessPopup.ini file a DiagMode=0
So I set it to 1, and now, if I do not know WHY there is an issue, I at least know WHERE is the issue : According to QuickAccessPopup-DIAG.txt file, when menu takes so long to display, 99.99% of time is spent in RefreshRecentItemsMenus.
Typically, when response time is OK, Diagfile contains
20191207@11:37:55.560 LaunchHotkeyMouse START-SHOW 2829375
20191207@11:37:55.591 RefreshSwitchFolderOrAppMenu START 2829406
20191207@11:37:55.716 RefreshSwitchFolderOrAppMenu STOP 2829531 125
20191207@11:37:55.716 RefreshClipboardMenu START 2829531
20191207@11:37:55.716 RefreshClipboardMenu STOP 2829531 0
20191207@11:37:55.716 RefreshPopularMenus START 2829531
20191207@11:37:55.732 RefreshPopularMenus STOP 2829546 15
20191207@11:37:55.747 RefreshRecentItemsMenus START 2829562
20191207@11:37:55.763 RefreshRecentItemsMenus STOP 2829578 16
20191207@11:37:55.763 RefreshDrivesMenu START 2829578
20191207@11:37:55.763 RefreshDrivesMenu STOP 2829578 0
20191207@11:37:55.763 LaunchHotkeyMouse menu name Principal 2829578
20191207@11:37:55.763 LaunchHotkeyMouse STOP-SHOW 2829578 203
and when it's NOT OK, it contains :
20191207@11:38:15.383 LaunchHotkeyMouse START-SHOW 2849203
20191207@11:38:15.383 RefreshSwitchFolderOrAppMenu START 2849203
20191207@11:38:15.540 RefreshSwitchFolderOrAppMenu STOP 2849359 156
20191207@11:38:15.540 RefreshClipboardMenu START 2849359
20191207@11:38:15.555 RefreshClipboardMenu STOP 2849375 16
20191207@11:38:15.555 RefreshPopularMenus START 2849375
20191207@11:38:15.571 RefreshPopularMenus STOP 2849390 15
20191207@11:38:15.571 RefreshRecentItemsMenus START 2849390
20191207@11:38:36.646 RefreshRecentItemsMenus STOP 2870468 21078 *FLAG4*
20191207@11:38:36.646 RefreshDrivesMenu START 2870468
20191207@11:38:36.661 RefreshDrivesMenu STOP 2870484 16
20191207@11:38:36.661 LaunchHotkeyMouse menu name Principal 2870484
20191207@11:38:36.661 LaunchHotkeyMouse STOP-SHOW 2870484 21281 *FLAG2*
Help doctor ! What can I do ?
Last (but maybe not least), since now I understand it's NOT linked to Active Folders, I wanted to uncheck the box relative to bip at refresh, and restore the maximum number to its default value (500), but when I clicked on "Enregistrer", I got this error message box :
Error : Menu name too long.
Line #
---> 3621: Menu,%strMenuName%,Add
The current thread will exit.
I then (after restart of QAP) tried (in parameters) to de-activate QAP database.... but no impact : Issue still there.
Since no impact, I reactivated it.
But when I tried to click on "Vider les items fréquemment utilisés de la base de données" , I got an error message
SQLite FLUSH Error
Message:
Code:
Query: DELETE FROM Usage;