[Users] [Bug 4450] New: Double-buffer row drawing in gtkcmctree

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Mar 1 08:52:43 CET 2021


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4450

            Bug ID: 4450
           Summary: Double-buffer row drawing in gtkcmctree
           Product: Claws Mail
           Version: 3.17.8
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: UI
          Assignee: users at lists.claws-mail.org
          Reporter: jonathan.n.boeing at gmail.com

Created attachment 2181
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2181&action=edit
Double-buffer row drawing in gtkcmctree

Here's a patch to double-buffer cairo drawing in draw_row() in
src/gtk/gtkcmctree.c  It fixes the slowness seen when redrawing the folder tree
with cairo > 1.10 on Windows.  It also improves the occasionally visible
flickering in the folder tree on Linux and Windows with older versions of
cairo.

Originally, cairo_t *cr was the cairo context for drawing directly to hardware.
 With this patch, the context for drawing to actual hardware is now cairo_t
*cr_hw.  cairo_t *cr has been repurposed for drawing to an in-memory cairo
image surface.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list