https://bugzilla.redhat.com/show_bug.cgi?id=1333922
Bug ID: 1333922 Summary: Eclipse Neon (4.6.0): Many Gtk+ warnings due to broken GUI code Product: Fedora Version: 24 Component: eclipse Assignee: akurtako@redhat.com Reporter: rhbz@genodeftest.de QA Contact: extras-qa@fedoraproject.org CC: akurtako@redhat.com, andjrobins@gmail.com, eclipse-sig@lists.fedoraproject.org, jerboaa@gmail.com, krzysztof.daniel@gmail.com, mat.booth@redhat.com, rgrunber@redhat.com
Description of problem: Massive G
Version-Release number of selected component (if applicable): eclipse-swt-4.6.0-0.5.git201604261105.fc24.x86_64
How reproducible: always, just start eclipse on Fedora 24 with wayland backend
Steps to Reproduce: 1. start eclipse on a gnome+wayland session 2. have a look at syslog or stdout/stderr
Actual results: many warnings, most of them caused by improper usage of Gtk+ API:
$ eclipse -clean -data /tmp/test-workspace CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init> CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile CompilerOracle: exclude org/eclipse/tycho/core/osgitools/EquinoxResolver.newState xkbcommon: ERROR: Key "<LFSH>" added to modifier map for multiple modifiers; Using Lock, ignoring Shift
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Allocating size to GtkBox 0x7fd3b1d86cf0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton) xkbcommon: ERROR: Key "<LFSH>" added to modifier map for multiple modifiers; Using Lock, ignoring Shift
(Eclipse:5282): Gtk-WARNING **: Allocating size to GtkBox 0x7fd3b1d86cf0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
(Eclipse:5282): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
(Eclipse:5282): Gtk-WARNING **: Negative content width -13 (allocation 5, extents 9x9) while allocating gadget (node entry, owner GtkEntry) Gdk-Message: Window 0x7fd3b1f08e60 is a temporary window without parent, application will not be able to position it on screen. Gdk-Message: Window 0x7fd3b1f08e60 is a temporary window without parent, application will not be able to position it on screen. Gdk-Message: Window 0x7fd3b1f08e60 is a temporary window without parent, application will not be able to position it on screen. Gdk-Message: Window 0x7fd3b1f08e60 is a temporary window without parent, application will not be able to position it on screen.
(Eclipse:5282): Gdk-WARNING **: gdkcursor-wayland.c:170: Unable to load x_cursor from the cursor theme
Expected results: just a few warnings or – at best – no warnings at all.
Additional info: These warnings were introduced in Gtk+ 3.20 and were not present in Gtk+ 3.18.
https://bugzilla.redhat.com/show_bug.cgi?id=1333922
Christian Stadelmann rhbz2@genodeftest.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|24 |26 Summary|Eclipse Neon (4.6.0): Many |Eclipse Neon (4.6.3): Many |Gtk+ warnings due to broken |Gtk+ warnings due to broken |GUI code |GUI code
https://bugzilla.redhat.com/show_bug.cgi?id=1333922
Mat Booth mat.booth@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lufimtse@redhat.com
--- Comment #1 from Mat Booth mat.booth@redhat.com --- Hi Leo,
Is there a corresponding upstream bug for this that we can follow?
https://bugzilla.redhat.com/show_bug.cgi?id=1333922
--- Comment #2 from Lev Ufimtsev lufimtse@redhat.com --- (In reply to Mat Booth from comment #1)
Hi Leo,
Is there a corresponding upstream bug for this that we can follow?
Bug 486068 – [GTK3.20] Allocation warnings printed in error console https://bugs.eclipse.org/bugs/show_bug.cgi?id=486068
https://bugzilla.redhat.com/show_bug.cgi?id=1333922
Mat Booth mat.booth@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |Eclipse Project 486068
--- Comment #3 from Mat Booth mat.booth@redhat.com --- Thanks
https://bugzilla.redhat.com/show_bug.cgi?id=1333922
--- Comment #4 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1333922
Mat Booth mat.booth@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2018-05-03 08:45:47
--- Comment #5 from Mat Booth mat.booth@redhat.com --- I think we are seeing a lot fewer warnings these days thanks to Eric's work upstream. So I'm happy to see this bug closed.
The work to fix these is always ongoing as there are always new GTK releases to change things :-) Those interested in the continuing work should follow the upstream bug as that is where the work is happening.
eclipse-sig@lists.stg.fedoraproject.org