Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555620 - www-client/firefox: add support for gtk3
Summary: www-client/firefox: add support for gtk3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-22 12:14 UTC by om3i
Modified: 2016-08-11 11:05 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description om3i 2015-07-22 12:14:39 UTC
As upstream did.

Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-07-23 00:56:27 UTC
Upstream gtk3 is still a while from ready, but once it is considered ready by upstream we will offer a use flag for it.

In the meantime, see bug 552060
Comment 2 Rafał Mużyło 2015-07-23 16:05:59 UTC
(In reply to Ian Stakenvicius from comment #1)
> Upstream gtk3 is still a while from ready, but once it is considered ready
> by upstream we will offer a use flag for it.
> 
> In the meantime, see bug 552060

Well, I'd somewhat agree , though...


The reporter might be referring to https://bugzilla.mozilla.org/show_bug.cgi?id=1186229, though that's not quite the same as https://bugzilla.mozilla.org/show_bug.cgi?id=1186748...
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2015-07-23 16:12:28 UTC
it looks like gtk3 is going to be the upstream default for mozilla-42 (current mozilla-central repo, I believe), but that's still a long ways off from being part of the release.  There's also a rather large number of bugs open for the GTK2->GTK3 port, so i guess we'll see how that goes.

At any rate, just for fun, I added GTK3 support to mozconfig (which can be enabled in ebuilds that want to give the option), and a firefox-40 ebuild that lets you enable GTK3, on mozilla-overlay.  Have fun with it -- I won't be exposing the gtk3 flag in the portage tree ebuilds until mozilla-42 though, fyi.
Comment 4 Rafał Mużyło 2015-07-23 16:12:49 UTC
...still given the flags on the already closed bugs, it seems firefox 42 will be the target...

Coincidentally, that's the same version electrolysis is planed to be turned on on release...

...yay...
Comment 5 Maxim Britov 2015-09-22 13:08:44 UTC
Firefox +gtk3 have issue CTRL+K in <x11-libs/gtk+-3.18

gtk+-3.18 have simple patch:
https://git.gnome.org/browse/gtk+/patch/?id=15411aa032ca0c36f8a9adc9c1c2ee71a5131fbf
"This interferes with a well-loved firefox shortcut, and we
are more interested in a gtk3 firefox than in legacy keybindings."

Upstream issue https://bugzilla.mozilla.org/show_bug.cgi?id=1176929
Comment 6 Rafał Mużyło 2015-11-03 20:55:33 UTC
(In reply to Maxim Britov from comment #5)
> Firefox +gtk3 have issue CTRL+K in <x11-libs/gtk+-3.18
> 

Actually, regardless of that, gtk3 was postponed (at 41.0 release) at least one version (to 43.0). That's still a few weeks off, so we might get gtk+ 3.18 in the tree before that.
Comment 7 Rafał Mużyło 2015-12-25 07:25:24 UTC
...so, the upstream delayed the switch again (to 45), but this time for a very mozilla reason, instead of a technical one (go and see the upstream bugs).

If you disregard that, gtk3 is working pretty well, though just like with webkit-gtk gtk2 dep will need to remain due to plugins (though unlike in that case, the wrapper lib is quite small).
Comment 8 Mads 2016-04-27 08:00:45 UTC
GTK3 support was officially added to Firefox 46 https://www.mozilla.org/en-US/firefox/46.0/releasenotes/
Comment 9 Pacho Ramos gentoo-dev 2016-08-08 14:20:19 UTC
This is probably obsolete or fixed now

For better compat with gtk3, I would opt for building the gtk3 backend for firefox >= 48, while keep using gtk2 for current stable (45 was?)
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2016-08-08 14:32:16 UTC
(In reply to Pacho Ramos from comment #9)
> This is probably obsolete or fixed now
> 
> For better compat with gtk3, I would opt for building the gtk3 backend for
> firefox >= 48, while keep using gtk2 for current stable (45 was?)

Agreed.  As backporting the gtk+-3.20 compatibility patches are not really an option, I've disabled gtk3 support in the 45.x series starting with firefox-45.3.0 ; firefox-48.0 continues default gtk3 support.