lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.28k stars 161 forks source link

Screen failes to refresh when viewing large files when tilda is using a background #92

Closed Ghoughpteighbteau closed 4 years ago

Ghoughpteighbteau commented 10 years ago

This is just a symptom of a more fundemental bug, tilda has some screwy refresh behaviour when the background is on. Using less on a big file is just a reliable way to reproduce it.

Set tilda to have a background, open a big file in less, and scroll down and the refresh will stop working.

A way around this issue is double buffering, but then the background cuts out.

lanoxx commented 10 years ago

Hi,

I cannot reproduce this bug. Can you provide more information? What means large? 200M or more? 1GB, 10GB?

I have double buffering disabled and added a background picture plus transparency of 15%. I does not seem slow to me. I tried with a 200MB file.

Ghoughpteighbteau commented 10 years ago

slow is not the issue, I'm not getting refreshes.

looks like this

It's not about it being slow, and it's not specifically about big files, it's about redraws, and using less on big files is a consistant way to reproduce the issue on my system. I can reproduce the issue just using the console normally, jumping to vim... I can't seem to pin down the exact cause.

switzel commented 9 years ago

I think this is the same issue although it has nothing to do with large files. When I activate compositing and text is overprinted in Tilda, the text below is not cleared, producing gibberish like this:

screenshot

(Here I did a reverse i-search (Ctrl + R) to have Tilda overprint something but it also occurs for the progress percentages during and apt-get install for instance.) It is hard to say whether the error is in Tilda or in Compiz. I am using a freshly installed Mate 15.04. As far as I can tell, to reproduce you only need to install Mate 15.04, enable software compositing window manager and have Tilda overprint some text.

[edit:] when I wrote Mate 15.04 I meant Ubuntu Mate 15.04, so an entirely fresh system.

lanoxx commented 9 years ago

I think its unlikely that this bug is caused by tilda it self. It is more likely that is caused by either the VTE library which is responsible for rendering the terminal or compiz. What about gnome-terminal? Does it have the same issues too?

switzel commented 9 years ago

No, gnome-terminal doesn't have the same issue.

On 19.05.2015 11:07, Sebastian Geiger wrote:

I think its unlikely that this bug is caused by tilda it self. It is more likely that is caused by either the VTE library which is responsible for rendering the terminal or compiz. What about gnome-terminal? Does it have the same issues too?

switzel commented 9 years ago

lanoxx,

Supporting your assessment that this is not an tilda issue, I noticed the following: if my laptop is connected to power supply then the problem doesn't occur. So it must be affected by power management and thus is probably related to hardware rendering (?). Still, do you maybe have an idea where to start looking for the problem?

switzel commented 9 years ago

I only just realized, that I wasn't actually using Compiz but Marco, and that the problem disappears with Compiz. So that answers the question where to start looking. I will write to the Marco-developers.

lanoxx commented 4 years ago

Closing this since its and old issue, the background feature has long been removed and this seemed to be window manager related anyway.