← Back to team overview

desktop-packages team mailing list archive

[Bug 1161941] Re: git-diff losing lines

 

This issue doesn't exist in Ubuntu 14.04, but I'm not sure if it still
affects 12.04.

** Changed in: gnome-terminal (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1161941

Title:
  git-diff losing lines

Status in gnome-terminal package in Ubuntu:
  Fix Released

Bug description:
  I'm not sure if this is indeed a terminal bug, a `git` bug, a `less`
  bug or else. But since my terminal is having other issues:
  https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1161934
  , I thought it maybe related.

  The problem happens when I issue a `git diff` on my repository. The
  diff command has no configs and is using the defaults. The output is
  colored. The issue only happens in maximized terminal windows and only
  the first time I issue `git diff`. The issue happens with different
  terminal fonts and sizes.

  The effect is that once I use page down to reach the bottom of the
  diff, and then use page up to go back, some lines seemingly randomly
  (but always the same lines) disappear. If I diff again, this doesn't
  happen anymore.

  The issue is repeatable. If I open another terminal, maximize it and
  do `git diff`, page down to the bottom and then page up again I see
  the exact same lines missing. Attached, you can see how the initial
  output is and how it looks after the lines go missing.

  Unlike my other bug report, the issue is not a drawing issue. The
  lines actually become empty. Refreshing, scrolling up and then or
  anything I do doesn't make the lines come back. Again, this could be
  an issue with `less` as `git diff` gives the output through `less` (I
  guess). After quitting `less`, the output remains as it is, with the
  missing lines on the screen. Calling `git diff` again doesn't cause
  this issue.

  Additional information:

  $ lsb_release -rd:
  Description: Ubuntu 12.04.2 LTS
  Release: 12.04

  $ apt-cache policy gnome-terminal
  gnome-terminal:
    Installed: 3.4.1.1-0ubuntu1
    Candidate: 3.4.1.1-0ubuntu1
    Version table:
   *** 3.4.1.1-0ubuntu1 0
          500 http://it.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1161941/+subscriptions