[kleopatra] [Bug 393447] Kleopatra uses current directory of parent process

2018-04-24 Thread Andre Heinecke
https://bugs.kde.org/show_bug.cgi?id=393447

Andre Heinecke  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/kle
   ||opatra/45058011974ecdf71aad
   ||580526c962cfb2e07c77

--- Comment #2 from Andre Heinecke  ---
Git commit 45058011974ecdf71aad580526c962cfb2e07c77 by Andre Heinecke.
Committed on 24/04/2018 at 12:35.
Pushed by aheinecke into branch 'master'.

Change working dir on Windows after startup

After handling the filename arguments on the command line
switch the working directory on Windows to prevent the
locking the directory from which Kleo was started
for deletion.

This is important for the file extension support
of Kleopatra on Windows.

This also unifies two return paths in newInstance to
a single one to avoid duplication.

M  +11   -3src/kleopatraapplication.cpp

https://commits.kde.org/kleopatra/45058011974ecdf71aad580526c962cfb2e07c77

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[kleopatra] [Bug 393447] Kleopatra uses current directory of parent process

2018-04-23 Thread Andre Heinecke
https://bugs.kde.org/show_bug.cgi?id=393447

Andre Heinecke  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Andre Heinecke  ---
Good point. For Windows it would be a good idea if Kleopatra would change the
working directory on start to a generic location e.g. the users Home Dir.

We have other processes like gpg-agent we do this exactly for the reason you
mention. ( https://dev.gnupg.org/T2670 )

-- 
You are receiving this mail because:
You are on the CC list for the bug.