Bug 254819

Summary: strange statement "file exists or is write-protected"
Product: [Applications] kompare Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: Kompare developers <kompare-devel>
Status: CONFIRMED ---    
Severity: normal CC: andrew.crouthamel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Potashev 2010-10-21 00:37:08 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

Here:

#: komparepart/kompare_part.cpp:556
msgid "The file exists or is write-protected; do you want to overwrite it?"

---------------

The question is: how a file can be write-protected and non-existing at the same time?


The string says something like this:
1. if the file exists, then it's dangerous to overwrite it, and
2. if the file is write-protected, then it's dangerous to overwrite it.

Having the first statement, the second one is unnecessary (it's a partial case of the condition if the first statement).

Reproducible: Didn't try
Comment 1 Andrew Crouthamel 2018-11-05 03:08:31 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Alexander Potashev 2018-11-05 16:53:33 UTC
This phrase is still present in the code in Git master.
Comment 3 Andrew Crouthamel 2018-11-05 17:02:26 UTC
Thanks for the update!