Bug 313313 - Fail to start a second time unless application killed in task manager
Summary: Fail to start a second time unless application killed in task manager
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: Andre Heinecke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 16:53 UTC by enessde
Modified: 2013-05-02 16:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enessde 2013-01-15 16:53:36 UTC
Windows 8 64 bit - problem occurs with 2.1.0 and 2.1.1
Clicking on its shortcut starts up Kleopatra. Clicking on file close or on the window close X box closes the Kleopatra window. Kleopatra will not start up a second time unless the process is shut down using Windows Task Manager, 

Reproducible: Always
Comment 1 Andre Heinecke 2013-04-17 08:25:11 UTC
Hi, thanks for reporting this problem
I guess that is because kleo still runs in the background but is not put to front. Making it a KPimuniqueapplication could probably fix this. I'm about to get a Windows 8 test system for gpg4win with that i should be able to reproduce / fix the Problem.
Comment 2 Andre Heinecke 2013-05-02 16:34:41 UTC
Git commit 6798f5fec80be38cb189d4905850f9842e22c194 by Andre Heinecke.
Committed on 02/05/2013 at 18:30.
Pushed by aheinecke into branch 'gpg4win'.

Allow external process window activation

    This allows kleopatra to be brought to front when it is
    started a second time. This is necessary especially on Windows
    Systems like 7/8 where the taskbar is hidden and users don't
    find their kleopatra window anymore once they closed it.
    Other pim applications get this setting by using the
    kpimuniqueapplication class.

M  +1    -0    kleopatra/kleopatraapplication.cpp

http://commits.kde.org/kdepim/6798f5fec80be38cb189d4905850f9842e22c194