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

gEDA-bug: [Bug 698501] Re: gschem file preview function renders files twice



I can reproduce this with the following patch.

diff --git a/gschem/src/x_preview.c b/gschem/src/x_preview.c
index be76d64..60f88fc 100644
--- a/gschem/src/x_preview.c
+++ b/gschem/src/x_preview.c
@@ -131,6 +131,7 @@ preview_callback_expose (GtkWidget *widget,
   preview_w_current->pl = pango_cairo_create_layout (preview_w_current->cr);
 
   gdk_region_get_rectangles (event->region, &rectangles, &n_rectangles);
+  g_debug ("Preview redraw");
   o_redraw_rects (preview_w_current, rectangles, n_rectangles);
   g_free (rectangles);
 

** Changed in: geda
   Importance: Undecided => Low

** Changed in: geda
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698501

Title:
  gschem file preview function renders files twice

Status in GPL Electronic Design Automation tools:
  Confirmed

Bug description:
  Just a minor observation here...nothing big.

  After opening the "open file" dialog and clicking on a schematic file,
  the preview window to the right renders everything twice.  This is
  quite noticeable on some of my monster schematics...you have to wait
  for it to flash the rendered image two times before you can click on
  another file.

  Maybe the preview code is getting a duplicate signal from the file
  window?  Or maybe this is actually a GTK+ bug in the file chooser
  widget...I'm not sure.

  Cheers--
  Julian

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/698501/+subscriptions


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug