Bug 260452 - naming problem when saving file
Summary: naming problem when saving file
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 17:17 UTC by Gabe Yoder
Modified: 2018-04-13 17:49 UTC (History)
4 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 David Faure 2010-12-17 19:41:15 UTC


---- Reported by gabe.yoder@gmail.com 2005-10-17 17:17:07 ----

Version:           1.4.2 (using KDE KDE 3.4.3)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.4 
OS:                Linux

I am trying to save a new chart.  I have the option checked to automatically add the .chrt extension.  If I have an existing file "foo" and I enter "foo" into the save dialog, it will prompt me whether I want to overwrite file "foo" even though it should be saving my chart as "foo.chrt".  If I tell it to overwrite, it will indeed save the file as "foo" instead of "foo.chrt".  If there isn't an existing file named "foo", it will correctly save as "foo.chrt"



---- Additional Comments From inge@lysator.liu.se 2006-01-28 22:09:50 ----

This bug is not kchart, since this code s in the ko libs.  Moving the bug to koffice.



---- Additional Comments From jonas.vejlin@gmail.com 2009-04-05 09:11:14 ----

can you confirm that this problem still exist in koffice2?



---- Additional Comments From gabe.yoder@gmail.com 2009-04-24 23:20:51 ----

I tried this again using kword from koffice 2.0 RC1 and the issue still exists.



--- Bug imported by faure@kde.org 2010-12-17 19:42  ---

This bug was previously known as bug 114568.

Comment 1 Halla Rempt 2012-05-04 09:35:17 UTC
Actually... This is standard KDE behaviour, and I'm not sure whether it's a bug or not...
Comment 2 Martin Koller 2012-09-08 21:11:23 UTC
I can reproduce with 4.9.1, and yes, I think this is wrong. When the file without extension does not exist, a file WITH extension is created. So it's not logical to ask to overwrite if a file WITHOUT extension does exist, as the written file should get the extension.
Comment 3 Nate Graham 2018-04-13 17:49:04 UTC
Works for me in KDE Frameworks 5.45.