After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 440475 - Display glitch with transparent backgroud
Display glitch with transparent backgroud
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.16.x
Other Linux
: Normal normal
: ---
Assigned To: Chris Wilson
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-22 15:11 UTC by Sebastien Bacher
Modified: 2007-05-23 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Clear the entire repainted region (1.53 KB, patch)
2007-05-22 16:17 UTC, Chris Wilson
committed Details | Review

Description Sebastien Bacher 2007-05-22 15:11:28 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/vte/+bug/113878

"Binary package hint: gnome-terminal

Hi

I have transparent backgroud set to something like 75%. Execute the following code:
  $ echo 1; echo 2
I obtain the lines
  1
  2
but the background of the 2 and some whitespace following it is blank, not transparent. If I drag another window over the terminal window, it now paints correctly the backgrounf in transparent.
...
libvte9 1:0.16.1-0ubuntu1
...
http://librarian.launchpad.net/7739973/bug-1.png
I reproduced steps of the bug. Second shot.
..."
Comment 1 Chris Wilson 2007-05-22 16:17:34 UTC
Created attachment 88625 [details] [review]
Clear the entire repainted region

Take 1 - it works, but unfortunately it means that my assumptions about the interactions between expand_region and paint_area are invalid. Ouch.
Comment 2 Chris Wilson 2007-05-23 12:32:54 UTC
I've applied the patch as it is the correct thing to do, however there is room for improvement in the code.

r1895: 2007-05-23  Chris Wilson  <chris@chris-wilson.co.uk>

	Bug 440475 – Display glitch with transparent backgroud

	* src/vte.c (vte_terminal_paint_area):
	    Apply the band-aid fix to clear the area that's about to be
	    repainted. The full solution will to be ensure that the regions
	    after expansion are cell-aligned.