Bug 218008 - Blend URL with diff: Diff is not applied but modified
Summary: Blend URL with diff: Diff is not applied but modified
Status: RESOLVED WORKSFORME
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 4.0.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 17:50 UTC by bastikln
Modified: 2023-01-22 05:05 UTC (History)
3 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 bastikln 2009-12-09 17:50:58 UTC
Version:           4.0.0 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

I'm trying to use Kompare to apply a patch to the source tree.

I click "Blend URL with diff", open the source directory and the patch file. Then I can see the complete source file and the modifications to it made by the patch.

Then I press "apply difference" and "save"

What happens?

 * the patch file is modified and contains some parts of the source.
 * the source file is untouched

What do I expect to happen?

 * Apply the patch to the sources
 * don't change the patch file
Comment 1 Sander van Grieken 2010-05-29 10:42:11 UTC
Same here, diff file is overwritten instead of the source file.

Also seems to act in reverse. Applying hunks actually UNapplies them in the right pane. Also in the hunk panel it says that the change has been undone.
Comment 2 Eric Angell 2010-07-27 01:18:57 UTC
Same here, running Ubuntu Lucid (GNOME).  From kompare --version:
Qt: 4.6.2
KDE Development Platform: 4.4.2 (KDE 4.4.2)
Kompare: 4.0.0
I've been starting with `kompare -b foo_dir/ /path/to/diff/of/foo/on/different/branch.patch`
Comment 3 Cristian Tibirna 2011-10-21 19:58:21 UTC
Is there anything new on this? I can still see the bug with Kompare 4.0.

This (applying a patch to a directory), btw is a huge feature with git and, if working right, would make kompare (almost) the only graphic tool for replacing patch(1).
Comment 4 Andrew Crouthamel 2018-11-06 15:14:40 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 5 Andrew Crouthamel 2018-11-18 03:32:08 UTC
Dear Bug Submitter,

This is a reminder that 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? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Sander van Grieken 2018-11-19 11:12:15 UTC
Yes, kompare still unusable.
Comment 7 Justin Zobel 2022-12-23 00:28:20 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 8 Bug Janitor Service 2023-01-07 05:21:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2023-01-22 05:05:57 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!