Fixed Nabi issues N_SE-50613, N_SE-49431, N_SE-50779, N_SE-50601, N_SE-50559
authorrahul dutt <rahul.dutt@samsung.com>
Wed, 4 Sep 2013 16:38:26 +0000 (22:08 +0530)
committerrahul dutt <rahul.dutt@samsung.com>
Wed, 4 Sep 2013 16:38:26 +0000 (22:08 +0530)
Change-Id: I99a63d1e3232ddae2d2cac136c48d78e8bc04501

src/IntEditBookmarkListForm.cpp
src/IntHistoryListForm.cpp
src/IntMainForm.cpp

index be5b8f4..b8c6ec9 100644 (file)
@@ -858,14 +858,8 @@ EditBookmarkListForm::OnSceneActivatedN(const SceneId& previousSceneId, const Sc
                }
        }
 
-       if(previousSceneId == IDSCN_ADD_BOOKMARK)
-               return;
-
-       /*labelString.Append(CommonUtil::GetString(L"IDS_BR_BODY_PD_ITEM_SELECTED"));
-       labelString.Append(L"\x200E"); // LEFT-TO-RIGHT MARK
-       labelString.Append(L"(");
-       labelString.Append(__selectedItemCount);
-       labelString.Append(L")");*/
+       //if(previousSceneId == IDSCN_ADD_BOOKMARK)
+       //      return;
 
        if(__selectedItemCount >1)
        {
@@ -897,11 +891,8 @@ EditBookmarkListForm::OnSceneActivatedN(const SceneId& previousSceneId, const Sc
        {
                __pCheckButton->SetSelected(true);
        }
-       __pInfoPanel->Draw();
-       __pInfoPanel->Show();
-
+       
        Invalidate(true);
-
 }
 
 void
index 3e2dc93..8cdb954 100644 (file)
@@ -463,7 +463,7 @@ HistoryListForm::CreateGroupItem(int groupIndex, int itemWidth)
                if (pGroupItemClass->GetTitleText() != CommonUtil::GetString(L"IDS_BR_BODY_OLDER"))
                {
                        text.Append(pGroupItemClass->GetStartTime().GetDay());
-                       text.Append(L". ");
+                       text.Append(L" ");
                        strMonth = pGroupItemClass->GetStartTime().GetMonth();
                        month = GetMonth(strMonth);
                        text.Append(month);
@@ -480,7 +480,7 @@ HistoryListForm::CreateGroupItem(int groupIndex, int itemWidth)
                {
                        text.Append(L" - ");
                        text.Append(pGroupItemClass->GetEndTime().GetDay());
-                       text.Append(L". ");
+                       text.Append(L" ");
                        strMonth = pGroupItemClass->GetEndTime().GetMonth();
                        month = GetMonth(strMonth);
                        text.Append(month);
@@ -1243,7 +1243,6 @@ HistoryListForm::OnOrientationChanged(const Control& source, OrientationStatus o
                {
                        return;
                }
-               __pGroupedListView->UpdateList();
 
                if (__pSearchListView != null)
                {
@@ -1259,6 +1258,16 @@ HistoryListForm::OnOrientationChanged(const Control& source, OrientationStatus o
                                __pSearchBar->SetContentAreaSize(Dimension(__pSearchListView->GetWidth(), __pSearchListView->GetHeight()));
                }
 
+               if(__pGroupData != NULL)
+               {
+                       for (int groupIndex = 0; groupIndex < __pGroupData->GetCount(); groupIndex++)
+                       {
+                               for (int itemIndex = 0; itemIndex < __pGroupedListView->GetItemCountAt(groupIndex); itemIndex++)
+                               {
+                                       __pGroupedListView->RefreshList(groupIndex, itemIndex,LIST_REFRESH_TYPE_ITEM_MODIFY);
+                               }
+                       }
+               }
        }
 
        if (__isNoHistoryPresent == true)
index 5cc4010..072e148 100644 (file)
@@ -985,6 +985,10 @@ MainForm::InitSelectTextContextMenuF(FloatPoint p, bool pasteOption, bool onlyPa
                p.y = p.y + 50;
                direction = CONTEXT_MENU_ANCHOR_DIRECTION_DOWNWARD;
        }
+       else if(__pWebViewer != null && (p.y > (__pWebViewer->GetHeight() + __pWebViewer->GetY())))
+       {
+               p.y = __pWebViewer->GetHeight() + __pWebViewer->GetY();
+       }
        else
        {
                if(GetOrientationStatus() == ORIENTATION_STATUS_LANDSCAPE || GetOrientationStatus() == ORIENTATION_STATUS_LANDSCAPE_REVERSE )
@@ -2571,7 +2575,8 @@ MainForm::OnActionPerformed(const Tizen::Ui::Control& source, int actionId)
 //             LoadUrl(url);
                if (__pWebViewer != null && __pAddressbar != null)
                {
-                       __pWebViewer->Reload();
+                       LoadUrl(url);
+                       //__pWebViewer->Reload();
                        SetAddressbarMode((AddressBarMode)ADDRESSBAR_MODE_LOADING);
                }
 
@@ -2949,11 +2954,14 @@ MainForm::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId,
                pCanvas->DrawBitmap(Point(0,0),*pBitmap);
                delete pBitmap;
        }
-       if(__pWebViewer != null && __pWindowInfo != null)
+       if(__pWebViewer != null && __pWindowInfo != null && __pWindowInfo->pWebCanvasBitmap != null)
                pCanvas->DrawBitmap(__pWebViewer->GetPosition(),*__pWindowInfo->pWebCanvasBitmap);
 
        WindowInfo::pFormCanvasBitmap = new(std::nothrow) Bitmap();
-       WindowInfo::pFormCanvasBitmap->Construct(*pCanvas,Rectangle(0,0,GetClientAreaBounds().width,GetClientAreaBounds().height - __pFooterPanel->GetHeight()));
+       if (__pFooterPanel)
+       {
+               WindowInfo::pFormCanvasBitmap->Construct(*pCanvas,Rectangle(0,0,GetClientAreaBounds().width,GetClientAreaBounds().height - __pFooterPanel->GetHeight()));
+       }
        delete pCanvas;
        delete pWebCanvas;
        if(__pAddressbar)