Bug 395115 - Qt packager doesn't remember the repository selected to install from
Summary: Qt packager doesn't remember the repository selected to install from
Status: RESOLVED DUPLICATE of bug 384253
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: RC 1
Hardware: Other Other
: P2 - High : Minor (vote)
Target Milestone: ---
Assignee: Duncan Mac-Vicar
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 15:36 UTC by Lukas Ocilka
Modified: 2008-07-17 15:02 UTC (History)
1 user (show)

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


Attachments
YaST log (68.03 KB, application/octet-stream)
2008-05-28 15:37 UTC, Lukas Ocilka
Details
Package selected for installation (60.51 KB, image/png)
2008-05-28 15:38 UTC, Lukas Ocilka
Details
Selected another repository (77.99 KB, image/png)
2008-05-28 15:39 UTC, Lukas Ocilka
Details
Selected another package (77.05 KB, image/png)
2008-05-28 15:39 UTC, Lukas Ocilka
Details
Selected the previous package (78.18 KB, image/png)
2008-05-28 15:41 UTC, Lukas Ocilka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ocilka 2008-05-28 15:36:47 UTC
I had the very same version of MozillaFirefox-translations in DVD and HTTP repository. Selected the package for installation and switched the repository to install from to HTTP-based repo (they have both the very same priority "default"). Clicking on another package and then back to the MozillaFirefox-translations shows that the DVD repo is selected again instead of HTTP.

When I selected it again (HTTP) and clicked [Accept] to install it, the HTTP source was used. So, is that just an UI problem?
Comment 1 Lukas Ocilka 2008-05-28 15:37:32 UTC
Created attachment 218663 [details]
YaST log
Comment 2 Lukas Ocilka 2008-05-28 15:38:56 UTC
Created attachment 218664 [details]
Package selected for installation
Comment 3 Lukas Ocilka 2008-05-28 15:39:30 UTC
Created attachment 218665 [details]
Selected another repository
Comment 4 Lukas Ocilka 2008-05-28 15:39:53 UTC
Created attachment 218666 [details]
Selected another package
Comment 5 Lukas Ocilka 2008-05-28 15:41:15 UTC
Created attachment 218667 [details]
Selected the previous package

See that the VERSION tab shows the initial repository, not the one I selected before.
Comment 6 Lukas Ocilka 2008-05-28 15:45:58 UTC
Of course, if there are different versions in each repository, the selected version/repository is diplayed correctly...

But from user's point of view, the repository selected should remain.
Comment 7 Stefan Hundhammer 2008-05-29 09:32:12 UTC
Repositories are handled in libzypp and (to a very small extent) by the YCP code in yast2-packager (initializing / activating / deactivating etc. repositories). The UI just displays the data and allows you to change the status of packages.
Comment 8 Duncan Mac-Vicar 2008-05-29 12:57:31 UTC
I think we are all clear that the user interface will be always innocent of any strange behavior.

The real issue here is solving the problem. I guess Selectable::candidate is not taking in count priorities, and that's all, or?
Comment 9 Michael Andres 2008-06-09 12:43:28 UTC
No. Once the UI explicitly selects one of the available packages as user candidate, it must not be reset. 

If e.g. the solver wants to select an other instance of this package, a conflict has to be created. If the UI does not reset the candidate to NULL (use default), the above screen shots indicate an error.
Comment 10 Michael Andres 2008-07-17 15:02:02 UTC

*** This bug has been marked as a duplicate of bug 384253 ***