Ticket #442 (closed defect: duplicate)

Opened 13 months ago

Last modified 3 weeks ago

Line disparition

Reported by: ®om Owned by: somebody
Priority: major Milestone: 0.5.0
Component: guake Version: 0.4.2
Keywords: Cc:

Description

I have a file (output of "git status"), where 1 line disappear when I "cat" it in guake (it works in gnome-terminal or xterm).

More stranger: - if I "cat myfile", the line is not present. - if I "less myfile", the line is here. - when I leave less, the line reappears in the output of the previously executed cat command

It the attached file, find the line: # new file: src/com/renault/rlinktweet/loader/Loader.java

This is the line which disappears. If you remove all the line above, it still disappears. If you remove any of the line below, the line appears.

Attachments

status Download (11.1 KB) - added by ®om 13 months ago.
File which make guake bug

Change History

Changed 13 months ago by ®om

File which make guake bug

Changed 13 months ago by ulidtko

I can't quite reproduce this issue. The file you provided looks the same with cat, less, vim, etc. Are you sure that this was not a consequence of some your error? Did you have several different "git status" files?

This kind of failure (i.e. a specific line in a specific file disappearing on output) is highly unlikely to be software failure. The software is not written to fail like that. Look at the  source of the cat program: it just has no chance to skip a line. It can indeed fail: either at the start, not showing any content at all, or somewhere on the way, showing only some part of the content from its beginning. Or showing all the content at once. No possibility to skip a line.

The same goes for libvte. It doesn't do any checks on the plain text content (modulo escape sequences), so if a line would be missing because of the terminal emulation part, that line would be tied to window geometry or something like that, not to a specific line of a specific file.

Same for Guake, it just shapes libvte windows in a usable form, not looking into content.

I encourage you to recheck everything you do very carefully. Then send us detailed instructions on how to reproduce the problem, and screenshots of the problem as it is appearing to you.

Changed 13 months ago by ®om

I can't reproduce at home, but I am absolutely sure of the problem at work.

It was so strange that I took 30 minutes to try to understand, produce the error in a different way (removing or adding lines).

I demoed the problem to several colleagues, reproducing exactly the same steps and asking them to check. So I am sure.

But it is difficult to find why this problem happens...

Changed 13 months ago by ®om

I am at work, I just reproduced the problem once.

So I wanted to make a video (with Ctrl+Alt+Shift+R on gnome-shell). I closed all open apps (to have a clean desktop) and every virtual terminals… and I can't reproduce anymore.

Changed 9 months ago by ®om

I just reproduced the problem (or a similar one). The screenshot if self-explanatory:  http://data.imagup.com/10/1159773680.png

Don't know if it is related: this morning I changed the font of guake from Monospace 9 (or 10, don't remember) to 8.z

Changed 3 weeks ago by Dokan

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.