Bug 1918940 - fedora-welcome broken in current Rawhide: "JS ERROR: TypeError: Gtk.WindowType is undefined"
Summary: fedora-welcome broken in current Rawhide: "JS ERROR: TypeError: Gtk.WindowTyp...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 34
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: openqa
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-21 18:12 UTC by Adam Williamson
Modified: 2021-02-09 16:13 UTC (History)
7 users (show)

Fixed In Version: anaconda-34.20-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Adam Williamson 2021-01-21 18:12:35 UTC
In current Rawhide (Fedora-Rawhide-20210120.n.0), the welcome screen doesn't show when booting Workstation live. Trying to run it from a console shows the apparent problem:

[liveuser@localhost-live ~]$ /usr/share/anaconda/gnome/fedora-welcome
Gjs-Message: 13:07:40.019: JS WARNING: [/usr/share/anaconda/gnome/fedora-welcome 21]: Requiring Gdk but it has 3 versions available; use imports.gi.versions to pick one
Gjs-Message: 13:07:40.066: JS WARNING: [/usr/share/anaconda/gnome/fedora-welcome 25]: Requiring Gtk but it has 3 versions available; use imports.gi.versions to pick one
Gjs-Message: 13:07:40.498: JS WARNING: [/usr/share/anaconda/gnome/fedora-welcome 149]: Too many arguments to function Gtk.init: expected 0, got 2

(fedora-welcome:2890): Gjs-CRITICAL **: 13:07:41.860: JS ERROR: TypeError: Gtk.WindowType is undefined
_init@/usr/share/anaconda/gnome/fedora-welcome:58:49
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
_Base.prototype._construct@resource:///org/gnome/gjs/modules/script/_legacy.js:18:10
newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:114:21
@/usr/share/anaconda/gnome/fedora-welcome:164:29
@/usr/share/anaconda/gnome/fedora-welcome:171:17


(fedora-welcome:2890): Gjs-CRITICAL **: 13:07:41.860: JS ERROR: TypeError: welcomeWindow is null
@/usr/share/anaconda/gnome/fedora-welcome:168:13
@/usr/share/anaconda/gnome/fedora-welcome:171:17

I guess something changed in gjs? Anyway, this is breaking the openQA tests so it's pretty important.

Comment 1 Adam Williamson 2021-01-21 18:31:22 UTC
Ah. Problem is it's trying to run against GTK+ 4 now.

https://github.com/rhinstaller/anaconda/pull/3110

Comment 3 Ben Cotton 2021-02-09 16:13:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.


Note You need to log in before you can comment on or make changes to this bug.