[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 306909] New: Unable to save files when -o parameter is used. Message says: klauncher said: Unkn
From:       Greg Martyn <greg.martyn () gmail ! com>
Date:       2012-09-17 4:04:34
Message-ID: bug-306909-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=306909

            Bug ID: 306909
          Severity: critical
           Version: 0.9.97
          Priority: NOR
          Assignee: joachim.eibl@gmx.de
           Summary: Unable to save files when -o parameter is used.
                    Message says: klauncher said: Unknown protocol ''.
    Classification: Unclassified
                OS: Linux
          Reporter: greg.martyn@gmail.com
          Hardware: Fedora RPMs
            Status: NEW
         Component: general
           Product: kdiff3

I use kdiff3 as my git mergetool. With kdiff3 version 0.9.97 installed, I am
unable to save files when in kdiff3 is invoked by Git. When I downgrade to
0.9.96, everything works fine.

The problem seems to be that when the output file is passed to kdiff3 with the
-o parameter, kdiff3 doesn't turn that into a file:// path. That seems to be
fine with version 0.9.96, but version 0.9.97 refuses to save until I edit the
output location and ensure that it uses a file:// path.

Reproducible: Always

Steps to Reproduce:
If I do a merge:
    kdiff3 ./file1.txt ./file2.txt ./file3.txt -o file.txt

.. then save the result, two alert popups appear. The first says:
    Could not start process Unable to create io-slave:
    klauncher said: Unknown protocol ''.

The second says:
    While trying to make a backup, renaming failed.
    Filenames: file.txt -> file.txt.orig

    Creating backup failed. File not saved.

If I then do File => Open, and continue without saving, I see the correct
filenames listed in A, B, and C, all prefixed with file://, but the output box
just says "file.txt" (not prefixed with file://). If I say OK and continue
without making changes, the same problem occurs. However if I fixup the output
box by clicking the "File..." button and selecting the output file, it is now
prefixed with file://, and I am able to click OK then save my merge result.

Version 0.9.96 shows the same behavior in the File => Open window, but despite
the output file not being prefixed with file://, everything seems to work fine.
Actual Results:  
Two alert popups appear. The first says:
    Could not start process Unable to create io-slave:
    klauncher said: Unknown protocol ''.

The second says:
    While trying to make a backup, renaming failed.
    Filenames: file.txt -> file.txt.orig

Expected Results:  
File was saved

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic