Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Eclipse 2022-06 and GTK+ Warnings on Ubuntu 16.04
Eclipse 2022-06 and GTK+ Warnings on Ubuntu 16.04 [message #1853094] Fri, 17 June 2022 11:56 Go to next message
John McCabe is currently offline John McCabeFriend
Messages: 228
Registered: July 2009
Senior Member
Hi,

I'm not sure if this is the right place to ask, but..

I've just downloaded and installed the 2022-06 updates into my existing Eclipse installation on Ubuntu 16.04 and, when it starts, I get this:

***WARNING: GTK+ version too old (micro mismatch)
***WARNING: SWT requires GTK 3.22.0
***WARNING: Detected: 3.20.8


Some time in the past I had something similar and managed to update my system to GTK+ 3.20.8, so I was hoping to be able to move that a little further on to meet SWT's demands here. Unfortunately the Gnome3 team don't appear to have updated past 3.20.8 https://launchpad.net/~gnome3-team/+archive/ubuntu/gnome3-staging/+index?field.series_filter=xenial&batch=75&memo=75&start=75, so there's a bit of a sticking point there.

Does anyone know of a reliable way round this as dropping down the "New" button on the toolbar causes Eclipse to crash in this state!

I have found at least one site that claims to be able to provide later GTK+ builds for ubuntu 16.04 - https://launchpad.net/~savoury1/+archive/ubuntu/gtk-xenial/+index?field.series_filter= - but installing from there didn't go great; it went through ok, and the "WARNING" mentioned above goes away, but I get a shed-load of other "Theme parsing error" stuff coming out then, e.g:
(eclipse:2680): Gtk-WARNING **: 12:52:47.868: Theme parsing error: gtk-widgets.css:23:18: not a number

(eclipse:2680): Gtk-WARNING **: 12:52:47.868: Theme parsing error: gtk-widgets.css:23:18: Expected a string.

(eclipse:2680): Gtk-WARNING **: 12:52:47.869: Theme parsing error: gtk-widgets.css:832:10: not a number

(eclipse:2680): Gtk-WARNING **: 12:52:47.869: Theme parsing error: gtk-widgets.css:832:24: Using Pango syntax for the font: style property is deprecated; please use CSS syntax


Any help gratefully appreciated. Please note, though, that there are various reasons why I'm stuck on 16.04, so moving to a later version isn't an option, even if that's the only way round this.

Thanks
John
Re: Eclipse 2022-06 and GTK+ Warnings on Ubuntu 16.04 [message #1853115 is a reply to message #1853094] Sat, 18 June 2022 17:35 Go to previous message
Andy Maleh is currently offline Andy MalehFriend
Messages: 75
Registered: March 2020
Location: Montreal, Quebec, Canada
Member
I don't get the version warning you mentioned with SWT 4.24 running on Ubuntu 21.10.

However, I got the following warnings:

(SWT:3550): Gtk-WARNING **: 13:27:59.070: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:3550): Gtk-WARNING **: 13:27:59.561: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)


I also got this critical error when running an app one time while seeing a badly scaled window, but didn't get it when running the same app another time, and the window looked fine:

(SWT:3550): Gtk-CRITICAL **: 13:29:38.206: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed


Cheers!


EclipseCon / EclipseWorld / Agile Conference Speaker
Open-Source Software Author of Glimmer DSL for SWT

[Updated on: Sat, 18 June 2022 17:35]

Report message to a moderator

Previous Topic:sudden crash with java.lang.NoClassDefFoundError
Next Topic:Can SWT run on Raspberry Pi 4B?
Goto Forum:
  


Current Time: Fri Apr 26 15:44:27 GMT 2024

Powered by FUDForum. Page generated in 0.02835 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top