Bugzilla – Bug 513242
Software Mgmt. "Size" Column Can't Be Resized to Display All Content
Last modified: 2009-07-20 18:35:50 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042700 SUSE/3.0.10-1.1 Firefox/3.0.10 In KDE 4.2.90 (Beta 2) I am trying to resize the size column in yast to make it readable, but I can't seem to make it work. The problem is there is no way to grab the "right" side of the 'size' column and expand it to make the contents fully visible. Currently the size is "chopped" off for many packages: http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/yast-size-column-2.jpeg http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/yast-size-column-still-small.jpeg There is no question about it, this is a "size" column issue. All other columns behave properly, but not the size column. Try this: Move the size column in between the "Summary" and "Installed (Available)" columns by just left-clicking (and hold) and dragging the column header to the left. Now try and put the pointer between the "Size" and "Installed (Available)" column to get a double-arrow cursor ... You can't. Now take and put the pointer on the right of any other column (including the "Installed (Available)" column which is now the rightmost column). You get the double-arrow and can resize every other column except the "size column". It seems that there is some type of qt column restriction on the "size" column that isn't set on any of the others. Reproducible: Always Steps to Reproduce: 1. Open Yast SW Mgmt 2. Choose "Repositories" to get a package list (anything else will do) 3. Try your heart out to resize the "Size" columnt Actual Results: You cannot resize the size column to make all text visible Expected Results: You should be able to resize the size column to make all text visible
Created attachment 298159 [details] Software manager without the left panel
Created attachment 298160 [details] Software manager with the left panel
This may help: zypper says I have the latest version of yast2 installed and when I updated, it did pull in all the dependent packages. Checking, zypper says: [20:49 alchemy:/usr/lib64/jvm] # zypper up yast2 Loading repository data Reading installed packages No update candidate for 'yast2' Resolving package dependencies Nothing to do Here is my yast package list: 18:33 alchemy:~> rpm -qa | grep yast yast2-irda-2.16.1-25.1 yast2-security-2.16.1-16.1 yast2-users-2.16.33-6.1 yast2-ycp-ui-bindings-2.18.5-1.6 yast2-scanner-2.16.10-13.1 yast2-tv-2.16.6-7.1 yast2-network-2.16.48-3.1 yast2-control-center-gnome-2.13.3-11.1 yast2-libyui-2.18.7-1.4 yast2-update-2.18.5-1.1 yast2-ntp-client-2.16.9-11.1 yast2-sysconfig-2.16.0-28.1 yast2-repair-2.16.12-4.1 yast2-inetd-2.16.0-27.1 yast2-storage-2.18.12-1.2 yast2-slp-2.16.0-25.1 yast2-hardware-detection-2.16.1-49.1 yast2-x11-2.15.12-15.1 yast2-restore-2.16.2-26.1 yast2-mail-2.16.6-2.1 yast2-trans-en_US-2.16.9-1.1 yast2-http-server-2.16.9-10.1 yast2-qt-2.18.6-1.4 yast2-core-devel-2.18.11-1.1 yast2-firewall-2.16.2-25.1 yast2-bootloader-2.16.20-0.1 yast2-add-on-2.16.8-6.1 yast2-storage-lib-2.18.12-1.2 yast2-core-2.18.11-1.1 yast2-installation-2.18.15-1.2 yast2-theme-openSUSE-2.16.38-2.1 yast2-perl-bindings-2.16.7-14.1 yast2-nfs-client-2.16.1-26.1 yast2-tune-2.16.2-2.1 yast2-online-update-2.16.15-6.1 yast2-sudo-2.16.1-27.1 yast2-qt-pkg-2.18.9-1.1 yast2-pkg-bindings-2.18.5-1.1 yast2-devel-doc-2.18.16-1.1 yast2-transfer-2.16.1-76.1 yast2-kerberos-client-2.16.11-9.1 yast2-samba-client-2.16.9-3.1 yast2-registration-2.16.7-4.1 yast2-samba-server-2.16.3-15.1 yast2-printer-devel-doc-2.16.32-3.1 yast2-qt-graph-2.18.4-2.4 yast2-ncurses-pkg-2.18.4-1.2 yast2-dns-server-2.18.3-1.8 yast2-trans-stats-2.15.0-87.1 yast2-apparmor-2.16.4-4.1 yast2-ldap-2.16.0-52.1 yast2-ldap-client-2.16.16-6.1 yast2-packager-2.18.8-1.1 yast2-theme-openSUSE-Crystal-2.18.3-1.1 yast2-branding-openSUSE-2.18.0-1.1 yast2-runlevel-2.16.5-15.1 yast2-iscsi-client-2.16.14-6.1 yast2-control-center-2.16.2-11.1 yast2-nis-server-devel-doc-2.16.4-22.1 yast2-mouse-2.18.0-1.10 yast2-pam-2.16.2-17.1 yast2-support-2.16.1-6.1 yast2-printer-2.16.32-3.1 yast2-libyui-devel-2.18.7-1.4 yast2-2.18.16-1.1 yast2-xml-2.16.1-14.1 yast2-nis-client-2.16.3-6.1 yast2-online-update-frontend-2.16.15-6.1 yast2-control-center-qt-2.16.2-11.1 yast2-vm-2.16.5-7.1 yast2-metapackage-handler-0.8.5-16.1 yast2-network-devel-doc-2.16.48-3.1 yast2-nis-server-2.16.4-22.1 yast2-qt-devel-2.18.6-1.4 autoyast2-installation-2.18.5-1.2 yast2-country-data-2.16.26-6.1 yast2-sound-2.16.11-6.1 yast2-country-2.16.26-6.1 yast2-profile-manager-2.16.1-27.1 yast2-backup-2.16.6-0.1 yast2-devtools-2.16.8-19.1 yast2-ncurses-2.18.10-1.1 yast2-ycp-ui-bindings-devel-2.18.5-1.6 I get the same results with either libqt4-4.5.1-47.1 or libqt4-4.5.1-2.1.
This bug does occur on my system. The size column is fixed at 9 characters which would be fine if the suffix was KB, MB or GB but when this was changed to KiB, MiB and GiB an extra space is needed in the size cell to display values > 999 and < 1024. It should be easy to fix for someone who knows their way around qt pkg.
Created attachment 299667 [details] David Rankins qt software management ui with 8 character size column
*** Bug 508807 has been marked as a duplicate of this bug. ***
duplicate of bug 441828 *** This bug has been marked as a duplicate of bug 441828 ***
I've reopened this bug as it addresses the size column only whereas bug 441828 addresses the size of all the columns initially. I have altered yast2-qt-pkg's YQPkgList.cc initialization of the size column and will post a patch. Meanwhile David Rankin can get the modified version, which I've used for a couple of days from :- http://download.opensuse.org/repositories/home:/plater:/yast2qt/openSUSE_Factory/ A word of caution, don't use any of the other packages that I had to build in order to build yast2-qt-pkg.
Created attachment 304678 [details] patch for YQPkgList.cc to fix the size column My first patch I would like to know if it works.
Ignore Comment #9. As part of the process of becoming a more useful contributor I am using the process of submitting this patch to factory via build service as a learning exercise.
Made submit request to YaST:Head yast2-qt-pkg-2.18.9-fxszcol.patch
The patch in bug 441828 works very well and I think that is the best end result.