Bug 406808 - [GTK3] Initial bounds not set with gtk 3.8
Summary: [GTK3] Initial bounds not set with gtk 3.8
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.3 M7   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 407374 (view as bug list)
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2013-04-29 11:25 EDT by Alexander Kurtakov CLA
Modified: 2014-01-21 09:06 EST (History)
1 user (show)

See Also:


Attachments
The patch. (1.25 KB, patch)
2013-04-29 11:25 EDT, Alexander Kurtakov CLA
no flags Details | Diff
Broken rendering. (151.24 KB, image/png)
2013-04-29 11:27 EDT, Alexander Kurtakov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2013-04-29 11:25:49 EDT
Created attachment 230259 [details]
The patch.

The problem is easily visible on Fedora 19 component part of the ControlExample is not visible (0,0) sized - 
Gtk-CRITICAL **: gtk_widget_set_allocation: assertion `gtk_widget_get_visible (widget) || gtk_widget_is_toplevel (widget)' failed

The attached patch fixes it. It's left for gtk 2.18+ as it seems to not make a difference on gtk 2.x.
Comment 1 Alexander Kurtakov CLA 2013-04-29 11:27:17 EDT
Created attachment 230260 [details]
Broken rendering.
Comment 2 Alexander Kurtakov CLA 2013-04-30 03:55:17 EDT
As this was preventing even the workspace selection to draw anything I decided to push a slightly modified patch (set visible for GTK 3 only) to allow starting with GTK 3.8.
Commit:
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=873a9a76611be625b45716322ad5255e3ae4a6fc
Comment 3 Arun Thondapu CLA 2014-01-21 09:06:40 EST
*** Bug 407374 has been marked as a duplicate of this bug. ***