View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001894 | Far Manager | Plugins Manager | public | 2011-09-27 19:00 | 2011-09-27 19:39 |
Reporter | Maximus | Assigned To | DrKnS | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0001894: Неточности отображения списка плагинов | ||||
Description | Структура "PluginInfo Info" не очищается, в результате в некоторых случаях, когда некоторые плагины "грузятся из кеша" структура Info содержит неактуальные данные. Что приводит к глюкам | ||||
Tags | No tags attached. | ||||
Build | 2205 | ||||
|
plugins.110927.diff (1,144 bytes)
Index: plugins.cpp =================================================================== --- plugins.cpp (revision 6730) +++ plugins.cpp (working copy) @@ -1406,7 +1406,7 @@ LoadIfCacheAbsent(); string strHotKey, strName; GUID guid; - PluginInfo Info = {sizeof(Info)}; + PluginInfo Info; for (int I=0; I<PluginsCount; I++) { @@ -1414,6 +1414,9 @@ bool bCached = pPlugin->CheckWorkFlags(PIWF_CACHED)?true:false; unsigned __int64 id = 0; + ClearStruct(Info); + Info.StructSize = sizeof(Info); + if (bCached) { id = PlCacheCfg->GetCacheID(pPlugin->GetCacheName()); @@ -1579,7 +1582,7 @@ PluginList.SetPosition(-1,-1,0,0); LoadIfCacheAbsent(); string strHotKey, strName; - PluginInfo Info = {sizeof(Info)}; + PluginInfo Info; GUID guid; for (int I=0; I<PluginsCount; I++) @@ -1589,6 +1592,9 @@ UINT64 IFlags; unsigned __int64 id = 0; + ClearStruct(Info); + Info.StructSize = sizeof(Info); + if (bCached) { id = PlCacheCfg->GetCacheID(pPlugin->GetCacheName()); |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-09-27 19:00 | Maximus | New Issue | |
2011-09-27 19:00 | Maximus | File Added: plugins.110927.diff | |
2011-09-27 19:39 | DrKnS | Build | => 2205 |
2011-09-27 19:39 | DrKnS | Status | new => closed |
2011-09-27 19:39 | DrKnS | Assigned To | => DrKnS |
2011-09-27 19:39 | DrKnS | Resolution | open => fixed |
2011-09-27 19:39 | DrKnS | Fixed in Version | => 3.0 |