Re: gnome-terminal madness



On Sun, 2004-05-02 at 20:18, Duraid Madina wrote:
> You can change the speed with which a completely invisible 
> gnome-terminal scrolls text just by resizing it. (!)
> 
> If anyone knows why gdk_pixbuf_new_from_data() and gdk_pixbuf_scale() 
> are being called so much, please let me know! See:
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=137864
> 
        
        About the only visible
        difference is that the gnome-terminal scrollbar has a "jellybean" widget whereas
        rxvt has a simpler 2D scrollbar. (We're not completely redrawing the scrollbar
        once per line scroll, are we?)
        
You should certainly profile with the default gtk theme, not an
expensive pixmap theme. Otherwise you're profiling the theme, not the
terminal. And definitely don't profile with a transparent terminal or
something like that.

The problem here is that your profiler doesn't seem to show call graphs;
if it did you could quickly tell if those pixbuf calls were from the
theme drawing or what.

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]