[cairo-bugs] [Bug 106873] New: surface -> is_clear assertion fails when creating gtk widgets
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jun 10 06:50:34 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106873
Bug ID: 106873
Summary: surface -> is_clear assertion fails when creating gtk
widgets
Product: cairo
Version: unspecified
Hardware: All
OS: Windows (All)
Status: NEW
Severity: blocker
Priority: medium
Component: win32 backend
Assignee: cairo-bugs at cairographics.org
Reporter: behrooz0az at gmail.com
QA Contact: cairo-bugs at cairographics.org
I know this may be a dup, my circumstances differ.
Bug occurs 100% when using a treeview in a horizontal box that has widgets on
top of the treeview and the treeview horizontal expansion is turned off.
the widget is added to a viewport in a box in a pageview in a box in a grid in
a window, if that matters, I can also provide a tree of all the widgets and
their properties if needed. Unfortunately I can't produce an stack trace since
this is being used in a gtk# project and because of this i can't tell if the
widget is being created and the bug happens when it's added or before that.
Buggy:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.14"/>
<object class="GtkBox" id="TopLevelWidget">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<object class="GtkBox" id="boxFields">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="entryDescriptions">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="placeholder_text" translatable="yes">توضیحات</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</interface>
Fixed:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.14"/>
<object class="GtkBox" id="TopLevelWidget">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<object class="GtkBox" id="boxFields">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="entryDescriptions">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="placeholder_text"
translatable="yes">Descriptions</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</interface>
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20180610/0d9df40c/attachment.html>
More information about the cairo-bugs
mailing list