Bug 16834

Summary: mageiawelcome does not run in cauldron in Vbox
Product: Mageia Reporter: Dennis Griffin <dennisgrif>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: napcok, thierry.vignaud, yvesbrungard
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Dennis Griffin 2015-09-26 19:03:33 CEST
Description of problem:
From konsole in vbox:

[dennis@localhost ~]$ mageiawelcome
Traceback (most recent call last):
  File "/usr/share/mageiawelcome/webgui.py", line 64, in worker
    R.result = apply(function, args, kwargs)
  File "/usr/share/mageiawelcome/webgui.py", line 82, in launch_browser
    sw = Gtk.ScrolledWindow.new(box)
TypeError: argument hadjustment: Expected Gtk.Adjustment, but got gi.repository.Gtk.VBox


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


How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Rémi Verschelde 2015-09-26 19:05:57 CEST

CC: (none) => napcok, thierry.vignaud, yves.brungard_mageia

Comment 1 papoteur 2015-09-26 21:19:19 CEST
Hello,
I can fix the error with this code in webgui.py, but I get scrollbars which are not needed :/

    box = Gtk.VBox(homogeneous=False, spacing=0)
    sw = Gtk.ScrolledWindow.new()
    sw.add(box)
    window.add(sw)
Comment 2 Dennis Griffin 2015-09-27 02:27:42 CEST
Yes, with this code it runs but there is an unnecessary horizontal scroll bar at the bottom of the window.  I also noticed that the "Show this window at startup" at the bottom of the window no longer has a checkbox next to it.  The checkbox is there it is just invisible.  If you click just to the left of the word "Show" it will place a check but there is no "box" behind the check.

I had Mageia Welcome running on startup and it worked fine up until 2 or 3 days ago.
Comment 3 Thierry Vignaud 2015-09-29 06:54:05 CEST
Fixed
W/o the scrollbar, there's a sizing issue with Gtk3

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Dennis Griffin 2015-09-29 19:37:12 CEST
With version 1.1-1.mga6 I have both a horizontal and vertical scroll bar.  The horizontal scroll bar tends to cover up the close button at the bottom of the screen.  The checkbox next to "Show this window at startup" is still missing.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 Thierry Vignaud 2015-09-29 20:12:56 CEST
This has nothing to do with "mageiawelcome does not run"

Resolution: (none) => FIXED
Status: REOPENED => RESOLVED