reftests: Add a test for a widget stacking regression
GTK 3.10 fails to obey the stacking order when drawing widgets. https://bugzilla.gnome.org/show_bug.cgi?id=725089
This commit is contained in:
@ -183,6 +183,8 @@ testdata = \
|
|||||||
entry-progress-coloring.css \
|
entry-progress-coloring.css \
|
||||||
entry-progress-coloring.ref.ui \
|
entry-progress-coloring.ref.ui \
|
||||||
entry-progress-coloring.ui \
|
entry-progress-coloring.ui \
|
||||||
|
fixed-widget-stacking.ref.ui \
|
||||||
|
fixed-widget-stacking.ui \
|
||||||
font-sizes-names.css \
|
font-sizes-names.css \
|
||||||
font-sizes-names.ref.ui \
|
font-sizes-names.ref.ui \
|
||||||
font-sizes-names.ui \
|
font-sizes-names.ui \
|
||||||
|
|||||||
41
testsuite/reftests/fixed-widget-stacking.ref.ui
Normal file
41
testsuite/reftests/fixed-widget-stacking.ref.ui
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.16.0 on Tue Feb 25 14:09:41 2014 -->
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.10 -->
|
||||||
|
<object class="GtkTextBuffer" id="textbuffer1">
|
||||||
|
<property name="text" translatable="yes">TEST123
|
||||||
|
TEST123</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkWindow" id="window1">
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="type">popup</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFixed" id="fixed1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTextView" id="textview1">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">100</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="buffer">textbuffer1</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTextView" id="textview2">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">100</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="buffer">textbuffer1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="x">50</property>
|
||||||
|
<property name="y">50</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
53
testsuite/reftests/fixed-widget-stacking.ui
Normal file
53
testsuite/reftests/fixed-widget-stacking.ui
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.16.0 on Tue Feb 25 14:09:29 2014 -->
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.10 -->
|
||||||
|
<object class="GtkTextBuffer" id="textbuffer1">
|
||||||
|
<property name="text" translatable="yes">TEST123
|
||||||
|
TEST123</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkWindow" id="window1">
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="type">popup</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFixed" id="fixed1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTextView" id="textview1">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">100</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="buffer">textbuffer1</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox" id="box1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkTextView" id="textview2">
|
||||||
|
<property name="width_request">100</property>
|
||||||
|
<property name="height_request">100</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="buffer">textbuffer1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="x">50</property>
|
||||||
|
<property name="y">50</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
Reference in New Issue
Block a user