Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1026122 > unrolled thread

Bug#867667: xsane: Preview window empty/unusable

Started byJozef Riha <jose1711@gmail.com>
First post2020-09-23 12:30 +0200
Last post2020-09-23 12:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#867667: xsane: Preview window empty/unusable Jozef Riha <jose1711@gmail.com> - 2020-09-23 12:30 +0200

#1026122 — Bug#867667: xsane: Preview window empty/unusable

FromJozef Riha <jose1711@gmail.com>
Date2020-09-23 12:30 +0200
SubjectBug#867667: xsane: Preview window empty/unusable
Message-ID<ASaca-5bp-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I am on Arch Linux but affected by the very same issue. There is another
workaround that worked for me:
running with --sync (i. e. xsane --sync)

Looks like the preview window gets created on each startup and then later -
corresponding to settings -
either it's left as is or hidden. Maybe if it's happening too fast (w/o
sync) this leads to corruption.

Quick and dirty semi-solution (certainly not ideal but al least working
100%) is to discard the hiding part (that is:
ignore the setting at startup):

--- xsane.c.orig 2020-09-23 12:14:13.366814683 +0200
+++ xsane.c 2020-09-23 12:14:17.106792054 +0200
@@ -5347,10 +5347,10 @@
   {
     gtk_widget_show(xsane.preview->top);
   }
-  else
-  {
-    gtk_widget_hide(xsane.preview->top);
-  }
+  //else
+  //{
+    //gtk_widget_hide(xsane.preview->top);
+  //}

 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(xsane.show_preview_widget),
xsane.show_preview);

   xsane_define_maximum_output_size(); /* draw maximum output frame in
preview window if necessary */

I do hope someone knowledgeable steps in and prepare a proper fix.

BR, jose

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web