Meld doesn't show differences in sequence

Bug #234259 reported by Ahmad Tarek
16
Affects Status Importance Assigned to Milestone
meld
Fix Released
Medium
meld (Baltix)
New
Undecided
Unassigned
meld (Debian)
Fix Released
Unknown
meld (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: meld

When I use Meld, it shows changes in the file in random way if I used the up and down buttons in the toolbar. I have to go with the file manually to see every single change.

lsb_release -rd:
Description: Ubuntu 8.04
Release: 8.04

apt-cache policy meld:
meld:
  Installed: 1.1.5.1-2ubuntu1
  Candidate: 1.1.5.1-2ubuntu1
  Version table:
 *** 1.1.5.1-2ubuntu1 0
        500 http://archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Tags: meld

Related branches

Ahmad Tarek (ahmadtarek)
description: updated
Revision history for this message
Adam Collard (adam-collard) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

If you could attach one or more example files then this would help us to understand the problem.

Changed in meld:
status: New → Incomplete
Revision history for this message
Ahmad Tarek (ahmadtarek) wrote :

After little invistigation I found that it jumps in the changes in the modified (mine) file but not the original file changes.

I mean it skips changes in the main file and I have to scroll down manually to show them (I can't use the arrows).

I'll try to reproduce the error with open source files and then I'll commit it.

Thanks for your response.

Revision history for this message
Ahmad Tarek (ahmadtarek) wrote :

Ok, I know how to reproduce it. In the attachement you will find two files, ide-cd.c and ide-cd.c.new

If you make the original ide-cd.c and the modified ide-cd.c.new; every thing will work as it should be. If you reverse them (original = ide-cd.c.new and the modified = ide-cd.c), meld will skip many of the changes.

I hope it works.

Revision history for this message
Adam Collard (adam-collard) wrote :

I still can't reproduce your problem.

Running both:
meld ide-cd.c ide-cd.c.new

and
meld ide-cd.c.new ide-cd.c

and using the arrow buttons on the toolbar seem to work fine. I want to make sure we're both running the same thing :)

Revision history for this message
Ahmad Tarek (ahmadtarek) wrote :

for:
meld ide-cd.c.new ide-cd.c
it gave me 5 steps only using arrows (it shows five changes)

for
meld ide-cd.c ide-cd.c.new
it gave me 15 change!!!!

Actually I was facing the same problem in Ubuntu 7.10 but I never faced it on fedora 6!!!

I'll try to do more checks and I'll tell you.

Thanks for your care.

Revision history for this message
Adam Collard (adam-collard) wrote :

Ah ha. Yes I can confirm the bug now. Thanks for helping me see it!

Changed in meld:
status: Incomplete → Confirmed
Revision history for this message
Adam Collard (adam-collard) wrote :

Added link to upstream bug tracker for this issue

Changed in meld:
status: New → Unknown
Changed in meld:
status: Unknown → New
Revision history for this message
zexpe (rosscollins-uk) wrote :

I'm also experiencing the same problem having just upgraded to Meld 1.1.5.1 (Hardy) from 1.1.4 (Feisty).

This is a serious bug for me as I rely on Meld extensively and need to trust that it will show me all of the changes. So I have now reverted back to 1.1.4 and it's working fine again for me.

This bug is also noted here on the gnome bugtracker:

http://bugzilla.gnome.org/show_bug.cgi?id=538736

Which the lead developer has confirmed, but hasn't yet found a fix for it.

Revision history for this message
Ahmad Tarek (ahmadtarek) wrote :

I tried it on Meld 1.2 but it doesn't work also.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package meld - 1.2-0ubuntu1

---------------
meld (1.2-0ubuntu1) jaunty; urgency=low

  * New upstream release. (LP: #283725)
  * debian/copyright:
    - Updated email of upstream author to what is stated in MAINTAINERS.
  * debian/control.in:
    - Bumped standards-version to 3.8.0.
  * debian/patches/html_patch_by_kai_willadsen.patch:
    - Removed, fixed upstream.
  * debian/patches/fix-fr-help-makefile.patch:
    - Ignore error when trying to install files from the non existent
      directory 'help/fr/figures'.
  * debian/patches/only-ignore-fully-blank-changes.patch:
    - Do not jump to the last blank change in blank changes are ignored and
      do not jump over blank changes if they are not ignored. Fixes bug that
      caused some differences to be ignored when using 'Up and 'Down' buttons.
      Patch by Martin Renold. (LP: #234259)
  * debian/patches/escape-paths.patch:
    - Escape paths so mime type is recoqnized correctly. Patch by Ivan
      Sergeyenko. Fixed in upstream development version. (LP: #152913)

 -- Michael Budde <email address hidden> Sat, 15 Nov 2008 13:35:17 +0100

Changed in meld:
status: Confirmed → Fix Released
Changed in meld:
status: New → Confirmed
Changed in meld (Debian):
status: Unknown → New
Revision history for this message
VinceLe (legoll) wrote :

Please try with 1.3.0 or git master branch with the preference
"ignore changs which delete or add blank lines" unset.
It should be fixed.

Changed in meld (Debian):
status: New → Fix Released
Changed in meld:
status: Confirmed → Fix Released
Changed in meld:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.