[kompare] [Bug 382783] New: "Save" after "Apply Difference" or "Apply All" because of empty destination

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 382783] New: "Save" after "Apply Difference" or "Apply All" because of empty destination

James Baxter
https://bugs.kde.org/show_bug.cgi?id=382783

            Bug ID: 382783
           Summary: "Save" after "Apply Difference" or "Apply All" because
                    of empty destination
           Product: kompare
           Version: 4.1.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

1) I downloaded a patch from review board.
2) I placed it into the root of the checked out source tree
3) I clicked it => opens with kompare
4) I clicked the "Apply All" button and then "Save"

The message box appears:
```
Could not upload the temporary file to the destination location . The temporary
file is still available under: /tmp/kompare.S10378. You can manually copy it to
the right place.
```

and on the console:
```
libkomparediff: KompareModelList::saveDestination:
libkomparediff: Tempfilename   :  "/tmp/kompare.n10197"
libkomparediff: DestinationURL :  QUrl("")
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""
kf5.kio.core: Invalid URL: QUrl("")
libkomparediff: true or false? false
```

I wonder if this has something to do with the fact that the Destination Folder
is "Unknown" and if yes how this could be changed. Or did I use kompare the
wrong way?

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 382783] "Save" after "Apply Difference" or "Apply All" because of empty destination

James Baxter
https://bugs.kde.org/show_bug.cgi?id=382783

Kevin Kofler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |wishlist

--- Comment #1 from Kevin Kofler <[hidden email]> ---
You are indeed trying to do something that is not supported. The Apply feature
works only if you compare files from within Kompare, not if you load an already
premade diff.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 382783] "Save" after "Apply Difference" or "Apply All" because of empty destination

James Baxter
In reply to this post by James Baxter
https://bugs.kde.org/show_bug.cgi?id=382783

--- Comment #2 from Gregor Mi <[hidden email]> ---
Ah, thanks :).

1) Do the Apply buttons currently have any other use in this case?

2) Without any deeper knowledge of the program: would the implementation of
this feature be much more complicated than adding the correct Destination URL
when the diff file is loaded?

--
You are receiving this mail because:
You are the assignee for the bug.