[Bug 734763] New: yast2 sw_single software management with QT ui resets columns in software view when horizontal scrollbar is removed
https://bugzilla.novell.com/show_bug.cgi?id=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c0 Summary: yast2 sw_single software management with QT ui resets columns in software view when horizontal scrollbar is removed Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mat@mshopf.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 In yast2 software management with QT ui: If the window is too small to show all columns of the installation summary at once, one can try to view e.g. the size column by reducing the width of other columns. The moment the width is small enough so that everything would fit (and the horizontal scrollbar would disappear), the column setup is reseted to the original situation. This makes sorting according to installation size unnecessary annoying. Reproducible: Always Steps to Reproduce: 1. Start yast2 software management, QT ui 2. Switch to installation summary 3. (Make window small enough so that not all columns are visible) 4. Reduze width of one column so that size column gets fully visible Actual Results: Column setup jumps back to startup settings. Expected Results: Horizontal scrollbar vanishes, column setup stays as selected by user. -- 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=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.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.
https://bugzilla.novell.com/show_bug.cgi?id=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tgoettlicher@suse.com AssignedTo|yast2-maintainers@suse.de |tgoettlicher@suse.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.
https://bugzilla.novell.com/show_bug.cgi?id=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED Summary|yast2 sw_single software |[yast2-qt-pkg] yast2 |management with QT ui |sw_single software |resets columns in software |management with QT ui |view when horizontal |resets columns in software |scrollbar is removed |view when horizontal | |scrollbar is removed -- 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=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c1 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |schaefer.frank@gmx.net --- Comment #1 from Thomas Göttlicher <tgoettlicher@suse.com> 2012-01-17 14:53:21 UTC --- Frank, this bug is related to bug #441828. Are you able to fine-tune your enhancement? Many thanks. -- 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=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c2 Frank Schäfer <schaefer.frank@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |schaefer.frank@gmx.net InfoProvider|schaefer.frank@gmx.net | --- Comment #2 from Frank Schäfer <schaefer.frank@gmx.net> 2012-01-18 19:17:30 UTC --- Try to change YQPkgList::resizeEvent(QResizeEvent *event) in YQPkgList.cc to YQPkgList::resizeEvent(QResizeEvent *event) { if (event->size().width() != event->oldSize().width()) optimizeColumnWidths(); /* NOTE: avoids column width optimization when the size changes because the horizontal scroll bar appeares/disappeares */ event->accept(); } Completely untested ! -- 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=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c3 --- Comment #3 from Thomas Göttlicher <tgoettlicher@suse.com> 2012-01-19 15:23:23 UTC --- Your patch works like a charm! Many thanks! -- 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=734763 https://bugzilla.novell.com/show_bug.cgi?id=734763#c4 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Thomas Göttlicher <tgoettlicher@suse.com> 2012-01-19 15:23:43 UTC --- Fixed in yast2-qt-pkg version 2.21.8. -- 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