Bug 15798

Summary: MgaUpdate has no vscrollbar when using the files option in the update description (whereas rpmdrake has)
Product: Mageia Reporter: Mauricio Andrés Bustamante Viveros <neoser10>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: minor    
Priority: Normal CC: anaselli, marja11, olav, pf, sysadmin-bugs, thierry.vignaud
Version: CauldronKeywords: USABILITY
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: gtk+3.0, rpmdrake CVE:
Status comment:
Attachments: This is the visual error
example: the vscrollbar should be at 100% and should hide
example 3: prior to any action on expander, just choosing a package (1/2)
example 3: open an expander => the vscrollbar hasn't changed (2/2)
env for reproducing the bug
example 4: when closed, sometimes expander doesn't reclaim/free space that it previously occuped
only Details appear; no Files or Changelog
Details overlaps Files
Missing Changelog

Description Mauricio Andrés Bustamante Viveros 2015-04-30 01:49:49 CEST
Description of problem:

When I run MCC software updater, and select an update to see the files involved in the update, and expand the files selector, the software updater retrieves the files from the xml, and gives only a few file listings, but if I close the files selector and expand again it gives all file listings, if the file listing is less to 4, disappear the changelog section.

Version-Release number of selected component (if applicable):

MCC 12.58 Mageia 5 Cauldron
Name        : drakconf
Version     : 12.58
Release     : 1.mga5
Architecture: noarch
Install Date: mié 29 abr 2015 16:27:57 GMT
Group       : System/Configuration
Size        : 2595391
License     : GPLv2+
Signature   : RSA/SHA1, lun 13 abr 2015 18:59:25 GMT, Key ID b742fa8b80420f66
Source RPM  : drakconf-12.58-1.mga5.src.rpm
Build Date  : lun 13 abr 2015 18:52:00 GMT
Build Host  : ecosse.mageia.org
Relocations : (not relocatable)
Packager    : akien <akien>
Vendor      : Mageia.Org
URL         : http://www.mageia.org
Summary     : The Mageia Control Center
Description :
drakconf includes the Mageia Control Center which is an interface to
multiple utilities from DrakXtools.

How reproducible:
Every time I run software updater and want to see the file listings involved in the update selected

Steps to Reproduce:
1. Open MCC and open the software updater
2. Select any update
3. Expand the file listing involvd in the update


Reproducible: 

Steps to Reproduce:
Comment 1 Mauricio Andrés Bustamante Viveros 2015-04-30 01:52:11 CEST
Created attachment 6397 [details]
This is the visual error
Comment 2 Thierry Vignaud 2015-04-30 11:45:35 CEST
Wrong package.

Humm... It uses a scrolled window, which default to 'automatic' policy in mygtk3, so it should work...
One difference is that in MgaUpdate, it's sized where it's not in rpmdake...

CC: (none) => thierry.vignaud
Summary: MCC software updater does not scroll when use the files option in the update description, the MCC software installer can do it => Mgapdate does not scroll when use the files option in the update description (whereas rpmdrake does)
Source RPM: drakconf-12.58-1.mga5.src.rpm => rpmdrake

Samuel Verschelde 2015-04-30 11:52:29 CEST

Summary: Mgapdate does not scroll when use the files option in the update description (whereas rpmdrake does) => MgaUpdate does not scroll when use the files option in the update description (whereas rpmdrake does)

Thierry Vignaud 2015-04-30 12:04:29 CEST

Summary: MgaUpdate does not scroll when use the files option in the update description (whereas rpmdrake does) => MgaUpdate has no vscrollbar when using the files option in the update description (whereas rpmdrake has)

Comment 3 Thierry Vignaud 2015-06-01 12:26:57 CEST
I cannot reproduce.
What version of rpmdrake do you use?

Keywords: (none) => NEEDINFO

Comment 4 Thierry Vignaud 2015-06-01 13:12:37 CEST
Actually I can reproduce it on mga5.
On first click for expanding eg file list, the vertical scrollbar doesn't appear.
If clicking twice more on the expander (closing & reopening the file list), the vertical scrollbar appear.
This is a gtk+3.0 issue AFAIC

CC: (none) => olav
Source RPM: rpmdrake => gtk+3.0, rpmdrake

Thierry Vignaud 2015-06-01 13:12:42 CEST

Keywords: NEEDINFO => (none)

Comment 5 Thierry Vignaud 2015-06-01 13:15:55 CEST
This can happen each time a new expander is used.
Also sometimes, the vertical scrollbar remains, hinting that only 5% of the content is displayed whereas all expanders were closed and that everything is already displayed
Comment 6 Thierry Vignaud 2015-06-01 13:17:15 CEST
The later happens when one open an expander, open a 2nd expander, then close them
Comment 7 Thierry Vignaud 2015-06-01 13:18:52 CEST
Created attachment 6671 [details]
example: the vscrollbar should be at 100% and should hide
Comment 8 Thierry Vignaud 2015-06-01 13:24:21 CEST
For the record, we use expanders in a TextView.
This used to work smoothly for years with gtk+2
Comment 9 Thierry Vignaud 2015-06-01 13:26:29 CEST
Created attachment 6672 [details]
example 3: prior to any action on expander, just choosing a package (1/2)
Comment 10 Thierry Vignaud 2015-06-01 13:26:54 CEST
Created attachment 6673 [details]
example 3: open an expander => the vscrollbar hasn't changed (2/2)
Comment 11 Thierry Vignaud 2015-06-01 13:48:24 CEST
Created attachment 6674 [details]
env for reproducing the bug

It's possible to reproduce the bug by:
1) unpacking this archive
2) running: MageiaUpdate --env=bug15798 --no-media-update
Comment 12 Thierry Vignaud 2015-06-01 13:49:21 CEST
Created attachment 6675 [details]
example 4: when closed, sometimes expander doesn't reclaim/free space that it previously occuped

the big white space was used by the expander content when it was open
Thierry Vignaud 2015-06-01 13:50:17 CEST

Keywords: (none) => USABILITY

Comment 13 Thierry Vignaud 2015-06-01 14:30:38 CEST
We use a TextView that contains Expanders that have other TextViews as children.
See:
http://gitweb.mageia.org/software/rpmdrake/tree/Rpmdrake/gui.pm#n111
http://gitweb.mageia.org/software/rpmdrake/tree/Rpmdrake/gui.pm#n277
Marja Van Waes 2015-06-01 15:50:26 CEST

CC: (none) => anaselli, marja11

Samuel Verschelde 2015-06-06 02:05:10 CEST

Component: Release (media or process) => RPM Packages
Whiteboard: (none) => MGA5TOO

Comment 14 Marja Van Waes 2015-11-18 22:55:39 CET
*** Bug 17172 has been marked as a duplicate of this bug. ***

CC: (none) => pf

Comment 15 Pierre Fortin 2015-11-19 06:28:30 CET
Created attachment 7213 [details]
only Details appear; no Files or Changelog
Comment 16 Pierre Fortin 2015-11-19 06:29:21 CET
Created attachment 7214 [details]
Details overlaps Files
Comment 17 Pierre Fortin 2015-11-19 06:31:09 CET
Created attachment 7215 [details]
Missing Changelog
Comment 18 Pierre Fortin 2015-11-19 06:35:25 CET
Files can be reset to no scrollbar by returning to all unexpanded state, and clicking Details twice, then Files.
Comment 19 Rémi Verschelde 2015-11-19 07:51:40 CET
*** Bug 17172 has been marked as a duplicate of this bug. ***
Samuel Verschelde 2016-11-01 12:03:26 CET

Assignee: bugsquad => mageiatools