Bug 421660 - Software management is automatically closed, when is installation of package finished
Summary: Software management is automatically closed, when is installation of package ...
Status: RESOLVED WONTFIX
: 440066 441329 (view as bug list)
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: x86 Other
: P3 - Medium : Normal with 25 votes (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 20:24 UTC by Rastislav Krupansky
Modified: 2009-12-15 09:36 UTC (History)
12 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2logs (859.50 KB, application/x-gzip)
2008-08-29 20:24 UTC, Rastislav Krupansky
Details
y2logs (2.93 MB, application/x-gzip)
2009-01-24 19:16 UTC, Rastislav Krupansky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rastislav Krupansky 2008-08-29 20:24:36 UTC
Created attachment 236390 [details]
y2logs

Hi.
When is installation of package finished, software management is automatically closed. If i want to continue working with software management, i have to launch it once again.
Attached yast logs.
Comment 1 Ladislav Slezák 2008-09-16 10:43:34 UTC
Um, bug #409171 requested to remove the popup asking for starting the package manager again.

What should be the correct solution? Adding a "Don't ask again" check box so all users can choose the behavior?
Comment 2 Stefan Hundhammer 2008-09-16 11:11:37 UTC
Sure, once you are done with that program, it shuts down. Why not? What's the problem?

We did have that "Install more packages?" pop-up in the past because the startup time was so bad, in particular with all the package management related things. But now that this has become so fast, this is no longer necessary. But quite a number of people were annoyed by that pop-up, so we removed it.
Comment 3 Rastislav Krupansky 2008-09-16 13:07:42 UTC
Related to the bug 409171, i didn´t know you decided to remove it. I agree with comment by Ladislav, the best solution for users is adding the "Don't ask again" check box.
Sometimes i forget to install any package and i have to launch software management again and this is troublesome, although software management is much faster since 11.0.
Comment 4 Stefan Hundhammer 2008-09-16 14:18:36 UTC
Please elaborate: Why is it troublesome to simply start it again?

If you started it from a shell, you can simply use the shell history. If you started it from the YaST control center, that control center should still be open, and it requires a grand total of one click.

Please note that that check box would not be useful: You would never have a second chance to ever see it again if you checked it. Those checkbox pop-ups are useful for warning messages that some users wish to ignore, but not for simple questions like here.
Comment 5 Rastislav Krupansky 2008-09-16 20:33:44 UTC
(In reply to comment #4 from Stefan Hundhammer)
> Please elaborate: Why is it troublesome to simply start it again?

It still running me on the background, on the another virtual desktop. It´s my habit and i´m too lazy to start software management again ;-).
 
> If you started it from a shell, you can simply use the shell history. If you
> started it from the YaST control center, that control center should still be
> open, and it requires a grand total of one click.

I don't start it neither from the shell nor from the YaST control center. I start it directly via the Install software.

Never mind, do as you like. If you want, you can close this bug :-)
Comment 6 Ladislav Slezák 2008-09-17 07:30:48 UTC
I'll keep the current state.
Comment 7 Rastislav Krupansky 2008-10-30 07:01:32 UTC
Sorry, but i must reopen this bug.
I've been testing Alpha and Beta versions for some time already and I still can't get familiar with that - it's really annoying. If i forget to install any package, i have to launch software management again.
I posted new thread, where you can read, what do other users think about it.

http://forums.opensuse.org/pre-release-beta/398565-closing-software-management-after-installation-package.html

I think a lot of people will appreciate, that feature will be back, for example at least with adding "Don't ask again" check box, so all users can choose the behavior.
Fact that launching of software management is quick enough is not a very good argument. 
Why do you want to change habits?
Comment 8 Rastislav Krupansky 2008-10-30 07:02:44 UTC
*** Bug 440066 has been marked as a duplicate of this bug. ***
Comment 9 Stefan Hundhammer 2008-10-30 10:36:53 UTC
Ratislav, we had a number of bugs where users wanted the opposite - get rid of that pop-up and don't ask any questions.

You don't lose any data. Start-up time is quick now. Really, why can't ANYBODY accept decisions being made by the people who have to run after the bugs all the time? Why do those people who don't have to do the work this stuff involves feel they have to second-guess whatever we do?

Restoring old resolution.
Comment 10 Rastislav Krupansky 2008-10-30 10:59:48 UTC
Ok. Just the last note.
If you had a number of bugs where users wanted the opposite, is it possible to  make compromise? For example as is mentioned in comment #3 by Ladislav - adding the "Don't ask again" check box.
Comment 11 Ladislav Slezák 2008-10-30 11:04:31 UTC
Yes, that could be a compromise. But there is a problem: There is no simple way to enable it again once the popup is disabled.
Comment 12 Rastislav Krupansky 2008-10-30 11:15:03 UTC
But it´s still better as nothing
Comment 13 Willem Meens 2008-10-30 15:39:29 UTC
How about the option to implement a two button system like the partitioner uses?

The APPLY (brings you back to the software management after install), and FINISH (closes after install) button.

That seems like both parties are getting what they want... no ' nagging ' pop-up but leaving choice.

Cheers,
  Wj
Comment 14 Stefan Hundhammer 2008-10-30 17:10:45 UTC
Please, let's not make simple things more complex all the time. Those debates tend to result in compromises that everybody hates. I've been there countless times.

Restarting the package selector is just one single mouse click away.
Comment 15 Willem Meens 2008-10-30 18:14:50 UTC
Actually it's looking for a way to keep it simple.. maybe even trying to get each interface in line with one an other.

The fact that something gets removed that some have become accustomed to is sure to get noticed.

One situation where it's very useful to return to the software screen is when applying incremental updates (like zypper needing to be upgraded before other packages can be upgraded) or if wanting to check that updates or different versions might be available, check the changelog of a freshly installed package or just browse for extra modules you need.

I think it's cutting it to short by saying you've been somewhere where others are trying to think and look at the best solution for all.... not all these things end in a hated compromise.

Just my 2cents on that..
Comment 16 Brandon Kruse 2008-10-31 03:39:31 UTC
My thought is that maybe I am updating 20 or so packages @ 100MB. For me thats going to take 5 minutes max, but maybe I am looking online and then notice another program I want to try out, instead of restarting it I waited until it finished and then went back to the same screen. It was just a nice feature for those of us for who use and install software a lot. But whatever, if it's easier to leave it like this I'll get use to it.
Comment 17 Andreas Jaeger 2008-11-06 15:33:09 UTC
*** Bug 441329 has been marked as a duplicate of this bug. ***
Comment 18 piet snot 2008-12-19 09:15:38 UTC
To my mind the disadvantages of the system as it stands now are as follows
- You have to restart the software manager every time you forgot to add something, or found something while the installer was already working. No problem perhaps if you have a speedy system but users on older, slower systems will be suffering as starting the manager is just going to be slower
- This is personal of course, but i lack confidence in the stability of computers and software. Every time the manager ups and vanishes i am left to wonder whether it installed sucesfully or something went wrong. Some post-installation feedback would be desireable i think. It could also offer the posibility of launcing the application where applicable.

The advantage of th system as is:
- One less button to click, half a second saved
Comment 19 Forgotten User UeKe76GBv2 2008-12-21 17:22:24 UTC
I totally agree that software installation procedure should have some sort of exit code (just to make sure that everything went ok). Previously, exiting without confirmation dialog was an abnormal behavior.

And if you have a lot of repos it is very annoying to restart software manager. Couldn't you just add an option to /etc/sysconfig/sw_management which would toggle this behavior back and fort?
Comment 20 Dean Hilkewich 2008-12-21 21:20:13 UTC
This behavior is extremely annoying especially when your trying to compile something that requires libraries to be installed. It was much handier to run your ./configure with yast open and then add libraries as needed to complete the configure. Instead of just removing the "Do you want to add more packages" dialog they should have made it at least a preference in the Yast Software module to let the user choose the behavior desired.
Comment 21 Forgotten User 87oBmiUsGW 2008-12-21 21:48:24 UTC
(In reply to comment #2 from Stefan Hundhammer)
> Sure, once you are done with that program, it shuts down. Why not? What's the
> problem?
> 
> We did have that "Install more packages?" pop-up in the past because the
> startup time was so bad, in particular with all the package management related
> things. But now that this has become so fast, this is no longer necessary. But
> quite a number of people were annoyed by that pop-up, so we removed it.
> 

You've probably annoyed MORE people getting rid of it, Stefan. I want it back, too. I don't install all my software at once. When I add software, I tend to do it as a package at a time, so I can look at the additional dependencies, etc. I really don't like the current behaviour at all. Please return it. 
Comment 22 Forgotten User 87oBmiUsGW 2008-12-21 21:57:01 UTC
Look, Stefan, I understand that you made the changes and that you don't want to feel that you've either made a mistake, or wasted your time. But you HAVE made a mistake when you thought people didn't value this feature. People do. Some of us don't want to wait while all our repositories are refreshed. (Yes, it's much faster, but just seems such a counter-intuitive thing to do). It shouldn't take a lot of work just to put it back the way it was. Please do that.
Comment 23 Ladislav Slezák 2008-12-22 09:26:46 UTC
For all interested: I will address this problem in 11.2, see bug 431854. (It was originally reported for failed installations, but it will be configurable and can be displayed always.)
Comment 24 will honea 2008-12-23 05:11:53 UTC
Consider the option of two buttons: "Accept- resume when done" and Accept - leave when done".  That's about the most foolproof scheme and involves the least work.  Call the apply function or jump to it.  I really favor the resume ability on some of the old clunkers around here.
Comment 25 Mark Goldstein 2008-12-26 15:52:08 UTC
I was also surprised by this behavior, though I have to admit in some cases in previous version pop-up dialog was annoying. But the re-start time is still noticeable. I'm not sure what will happen if I add more repositories. Will the start time increase?
Why not to have some "configuration" option somewhere to enable/disable exit confirmation?
Comment 26 Dean Hilkewich 2008-12-26 16:25:14 UTC
(In reply to comment #25 from Mark Goldstein)
> I was also surprised by this behavior, though I have to admit in some cases in
> previous version pop-up dialog was annoying. But the re-start time is still
> noticeable. I'm not sure what will happen if I add more repositories. Will the
> start time increase?
> Why not to have some "configuration" option somewhere to enable/disable exit
> confirmation?
> 

That would be the only logical solution that would work for everybody.  Any time a 180 degree change in behavior is wanted it should be left as a user preference, not locked in without any chance of reverting.  This should have never happened, this is basic UI Design 101 stuff.
Comment 27 Ladislav Slezák 2009-01-23 19:49:36 UTC
I just have implemented a configurable solution for those who don't like the default behavior, see details in my mail on opensuse-factory list:

http://lists.opensuse.org/opensuse-factory/2009-01/msg00492.html
Comment 28 Rastislav Krupansky 2009-01-24 19:13:46 UTC
(In reply to comment #27)
> I just have implemented a configurable solution for those who don't like the
> default behavior, see details in my mail on opensuse-factory list:
> 
> http://lists.opensuse.org/opensuse-factory/2009-01/msg00492.html

It doesn't work for me.
Attached y2logs.
Comment 29 Rastislav Krupansky 2009-01-24 19:16:19 UTC
Created attachment 267472 [details]
y2logs
Comment 30 Ladislav Slezák 2009-01-26 12:14:19 UTC
You apparently didn't change the action performed at exit:

2009-01-24 19:58:01 <1> linux-uigx(5805) [YCP] clients/sw_single.ycp:600 PKGMGR_ACTION_AT_EXIT: close

You have to change PKGMGR_ACTION_AT_EXIT variable in /etc/sysconfig/yast2 file either to "restart" (restart the package management after package installation) or to "summary" (display the new summary dialog, use [Back] and [Finish] buttons either to go back to the package management or to exit).

The default is "close" which is the same as in 11.1-final.
Comment 31 Rastislav Krupansky 2009-01-27 05:58:10 UTC
(In reply to comment #30)
> You apparently didn't change the action performed at exit:
> 
> 2009-01-24 19:58:01 <1> linux-uigx(5805) [YCP] clients/sw_single.ycp:600
> PKGMGR_ACTION_AT_EXIT: close
> 
> You have to change PKGMGR_ACTION_AT_EXIT variable in /etc/sysconfig/yast2 file
> either to "restart" (restart the package management after package installation)
> or to "summary" (display the new summary dialog, use [Back] and [Finish]
> buttons either to go back to the package management or to exit).
> 
> The default is "close" which is the same as in 11.1-final.

Yes, you're right. My fault.
Thank you very much.
Comment 32 Mark Goldstein 2009-02-10 07:34:24 UTC
Hello Ladislav,
Will it go into official updates for 11.1 one day? I just tried to install your factory implementation, but it turned out that yast2 is already at version 2.17.59-1.2.13 and yast2-packager is still 2.17.50-1.4. So I probably have to downgrade yast2.
Comment 33 Stanislav Visnovsky 2009-02-10 08:30:30 UTC
(In reply to comment #32)
> Hello Ladislav,
> Will it go into official updates for 11.1 one day?

No, we do not backport features as maintenance update for 11.1.
Comment 34 Ladislav Slezák 2009-02-10 14:54:00 UTC
I have updated my OBS project, now it's in sync with the updates. The packages should be installable now.
Comment 35 Mark Goldstein 2009-02-10 18:44:13 UTC
Ladislav, thanks a lot!
Comment 36 Christian Trippe 2009-12-15 09:36:53 UTC
*** Bug 561829 has been marked as a duplicate of this bug. ***