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(a)redhat.com
Reporter: rhbz(a)genodeftest.de
QA Contact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, andjrobins(a)gmail.com,
eclipse-sig(a)lists.fedoraproject.org,
jerboaa(a)gmail.com, krzysztof.daniel(a)gmail.com,
mat.booth(a)redhat.com, rgrunber(a)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.
--
You are receiving this mail because:
You are on the CC list for the bug.