Bug 632377

Summary: sw_single: package count in the filters box not correct if user disables "Options > Show devel packages" (gtk)
Product: [openSUSE] openSUSE 11.3 Reporter: Forgotten User h13THG8RK1 <forgotten_h13THG8RK1>
Component: YaST2Assignee: Forgotten User h13THG8RK1 <forgotten_h13THG8RK1>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: badshah400, forgotten_h13THG8RK1
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: maint:released:11.3:35708
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs

Description Forgotten User h13THG8RK1 2010-08-18 14:14:59 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pt-PT; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Ant.com Toolbar 2.0.1 Firefox/3.6.8

The package count in the filter boxes changes after you make a selection. Screenshots reproducing the bug follow.

1. Consistent behaviour:
http://yast2-gtk.googlegroups.com/web/Screenshot-Software+Manager+-+YaSTA.png

2. Inconsistency between Status and Category filters:-
http://yast2-gtk.googlegroups.com/web/Screenshot-Software+Manager+-+YaSTB.png

3. Inconsistency within the Category filter:-
http://yast2-gtk.googlegroups.com/web/Screenshot-Software+Manager+-+YaSTC.png

Mailing list thread:
http://groups.google.com/group/yast2-gtk/browse_thread/thread/35e277e2ce1f5a58

Reproducible: Always
Comment 1 Forgotten User h13THG8RK1 2010-08-18 14:35:01 UTC
Importance: Minor -> Normal

If it affects only the package counts, it would be only a cosmetic thing. But it's probable that this also affects the initial package list. So, if an user looks for a package without using a filter (unusual that may be), then he may not find the package he is looking for, when it should be there.
Comment 2 Forgotten User h13THG8RK1 2010-08-22 15:04:10 UTC
Atri, could you attach (as root):  save_y2logs y2logs.tgz

Your list of repositories will be included there. (I wasn't able to reproduce it by adding a couple of the community repositories.)
Comment 3 Atri Bhattacharya 2010-08-22 20:46:17 UTC
Created attachment 384663 [details]
y2logs

Hi!
I have attached the files you asked for. And also here's the list of repositories I am subscribed to as well

#  | Alias                           | Name                              | Enabled | Refresh | URI                                                                        
---+---------------------------------+-----------------------------------+---------+---------+----------------------------------------------------------------------------
1  | GNOME_Apps                      | GNOME_Apps                        | No      | Yes     | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_11.3/       
2  | badshah400                      | badshah400                        | Yes     | Yes     | http://download.opensuse.org/repositories/home:/badshah400/openSUSE_11.3/  
3  | download.opensuse.org-Education | openSUSE BuildService - Education | Yes     | Yes     | http://download.opensuse.org/repositories/Education/openSUSE_11.3/         
4  | download.opensuse.org-games     | openSUSE BuildService - Games     | Yes     | Yes     | http://download.opensuse.org/repositories/games/openSUSE_11.3/             
5  | download.opensuse.org-standard  | Main Repository (Contrib)         | Yes     | Yes     | http://download.opensuse.org/repositories/openSUSE:/11.3:/Contrib/standard/
6  | download.videolan.org-SuSE      | VideoLan Repository               | No      | Yes     | http://download.videolan.org/pub/videolan/vlc/SuSE/11.3/                   
7  | openSUSE-11.3_11.3-1.82         | openSUSE-11.3 11.3-1.82           | No      | No      | dvd:///?devices=/dev/sr1                                                   
8  | packman.inode.at-suse           | Packman Repository                | Yes     | Yes     | http://packman.inode.at/suse/11.3/                                         
9  | repo-debug                      | openSUSE-11.3-Debug               | No      | Yes     | http://download.opensuse.org/debug/distribution/11.3/repo/oss/             
10 | repo-non-oss                    | openSUSE-11.3-Non-Oss             | Yes     | No      | http://download.opensuse.org/distribution/11.3/repo/non-oss/               
11 | repo-oss                        | openSUSE-11.3-Oss                 | Yes     | No      | http://download.opensuse.org/distribution/11.3/repo/oss/                   
12 | repo-source                     | openSUSE-11.3-Source              | No      | Yes     | http://download.opensuse.org/source/distribution/11.3/repo/oss/            
13 | repo-update                     | openSUSE-11.3-Update              | Yes     | Yes     | http://download.opensuse.org/update/11.3/
Comment 4 Forgotten User h13THG8RK1 2010-08-22 23:44:22 UTC
Still could not reproduce this one on a fresh opensuse install. But when going back to another opensuse machine, I could reproduce the bug from the let-go.

It turns out it acts weird when show-devel or show-debug has been de-selected by the user.

Sent the code to Factory.
Comment 5 Atri Bhattacharya 2010-08-23 14:44:46 UTC
Thanks Ricardo for all the hard work. Now I will take up the easy work and submit all the fixes into the updates channel this week :)
Comment 6 Swamp Workflow Management 2010-09-28 10:06:02 UTC
Update released for: yast2-gtk, yast2-gtk-debuginfo, yast2-gtk-debugsource
Products:
openSUSE 11.3 (debug, i586, x86_64)