[Bug 1162143] New: [Build 20200128] User need to re-select package version in case wanted version is already pre-selected
http://bugzilla.suse.com/show_bug.cgi?id=1162143 Bug ID: 1162143 Summary: [Build 20200128] User need to re-select package version in case wanted version is already pre-selected Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: riafarov@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 828585 --> http://bugzilla.suse.com/attachment.cgi?id=828585&action=edit Screenshot ## Description This case was discovered during test of retracted packages, where is crucial. So in case retracted package (or any other package is installed), when opening versions tab, depending on the repo priority we might have other version being pre-selected. And if it differs from the currently installed version, yast module will just exit. To make it work, user has to install any other version and then again the one being pre-selected. See the screenshot in the attachment for better understanding. ## Steps to reproduce 1. Add http://download.opensuse.org/repositories/openSUSE:/Maintenance:/11749/openS... repo and install retracted version of the package named "hello" 2. Open yast sw_single module 3. Retracted installed package hello is shown 4. Non-retracted version is pre-selected from OSS repo 5. Press Accept button 6. Module just exits, no action performed Expected result: selected version of the package is installed and replaces retracted version. NOTE: issue is there both for qt and ncurses version of the package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c1
--- Comment #1 from Rodion Iafarov
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c2
Ancor Gonzalez Sosa
http://bugzilla.suse.com/show_bug.cgi?id=1162143
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162143
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c3
--- Comment #3 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c4
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c5
--- Comment #5 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c6
--- Comment #6 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c7
--- Comment #7 from Rodion Iafarov
To clarify some more:
The behavior to have a candidate version that is not the same as your installed version is perfectly normal. Normally, the latest version is also the candidate version; a retracted version, however, will never be a candidate version (libzypp / libsolve make sure of that).
Just because there is a different version that is considered the candidate version does not mean that the package selector automatically upgrades (or downgrades) to that version; you still need to do that manually if you wish to upgrade.
To see this, just do "zypper refresh", start the Qt package selector, select the "Installation Summary" view, make sure the "Keep" status is checked on the left side and sort for column "Installed (Available)". All blue versions have a newer version available. Click on any of them and switch to the "Versions" details view. You will see that every single of those blue packages has a different version preselected than is installed; those are the candidates that you will get when you choose to upgrade. But it will not set those blue packages to "Upgrade" if you don't tell it to do that.
This behavior is perfectly normal and absolutely desired.
Main point is that current behavior is not obvious. In ncurses it's even more confusing as we have unnamed column with x in it and then status, e.g. `i` for installed. I would expect that they select same version of the package when user has selected it, if not, then it should do what it shows in the UI. It does neither of two, leaving as it is. In qt at least we have installed version being shown as label, but that's also confusing as it appears like there is another version in the main repo, even though it's same version. So in case you disagree, that it might be confusing for the customers, we can leave it as invalid and I guess we can also stop wasting your time and not raise such issues in future as 99% of UX issues are ignored with similar arguments. You don't need to explain how we can make it work, and there are zypper coomands. I didn't use this module much, but I can tell you that when I expected some change and window got simply closed, so I had to start all over, wasn't best experience. If it's desired that way - we can improve it with minor changes. So, as stated above, if there is no interest in such feedback (and I don't know better place than bugzilla for such discussions), we won't waste your time on explaining how it's desired to work and raise only functional issues. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c8
--- Comment #8 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1162143
http://bugzilla.suse.com/show_bug.cgi?id=1162143#c9
--- Comment #9 from Stefan Hundhammer
participants (1)
-
bugzilla_noreply@novell.com