Bug#747566: synaptic: Filtered list rendered incorrectly after refresh

2014-05-11 Thread Scott Talbert

On Sat, 10 May 2014, Michael Vogt wrote:


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 for the fast response!

Confirmed - this patch resolves the issue.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#747566: synaptic: Filtered list rendered incorrectly after refresh

2014-05-10 Thread Michael Vogt
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  libc62.18-5
 ii  libcairo-gobject21.12.16-2
 ii  libcairo21.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-91: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-10.105-5
 ii  rarian-compat  0.8.1-5
 
 Versions of packages synaptic suggests:
 ii  apt-xapian-index 0.46
 pn  deborphannone
 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 +
+++ gtk/rgmainwindow.cc	2014-05-10 20:00:10 +
@@ -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) {



Bug#747566: synaptic: Filtered list rendered incorrectly after refresh

2014-05-09 Thread Scott Talbert
Package: synaptic
Version: 0.81.1
Severity: normal

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

-- 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  libc62.18-5
ii  libcairo-gobject21.12.16-2
ii  libcairo21.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-91: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-10.105-5
ii  rarian-compat  0.8.1-5

Versions of packages synaptic suggests:
ii  apt-xapian-index 0.46
pn  deborphannone
pn  dwww none
pn  menu none
pn  software-properties-gtk  none
ii  tasksel  3.20

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org