On 2021-11-04 11:14, josef Reidinger wrote:
Challenge: ----------
Libzypp supports parallel download and install. Yast installation progress does not fit it at all [1]. Issues are secondary progress bar that does not work with parallel installation. Also there are overwhelming amount of information on screen that is quite distracting. That information is often wrong like time estimation. And also table for media is a bit useless nowadays as everything is on one iso/medium, so there is no need to see when cd switch will be needed. The details tab are the most visible as it is default one.
Proposal: ---------
Remove completely that details tab and keep just release notes one[2].
Yikes. That will make tracking down problems completely impossible; for us as well as for users. This is not a good idea IMHO. As a user, I want to get a general idea what's going on. More often than not, it's some specific packages that take forever to install; some post-install script building a kernel module, for example. Not having any information about that is a huge step backwards IMHO.
It contains release notes that contain useful information
For some, maybe. Certainly not for everybody.
and also has just one progress bar. For that bar remove keep always just remaining size and count of packages, so user has idea how it does,
That is much too coarse IMHO.
but do not print what exactly is installing or any time estimation. If there are more release notes allow to switch between them.
Also keep possibility to have slide show which we had in past for installation if someone create some
That slideshow seemed like a good idea back in the early 2000s. We had
intended it to show highlights of the distribution that you are
currently installing, to entertain the users (who were installing from
CDs or DVDs back then which took a looong time) and to give them a good
feeling about their new system that they were currently installing.
It took about 7 nanoseconds until that was hijacked by marketing who
misused it to show the user the OTHER products, more or less implying
"duh, you got the wrong one". The idea and spirit behind the slideshow
were dead at that moment, yet we were saddled with that over-complicated
code.
We had to make it over-complicated because of limitations that we had
back then with YCP and the overall YaST engine; but even today it
wouldn't become significantly easier, clearer or better to maintain.
IMHO this is the best opportunity to get rid of that slideshow for good.
It has been in zombie state for many years, yet it was always in the
way.
I propose we could do something similar to what we (Knut and I) did
recently for formatting DASDs:
- One progress bar because that's really the best thing we can do
- Provide a list or several lists of packages
- currently being installed
- finished installing
- waiting to be installed
along with the number in each category, of course.
The DASDformat prototype:
https://github.com/shundhammer/dasdfmt-proto/issues/2
the package installation would look differently, of course; but you can
get some inspirations from here.
I'll happily help with more detailed UI design, but please let's not
dumb this down to the point of becoming useless; and by all means let's
get rid of that slideshow code monster. Nobody asked for it for at least
the past 6 years (probably even for the last 10-12 years); let's bury
that thing for good.
Kind regards
--
Stefan Hundhammer