[Bug 390471] New: Yast2 package manager exits when trying to install a package
https://bugzilla.novell.com/show_bug.cgi?id=390471 Summary: Yast2 package manager exits when trying to install a package Product: openSUSE 11.0 Version: Factory Platform: i686 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: timlee@novell.com QAContact: jsrain@novell.com Found By: Integration Test Created an attachment (id=215310) --> (https://bugzilla.novell.com/attachment.cgi?id=215310) yast2 log files - Clean install of build 111/beta3 of opensuse 11 in a vmware vm, with default gnome package set. - after first boot of OS ran command: `yast2 sw_single` - In the Package Selection window entered 'zoo' in the filters field. - In the list of packages clicked on the zoo package so that it was highlighted. - In the Available selection list 'Main Rep..ory (OSS)' was selected - Clicked on Apply button - The Package Selection window closed almost immediately, a couple of other windows briefly flashed by (too fast to see what they said), then all windows had closed. - The yast2 command had exited with a 0 exit code, however zoo was not installed # rpm -V zoo package zoo is not installed - output in terminal # yast2 sw_single (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed (y2base:1661): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User timlee@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c1 --- Comment #1 from Tim Lee <timlee@novell.com> 2008-05-14 14:55:34 MST --- Created an attachment (id=215314) --> (https://bugzilla.novell.com/attachment.cgi?id=215314) zypper log file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User timlee@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c2 Tim Lee <timlee@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Normal Summary|Yast2 package manager exits when trying to |YaST2 package manager UI obscures how to install |install a package |packages --- Comment #2 from Tim Lee <timlee@novell.com> 2008-05-14 15:46:33 MST --- Hmm I see now, you have to right click on the package and select Install from the popup menu. OK I think that is so unintuative that there is no way most customers are going to figure it out. So I'm leaving this bug open and changing the summary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mmeeks@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c3 Michael Meeks <mmeeks@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rpmcruz@alunos.dcc.fc.up.pt --- Comment #3 from Michael Meeks <mmeeks@novell.com> 2008-05-15 03:47:33 MST --- Agreed :-) I too couldn't work out how to install things - and didn't notice the "Install" icon button on the bottom right until hunting for it. Ricardo - any chance of a bigger "install" button somewhere more visible ? Can we put it beside the Filter combo ? perhaps with three icon: install, update, remove - make them always visible - and change their sensitivity as we go [ can be duplicate icons perhaps ? ] - the Gnome HIG suggests not hiding & showing the UI as much as possible, but de-sensitising it appropriately. Another thing that would be extremely helpful [I think], would be to make the existing buttons insensitive when there is nothing selected - such that when someone clicks on one - at least the existing icon changes to sensitive - alerting people that something is now possible :-) I played with the latter suggestion: --- src/YGPackageSelector.cc (revision 47549) +++ src/YGPackageSelector.cc (working copy) @@ -1606,6 +1606,10 @@ void setPackages (const PkgList &packages) { m_packages = packages; + + gtk_widget_set_sensitive (m_installed_box, !packages.empty()); + gtk_widget_set_sensitive (m_available_box, !packages.empty()); + if (packages.empty()) return; The problem is that the information in the bottom PackageControl can get stale - since it's not flushed / hidden on package de-selection (as we see above). Perhaps a solution would be to switch the layout: put the action buttons on the left side of the package description (so the eye sees them first) - and add move the action items to the left side too. Perhaps also replacing the version combo-button with a "click to install" type button would work - or even making the install button bigger ? :-) Another useful hint here I think would be to de-sensitise the "Apply" button when there is no transaction - that should alert people to the fact that they need to do something more I guess :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User rpmcruz@alunos.dcc.fc.up.pt added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c4 --- Comment #4 from Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> 2008-05-16 12:35:05 MST --- (In reply to comment #3 from Michael Meeks)
The problem is that the information in the bottom PackageControl can get stale - since it's not flushed / hidden on package de-selection (as we see above).
Some reporter asked for it. Well, he didn't want it to get hidden... I guess we can change that, but that solution isn't good at all, because e.g. we don't set the available field insensitive if there is no package available in the repositories. We just hide it, so we'd have to change that as well. And we should clear the descriptions. I'd love to change the interface to the reporter's liking; unfortunately, we are in the Beta stage of development, so that's not possible. :P But seriously, graying out the Apply button until we have some changes sounds cool, and I guess that would remove any distraction it presents. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|YaST2 package manager UI obscures how to install|yast-gtk package manager UI obscures how to |packages |install packages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User rpmcruz@alunos.dcc.fc.up.pt added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c5 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sanfordarmstrong@gmail.com --- Comment #5 from Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> 2008-05-17 19:10:12 MST --- *** Bug 391413 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=391413 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c6 --- Comment #6 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-18 08:51:29 MST --- *** Bug 391417 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=391417 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c7 --- Comment #7 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-18 09:00:03 MST --- Users who are savvy enough to report bugs are not able to figure out how to use yast2 to install software in openSUSE 11. This sets of big alarm bells in my mind! I understand the time constraints of being in beta, etc...but this is a huge usability bug for the distribution. Can *any* of the following be done before the final release? * Gray out Apply button, as mentioned * Add text label to Install button I'm really disappointed that this is labeled as a run-of-the-mill Enhancement bug with no particular priority. If patches were provided would it help to move things along before the final release? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sontek@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c8 John Anderson <sontek@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sontek@gmail.com --- Comment #8 from John Anderson <sontek@gmail.com> 2008-05-18 13:27:07 MST --- I also consider this a major flaw/bug and not an enhancement. The most important feature of yast-gtk is to install packages and that is the one feature that is hidden and difficult to find/use. Please fix this before 11.0 is released. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c9 --- Comment #9 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-18 17:04:36 MST --- Created an attachment (id=216267) --> (https://bugzilla.novell.com/attachment.cgi?id=216267) Patch to add label to Install button and conditionally enable Apply button This fixes the two big issues I have related to this bug: 1) When yast starts the Apply button is disabled...at that point its sensitivity is determined based on whether or not the Changes box is shown. 2) The Install button is labeled. I labeled it with "Install" to match the tooltip, but perhaps "Mark for Install" or "Add" may be better? The hacky part of this patch is that it gives access to the YGtkWizard to the PackageSelector, so that the PackageSelector can control the enabled state of the Apply button. I could have done this with signals instead but I wanted to get a working patch in. This is my first time looking at yast source code, so I apologize in advance for obvious blunders. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c10 --- Comment #10 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-18 17:18:19 MST --- The patch was taken from the yast/gtk directory. Sorry about that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c11 Sanford Armstrong <sanfordarmstrong@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #216267|0 |1 is obsolete| | --- Comment #11 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-18 17:30:05 MST --- Created an attachment (id=216268) --> (https://bugzilla.novell.com/attachment.cgi?id=216268) Updated patch, fixes Apply button icon The previous patch had a problem with the appearance of the Apply button icon (it always appeared disabled). This updated patch fixes it by disabling the button *after* the label (and icon) is set. Patch is now taken from the top-level yast directory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sshaw@decriptor.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c12 --- Comment #12 from Stephen Shaw <sshaw@decriptor.com> 2008-05-18 17:34:14 MST --- The yast installer/package management has always been a sore spot for lots of linux guys looking at opensuse. This doesn't seem like a big deal to fix and some one has already submitted a patch. Its not like opensuse is supper solid right now anyways. If I remember correctly 10.3 was pretty broken right up until the end, so not sure why we are worried about adding a patch that would make it even better for new users, and users in general. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c13 --- Comment #13 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-18 18:00:15 MST --- Don't want to waste everyone's bandwidth, but you can see before/after here: http://armstrong-clan.net/yast-comparison.png -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c14 --- Comment #14 from Michael Meeks <mmeeks@novell.com> 2008-05-19 02:58:03 MST --- Nice patch Sanford :-) I love the _("Install") string - but adding a new string at this stage is going to be somewhat problematic translation-wise (I suspect): that is, unless we can steal a translation [ and perhaps an accelerator keybinding with it (?) ;-] from somewhere else. I'm still tempted to add the 3x icons for install/update/remove beside the repo combo-box anyway - just for good measure; But I'll commit your patch now; thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c15 --- Comment #15 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-19 11:23:35 MST --- Your update works great for me, Michael. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User sanfordarmstrong@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c16 --- Comment #16 from Sanford Armstrong <sanfordarmstrong@gmail.com> 2008-05-21 18:30:04 MST --- Oh dear, obvious bug in this...now the button says "Install" even in the Upgrades and Installed view. It should change to whatever the tooltips for the button are in those views (probably "Upgrade" and "Re-install"). And, as Michael mentioned, the Remove button also needs some text. I would fully support Michael's idea of having three buttons all of the time, conditionally enabled. Adds predictability. Unfortunately I have no time to work on this right now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User rpmcruz@alunos.dcc.fc.up.pt added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c17 --- Comment #17 from Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> 2008-05-23 10:52:41 MDT --- I reverted to the buttons code when we had labels on them... If we want to change the layout from vertical to horizontal, as was the case now, we should just apply that in top of this code... An interesting thing to do I think would be to transform the versions controls depending on the area the user allocated to them moving the pane handle... Since the user already selected the "available", or "installed" view, then we know which versions he is interested in, and we can adapt our defaults accordingly. We could contract into a notebook or some button scheme, possibly looking like expanders or something... Possibly, we could put installed and available as entries to a common combo... I guess we could also save space by simply getting rid of the "Installed:", "Available:" labels, in alternative for icons that we would position to the side... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=390471 User rpmcruz@alunos.dcc.fc.up.pt added comment https://bugzilla.novell.com/show_bug.cgi?id=390471#c18 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #18 from Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> 2008-06-03 20:27:05 MDT --- I guess we'll close it now, and maybe re-open if you guys have more suggestions to improve on the current situation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com