개정판 122914ba
issue #000: PageChange 속도 check 상세 log 추가
Change-Id: I2fb31563f35b2c84696aec3f93641435bc91acf7
KCOM/Controls/Sample.xaml.cs | ||
---|---|---|
131 | 131 |
|
132 | 132 |
private void SetCommentPages_Favorite() |
133 | 133 |
{ |
134 |
Logger.sendCheckLog("SetCommentPages_Favorite", 1); |
|
135 | 134 |
ThumbnailSet(); |
136 | 135 |
//_UsersCommentPagesList |
137 | 136 |
//var result = (from A in _UsersCommentPagesList |
... | ... | |
428 | 427 |
} |
429 | 428 |
public void SetCommentPages() |
430 | 429 |
{ |
431 |
Logger.sendCheckLog("SetCommentPages", 1); |
|
432 | 430 |
ThumbnailSet(); |
433 | 431 |
SetCommentList(_UsersCommentPagesList.ToList()); |
434 | 432 |
} |
... | ... | |
436 | 434 |
public void SetCommentList(List<UsersCommentPagesMember> UsersCommentPagesList) |
437 | 435 |
{ |
438 | 436 |
Logger.sendCheckLog("SetCommentList", 1); |
437 |
Logger.sendCheckLog("SetCommentList_기존 Comment 색상 제거", 1); |
|
439 | 438 |
#region 기존 색상 제거 작업 |
440 | 439 |
foreach (var item in this._thumbnailItems) |
441 | 440 |
{ |
442 | 441 |
item.DisplayColorItems.Clear(); |
443 |
}
|
|
442 |
} |
|
444 | 443 |
#endregion |
445 | 444 |
|
446 |
|
|
447 |
|
|
445 |
Logger.sendCheckLog("SetCommentList_delItem select 및 remove", 1); |
|
448 | 446 |
List<UsersCommentPagesMember> _delItem = new List<UsersCommentPagesMember>(); |
449 | 447 |
|
450 | 448 |
_UsersCommentPagesList.ToList().ForEach(item => |
... | ... | |
459 | 457 |
|
460 | 458 |
_delItem.ForEach(f => _UsersCommentPagesList.Remove(f)); |
461 | 459 |
|
460 |
Logger.sendCheckLog("SetCommentList_UsersCommentPagesMember_PropertyChanged", 1); |
|
462 | 461 |
UsersCommentPagesList.ForEach(user => |
463 | 462 |
{ |
464 | 463 |
user.PropertyChanged -= new System.ComponentModel.PropertyChangedEventHandler(user_PropertyChanged); |
... | ... | |
486 | 485 |
}); |
487 | 486 |
|
488 | 487 |
|
489 |
|
|
488 |
Logger.sendCheckLog("SetCommentList_SelectComment.ItemsSource 설정", 1); |
|
490 | 489 |
var data = _UsersCommentPagesList.OrderByDescending(p => p.isConSolidation == Convert.ToInt32(true)).ToList(); |
491 | 490 |
if (data.Count() != 0) |
492 | 491 |
{ |
... | ... | |
506 | 505 |
this.lstSelectComment.ItemsSource = _UsersCommentPagesList; //섬네일 |
507 | 506 |
} |
508 | 507 |
//this.ImgListbox.ItemsSource = null; |
508 |
Logger.sendCheckLog("SetCommentList_ImgListbox 설정", 1); |
|
509 | 509 |
this.ImgListbox.ItemsSource = this._thumbnailItems; |
510 | 510 |
var template = this.ImgListbox.ItemTemplate; |
511 | 511 |
this.ImgListbox.ItemTemplate = null; |
512 | 512 |
this.ImgListbox.ItemTemplate = template; |
513 |
Logger.sendCheckLog("SetCommentList_ImgListbox UpdateLayout", 1); |
|
513 | 514 |
this.ImgListbox.UpdateLayout(); |
514 | 515 |
} |
515 | 516 |
|
KCOM/KCOM.csproj.user | ||
---|---|---|
5 | 5 |
<ProjectView>ShowAllFiles</ProjectView> |
6 | 6 |
</PropertyGroup> |
7 | 7 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> |
8 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMTQwIiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJIMjAxMTM1NyIsIk1vZGUiOjB9</StartArguments>
|
|
8 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMDg5IiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJIMjAxMTM1NyIsIk1vZGUiOjB9</StartArguments>
|
|
9 | 9 |
</PropertyGroup> |
10 | 10 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> |
11 | 11 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMDU3IiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJIMjAxMTM1NyIsIk1vZGUiOjB9</StartArguments> |
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
761 | 761 |
Logger.sendCheckLog("pageNavigator_PageChanging_BitmapImage Downloading", 1); |
762 | 762 |
if (defaultBitmapImage.IsDownloading) |
763 | 763 |
{ |
764 |
Logger.sendCheckLog("pageNavigator_PageChanging_BitmapImage IsDownloading", 1); |
|
764 | 765 |
defaultBitmapImage.DownloadCompleted += (ex, arg) => |
765 | 766 |
{ |
766 |
Logger.sendCheckLog("pageNavigator_PageChanging_BitmapImage DownloadCompleted", 1); |
|
767 |
Logger.sendCheckLog("pageNavigator_PageChanging_BitmapImage DownloadCompleted_Start", 1);
|
|
767 | 768 |
defaultBitmapImage.Freeze(); |
768 | 769 |
mainPanel.UpdateLayout(); |
769 | 770 |
GC.Collect(); |
770 | 771 |
ViewerDataModel.Instance.ImageViewPath = defaultBitmapImage; |
771 | 772 |
ViewerDataModel.Instance.ImageViewWidth = defaultBitmapImage.PixelWidth; |
772 | 773 |
ViewerDataModel.Instance.ImageViewHeight = defaultBitmapImage.PixelHeight; |
774 |
Logger.sendCheckLog("pageNavigator_PageChanging_BitmapImage DownloadCompleted_End", 1); |
|
773 | 775 |
}; |
774 | 776 |
} |
775 | 777 |
|
내보내기 Unified diff