Originally posted by Delgarde
View Post
Announcement
Collapse
No announcement yet.
GNOME Developer On GTK4: State-of-the-Art of Toolkit Support
Collapse
X
-
- Likes 1
-
Originally posted by Delgarde View PostActually, it's more complicated than that. One, they're partly stuck with GTK+2 because that's essentially part of the plugin ABI... they can't change that, because plugins like Flash will fail if Firefox isn't providing the GTK+2 interfaces (and plugins can't update to GTK+3 because doing so would conflict with the GTK+2 interfaces provided by Firefox... chicken and egg.)
Would also be safer and not compromise the stability of the browser if a plugins crashes.
Cheers,
_
- Likes 2
Comment
-
Originally posted by Delgarde View PostApparently you ignored the entire second paragraph of my message? The bit that noted that porting from GTK+2 to 3 was trivial... as long as the GTK+2 code was well maintained, avoiding the use of deprecated APIs, etc?
And GIMP is a chronically under-resourced project that's had nothing to do with the development of the toolkit since the days of GTK+1. So while I'm not familiar with their codebase, I suspect it's heavily reliant on APIs that were deprecated long ago, but which they've not had the time to do anything about. At which point porting *is* difficult, because you've saved up all your technical debt until it becomes an obstacle to getting anything done, and it all has to be addressed at once.
It couldn't possibly be that your experience with your single project is not representative of all projects of all kinds.
Comment
-
Originally posted by anda_skoa View PostThey could do the same thing any non-GTK based browser does: run the plugins out-of-process.
Would also be safer and not compromise the stability of the browser if a plugins crashes.
But that doesn't change the fact that at least one part of Firefox is required to link to GTK+2, and therefore cannot be linked to GTK+3. A significant part of their move to GTK+3 was to re-arrange library code to allow them to simultaneously build against both GTK+ versions... 3 for the browser itself, 2 for the plugin container.
Comment
-
Originally posted by Delgarde View PostThey do, and have for a very long time.... that feature was added to Firefox 3.6 back in 2010 or so.
Originally posted by Delgarde View PostBut that doesn't change the fact that at least one part of Firefox is required to link to GTK+2, and therefore cannot be linked to GTK+3.
So I wouldn't consider "need GTK2 for plugins" to be a reason to hold back a GTK3 port of the browser.
Originally posted by Delgarde View PostA significant part of their move to GTK+3 was to re-arrange library code to allow them to simultaneously build against both GTK+ versions... 3 for the browser itself, 2 for the plugin container.
Would be much easier to just build the browser against the target version and the plugin host against the self inflicted compatibility version.
Cheers,
_
- Likes 1
Comment
Comment