Re: Why Balsa is so slow ? and other remarks



Hi,

  AFAIK Balsa uses the following construct to display messages: A scrolled 
window containing a paned window containting text widgets. IIRC the paned 
is not aware of scrollbars, so a viewport is used. This may cause all panes 
to be rendered completely every time something is updated, and then only 
the visible portion is copied from the offscreen drawable to the visible 
area. That would explain the slow scrolling on pixmap themes.

Unfortunately there is no elegant solution that would preserve the look and 
feel as it is today, at least not in gtk 1.2.

The HTML scrollbar fix posted here some months ago could be used to verify 
this theory; slow scrolling should be gone with it applied because it adds 
a scrolled window around the text widget, which is, of itself, scroll-aware.

Melanie



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