On Fri, May 09, 2014 at 09:22:44PM -0400, Scott Talbert wrote:
> Package: synaptic
> Version: 0.81.1
> Severity: normal
Thanks for your bugreport.
> Problem originally reported in Ubuntu (#1309369) but reproducible in Debian
> unstable:
>
> 1) Open Synaptic
> 2) (with apt-xapian-index) Search for something in Quick filter
> 3) Choose a package and mark it for changed status
> 4) List refreshes and item count is the same but these are "phantom" items
> from the top of this same listing, but as if it was not filtered
> 5) Move cursor over the list and the real items are revealed
I can reproduce this only sometimes, I think the attached patch fixes
it, it would be great if you (or someone else) could confirm, then I
can push a update to debian and ubuntu.
Thanks,
Michael
> -- System Information:
> Debian Release: jessie/sid
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.14-1-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages synaptic depends on:
> ii hicolor-icon-theme 0.13-1
> ii libapt-inst1.5 1.0.3
> ii libapt-pkg4.12 1.0.3
> ii libatk1.0-0 2.12.0-1
> ii libc6 2.18-5
> ii libcairo-gobject2 1.12.16-2
> ii libcairo2 1.12.16-2
> ii libept1.4.12 1.0.12
> ii libgcc1 1:4.9.0-2
> ii libgdk-pixbuf2.0-0 2.30.7-1
> ii libglib2.0-0 2.40.0-3
> ii libgtk-3-0 3.12.1-1
> ii libpango-1.0-0 1.36.3-1
> ii libpangocairo-1.0-0 1.36.3-1
> ii libstdc++6 4.9.0-2
> ii libvte-2.90-9 1:0.36.1-1
> ii libx11-6 2:1.6.2-1
> ii libxapian22 1.2.17-1
> ii libxext6 2:1.3.2-1
> ii zlib1g 1:1.2.8.dfsg-1
>
> Versions of packages synaptic recommends:
> ii libgtk2-perl 2:1.2491-1
> ii policykit-1 0.105-5
> ii rarian-compat 0.8.1-5
>
> Versions of packages synaptic suggests:
> ii apt-xapian-index 0.46
> pn deborphan <none>
> pn dwww <none>
> pn menu <none>
> pn software-properties-gtk <none>
> ii tasksel 3.20
>
> -- no debconf information
=== modified file 'gtk/rgmainwindow.cc'
--- gtk/rgmainwindow.cc 2014-03-18 19:58:18 +0000
+++ gtk/rgmainwindow.cc 2014-05-10 20:00:10 +0000
@@ -321,6 +321,9 @@
GTK_TREE_MODEL(_pkgList));
}
+ // debian bug #747566
+ gtk_widget_queue_draw(_treeView);
+
#if 0
// set selected pkg to be selected again
if(selectedPkg != NULL) {