Bug 277168

Summary: Kolourpaint should propose location of current file when saving as compressed image
Product: [Applications] kolourpaint Reporter: Kai Uwe Broulik <KaiUweBroulik2>
Component: generalAssignee: kolourpaint-support
Status: RESOLVED FIXED    
Severity: normal CC: goranbr, kollix
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Uwe Broulik 2011-07-05 23:50:10 UTC
Version:           unspecified (using Devel) 
OS:                Linux

When saving a JPEG file a message pops up warning you about the lossy compression and then opens a Save As dialog (even though you chose Ctrl-S or Save from the menu). This path however seems to be the path where you last saved something (or something random, dunno exactly, it is here always $HOME/Documents/Somefolder).
It should be the same folder where the file you are saving is located at the moment (if you opened a JPEG, edit it and save it) so you won’t need to search for it if you just did some minor editings.

Reproducible: Always

Steps to Reproduce:
.


Expected Results:  
.
Comment 1 Martin Koller 2011-07-10 16:03:45 UTC
Against which version do you report this problem ?
I can reproduce it with 4.6.4 but not with 4.7
Comment 2 Kai Uwe Broulik 2011-07-10 17:28:19 UTC
I am using KDE 4.6.4 and regularily compile it from git.
Comment 3 Christoph Feck 2011-08-02 22:33:08 UTC
*** Bug 279219 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2011-08-02 22:33:53 UTC
Bug 279219 has steps to reproduce.
Comment 5 Goran Brannstrom 2011-08-03 07:41:43 UTC
My bug report in only partly duplicate with respect to bug #277168. My bug report also points out that...

1. It is still reproduceable in 4.7.

2. You should not even get a "Save as.." dialog when you choose "Save".
   It should just save the file in the background.

3. "Save as.." dialog should only be presented when choosing "Save as.." from menu. Why have two different menu choices otherwise?
Comment 6 Christoph Feck 2011-10-14 09:50:47 UTC
*** Bug 283654 has been marked as a duplicate of this bug. ***
Comment 7 Martin Koller 2011-10-26 14:02:44 UTC
Git commit 25bfb7208fafad76ed953260ccb88123dd9e18a8 by Martin Koller.
Committed on 26/10/2011 at 15:49.
Pushed by mkoller into branch 'KDE/4.7'.

use directory of loaded file in saveAs dialog again

(Sorry for having messed this up in 4.7.0)

BUG: 284890
BUG: 284410
BUG: 277168

M  +2    -2    mainWindow/kpMainWindow_File.cpp

http://commits.kde.org/kolourpaint/25bfb7208fafad76ed953260ccb88123dd9e18a8
Comment 8 Martin Koller 2011-10-26 14:02:45 UTC
Git commit 8991692a54ab1d1b0111a61d7fb39cdb1ac9cdb1 by Martin Koller.
Committed on 26/10/2011 at 15:49.
Pushed by mkoller into branch 'master'.

use directory of loaded file in saveAs dialog again

(Sorry for having messed this up in 4.7.0)

BUG: 284890
BUG: 284410
BUG: 277168

M  +2    -2    mainWindow/kpMainWindow_File.cpp

http://commits.kde.org/kolourpaint/8991692a54ab1d1b0111a61d7fb39cdb1ac9cdb1