Bug 260289

Summary: korganizer-mobile window is not brought to front when clicking on "Check my calendar" in kmail-mobile
Product: [Applications] KMail Mobile Reporter: Björn Balazs <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: aheinecke, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Windows CE   
OS: Microsoft Windows CE   
Latest Commit: Version Fixed In:

Description Björn Balazs 2010-12-16 16:53:52 UTC
Version:           unspecified (using Devel) 
OS:                Windows CE

When you get an kolab invitation mail it is not possible to click "check my calender"-link in the mail



Reproducible: Didn't try
Comment 1 Björn Balazs 2010-12-16 17:14:00 UTC
Additional information:

The problem seems to only occur, when the kalendar is already opened. WinCE seems to not be able to bring the opened window to the front.

When Kalendar is not running kmail starts it ok.
Comment 2 Andre Heinecke 2011-01-17 13:58:00 UTC
commit cf73b914749f02649a28dfd09e3c5d84553e0e6b
branch master
Author: Andre Heinecke <aheinecke@intevation.de>
Date:   Mon Jan 17 12:52:06 2011 +0000

    Bring the current application to front on dateView
    
        When the dateView should show the window is now also
        brought to the foreground.
    
        BUG: 260289

diff --git a/mobile/calendar/korganizer-mobile.qml b/mobile/calendar/korganizer-mobile.qml
index 2eb0a41..50a580c 100644
--- a/mobile/calendar/korganizer-mobile.qml
+++ b/mobile/calendar/korganizer-mobile.qml
@@ -62,6 +62,7 @@ KPIM.MainView {
   {
     agenda.showRange( date, 0 /* "Day" */ );
     guiStateManager.pushState( Events.EventsGuiStateManager.ViewDayState );
+    application.bringToFront();
   }
 
   KCal.IncidenceView {