Bug 287065 - KSnapshot damages filename when changing it
Summary: KSnapshot damages filename when changing it
Status: RESOLVED DUPLICATE of bug 238101
Alias: None
Product: ksnapshot
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Richard Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-20 12:08 UTC by Swâmi Petaramesh
Modified: 2011-11-20 23:27 UTC (History)
0 users

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 Swâmi Petaramesh 2011-11-20 12:08:45 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

Ksnapshot automatically proposes a filename for each new snapshot, by incrementing the previous one. It also defines the "filetype" if the filename "extension" is changed.

For jpegs, Ksnapshot proposes by default ".jpeg", (not ".jpg")

But if the previous filename was ending in ".jpg" (i.e. capture1.jpg) Ksnapshot will happily increment it for next pic to "capture2.jpg"


However at this step if the user tries to manually change the 1st part of the filaneme to something else (i.e. "someimage.jpg") then as soon as the user tries to type in the first part of the name, Ksnaphot automatically tries to change the extension back to ".jpeg" (if it was ".jpg") and does this in the middle of what the user is typing, borking the typed filename as a result.

Reproducible: Always

Steps to Reproduce:
See details above

Actual Results:  
The resulting filename is messed up while typing it because Ksnapshot tries to modify the extension (and does it in a broken manner)while the user is typing.

Expected Results:  
Ksnapshot is not expected to mess with the filename extension when not asked to ;-)
Comment 1 Christoph Feck 2011-11-20 23:27:36 UTC

*** This bug has been marked as a duplicate of bug 238101 ***