[Bug 255726] New: Inconsistent display of patterns between proposal and software selection
https://bugzilla.novell.com/show_bug.cgi?id=255726 Summary: Inconsistent display of patterns between proposal and software selection Product: openSUSE 10.3 Version: Alpha 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aj@novell.com QAContact: jsrain@novell.com The pattern dialog and the software module show the patterns in a defined order. The proposal screen does use some other order. I propose to use the same order here as in the pattern dialog for consistency. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255726 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |lslezak@novell.com |screening@forge.provo.novell| |.com | 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255726 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #1 from lslezak@novell.com 2007-03-26 02:57 MST ------- Yes, that would be nice. Stefan, how is pattern list (categories) sorted in the Qt UI? (Where can I find it in the sources?) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255726 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|aj@novell.com |sh@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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255726 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|sh@novell.com | ------- Comment #2 from sh@novell.com 2007-03-26 04:22 MST ------- It's in YQPkgPatternListItem::compare() in qt/src/YQPkgPatternList.cc. That list uses zypp::Pattern::order() for items of the same category. The categories are taken from zypp::Pattern::category(). They are not separate objects inside libzypp; the UI generates them on the fly as it encounters them from each pattern. The categories are sorted alphabetically by name (since they don't have an order() method or field because they don't exist as separate objects). Yes, it's a bit complicated. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255726 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255726 ------- Comment #3 from kmachalkova@novell.com 2007-04-23 04:57 MST ------- On the other hand, curses UI uses slightly different approach. There are no categories or headers in patterns list, so UI just takes list<> of all patterns (zypp::Pattern::constPtr) as it is and sorts them according to zypp::Patterns::order() function Yes, curses list of patterns, though more simple, is now not consistent with Qt and if we change the proposal to be the same as in Qt packager, it will not be consistent with curses packager. In ideal case, to prevent code duplication and different implementation in different UIs (which is how it works now), UI could obtain already sorted list of patterns directly from libzypp ... ;-) But I don't know if that's technically possible. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255726#c4 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |LATER --- Comment #4 from Lukas Ocilka <locilka@novell.com> 2007-09-07 07:48:16 MST --- It seems this should be closed as LATER - after 10.3 -- 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=255726 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=255726#c5 --- Comment #5 from Ladislav Slezak <lslezak@novell.com> 2008-04-28 06:53:49 MST --- Patterns have "order" property, yast should use it for sorting patterns. The support in yast2-pkg-bindings has been added (yast2-pkg-bindings-2.16.31). -- 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=255726 User lslezak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=255726#c6 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Installation |Installation Product|openSUSE 10.3 |openSUSE 11.0 Resolution|LATER |FIXED Version|Alpha 2 |Beta 2 --- Comment #6 from Ladislav Slezak <lslezak@novell.com> 2008-04-28 09:29:14 MST --- Pattern sorting in the proposal is implemented in yast2-packager-2.16.40 -- 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