Open Bug 1598826 Opened 6 years ago Updated 3 years ago

Firefox Nightly 72.0a1 on X and Wayland had many unresponsive parts and theme parsing errors in colors.css in Plasma on Wayland

Categories

(Core :: Widget: Gtk, defect)

72 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: matt.fagnani, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

I was using Firefox Nightly 72.0a1 (2019-11-22; I think the first daily build) on X in Plasma 5.17.3 on Wayland in the Fedora 31 KDE Plasma spin which was running normally on 2019-11-22. I had layers.acceleration.force-enabled=true. I clicked Help > About Firefox. A new build downloaded, and I clicked Restart to update Firefox.

Actual results:

After Firefox Nightly 72.0a1 (2019-11-22) on X updated and restarted, the Bookmarks, Tools, Help menus didn't respond when selected. The File, Edit, View, History menu showed up normally. Clicking the + button to open a new tab did nothing. I couldn't enter an address in the address bar some of the time. The buttons to the right of the address bar were unresponsive. The site loaded but was unresponsive. I tried to scroll the site, but the page didn't move. When I closed 72.0a1 and tried to load it from konsole I saw many errors like "Theme parsing error: colors.css:71:44: Invalid number for color value" which I hadn't seen before.

/programs/firefox/firefox/firefox &
[1] 4453
(firefox:4453): Gtk-WARNING **: 21:03:58.196: Theme parsing error: colors.css:71:44: Invalid number for color value

(firefox:4453): Gtk-WARNING **: 21:03:58.196: Theme parsing error: colors.css:72:44: Invalid number for color value

(firefox:4453): Gtk-WARNING **: 21:03:58.196: Theme parsing error: colors.css:74:53: Invalid number for color value

(firefox:4453): Gtk-WARNING **: 21:03:58.196: Theme parsing error: colors.css:75:53: Invalid number for color value

(firefox:4453): Gtk-WARNING **: 21:03:58.196: Theme parsing error: colors.css:76:56: Invalid number for color value

(firefox:4453): Gtk-WARNING **: 21:03:58.196: Theme parsing error: colors.css:77:65: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4563): Gtk-WARNING **: 21:04:01.209: Theme parsing error: colors.css:71:44: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4563): Gtk-WARNING **: 21:04:01.210: Theme parsing error: colors.css:72:44: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4563): Gtk-WARNING **: 21:04:01.210: Theme parsing error: colors.css:74:53: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4563): Gtk-WARNING **: 21:04:01.211: Theme parsing error: colors.css:75:53: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4563): Gtk-WARNING **: 21:04:01.212: Theme parsing error: colors.css:76:56: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4563): Gtk-WARNING **: 21:04:01.213: Theme parsing error: colors.css:77:65: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4588): Gtk-WARNING **: 21:04:01.571: Theme parsing error: colors.css:71:44: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4588): Gtk-WARNING **: 21:04:01.572: Theme parsing error: colors.css:72:44: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4588): Gtk-WARNING **: 21:04:01.572: Theme parsing error: colors.css:74:53: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4588): Gtk-WARNING **: 21:04:01.573: Theme parsing error: colors.css:75:53: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4588): Gtk-WARNING **: 21:04:01.574: Theme parsing error: colors.css:76:56: Invalid number for color value

(/programs/firefox/firefox/firefox-bin:4588): Gtk-WARNING **: 21:04:01.578: Theme parsing error: colors.css:77:65: Invalid number for color value

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv

[1]+ Done /programs/firefox/firefox/firefox

The same parts of the 72.0a1 interface were unresponsive on X and Wayland. when I clicked on unresponsive parts in 72.0a1 on Wayland, the Firefox window sometimes went to the background and konsole was shown instead.

I haven't seen the 72.0a1 build date due to the unresponsiveness, but I think these problems started with the 2019-11-22 second daily build or 2019-11-23 first build. The 70.0.1 Fedora rpms on X and Wayland aren't affected by these problems.

Expected results:

Firefox would keep responding normally.

The first 72.0a1 build affected by the unresponsiveness I reported here has in about:support the Build id 20191122214053 (the 2019-11-22 second build).

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

There is a problem in the default ~/.config/gtk-3.0 in Fedora 31 KDE Plasma. At the end, there are following lines:

...
@define-color theme_titlebar_background rgb();
@define-color theme_titlebar_foreground rgb();
@define-color theme_titlebar_background_light #eff0f1;
@define-color theme_titlebar_foreground_backdrop rgb();
@define-color theme_titlebar_background_backdrop rgb();
@define-color theme_titlebar_foreground_insensitive rgb();
@define-color theme_titlebar_foreground_insensitive_backdrop rgb();

Please note the calls to rgb() without arguments.

I have changed these manually to e.g.:

@define-color theme_titlebar_background rgb(71,80,87);
@define-color theme_titlebar_foreground rgb(252,252,252);
@define-color theme_titlebar_background_light #eff0f1;
@define-color theme_titlebar_foreground_backdrop rgb(189,195,199);
@define-color theme_titlebar_background_backdrop rgb(239,240,241);
@define-color theme_titlebar_foreground_insensitive rgb(189,195,199);
@define-color theme_titlebar_foreground_insensitive_backdrop rgb(189,195,199);

and that solved the issue.

Are you still experiencing the problem?

Flags: needinfo?(matt.fagnani)

(In reply to Wayne Mery (:wsmwk) from comment #4)

Are you still experiencing the problem?

No.

Flags: needinfo?(matt.fagnani)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.