Community
Participate
Working Groups
Build ID: M20080911-1700 Steps To Reproduce: 1. Show Javadoc hover and move mouse over it to make it sticky. 2. Resize it so width is zero. 3. you will see following printed on console.... (SWT:18294): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 275 More information:
I cannot reproduce as we have an older Linux which doesn't allow to resize to 0 and even if it would I would not expect negative width. Moving to SWT for investigation.
I tried this out on my RHEL5 box using the 3.5 M4 build and wasn't able to resize the javadoc hover. (The hover gets scroll bars once it becomes sticky but it doesn't let me resize). What GTK version are you using? Can you try reproducing this with the 3.5 M4 build?
I tried it with 3.4.1 on the latest Ubuntu (8.10), and I also couldn't resize Javadoc hovers to zero width (and hence didn't get the console message). > I [..] wasn't able to resize the javadoc hover. Our workaround for bug 23980 only allows you to resize hovers with toolbars. It looks like the Browser widget is not available on your machine. In this case, we fall back to a styled text widget without toolbar.
I can't reproduce this bug.