[Gambas-bugtracker] Bug #1367: FileView.Reload fails to update file sizes

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jul 20 17:36:55 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1367&from=L21haW4-

Comment #1 by Tony MOREHEN:

Fix Options (in gb.Form/FileView.class):
1) Force all calls to RefreshView to invalidate the cache.  Is bInvalidate really needed?
2) Modify the RefreshView call in Refresh_Trigger to take $bRefreshAll into account ie change line 516 from
   "RefreshView" to "RefreshView($bRefreshAll)".  This requires $bRefreshAll to be in its proper state whenever Refresh_Timer is triggered.
3) Modify RefreshView to invalidate the cache whenever $bRefreshAll is set to True. ie change line 342 from
   "If bInvalidate Then hCache.Invalidate" to "If bInvalidate Or If $bRefreshAll Then hCache.Invalidate"




More information about the Bugtracker mailing list