[gtk+] reftests: Add a test for a widget stacking regression
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftests: Add a test for a widget stacking regression
- Date: Fri, 28 Feb 2014 02:25:10 +0000 (UTC)
commit 2dd3226c671a71205108c37986e90fb9077a8ab0
Author: Benjamin Otte <otte redhat com>
Date: Tue Feb 25 14:11:20 2014 +0100
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
testsuite/reftests/Makefile.am | 2 +
testsuite/reftests/fixed-widget-stacking.ref.ui | 41 +++++++++++++++++
testsuite/reftests/fixed-widget-stacking.ui | 53 +++++++++++++++++++++++
3 files changed, 96 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index b88d045..31706de 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -183,6 +183,8 @@ testdata = \
entry-progress-coloring.css \
entry-progress-coloring.ref.ui \
entry-progress-coloring.ui \
+ fixed-widget-stacking.ref.ui \
+ fixed-widget-stacking.ui \
font-sizes-names.css \
font-sizes-names.ref.ui \
font-sizes-names.ui \
diff --git a/testsuite/reftests/fixed-widget-stacking.ref.ui b/testsuite/reftests/fixed-widget-stacking.ref.ui
new file mode 100644
index 0000000..436c427
--- /dev/null
+++ b/testsuite/reftests/fixed-widget-stacking.ref.ui
@@ -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>
diff --git a/testsuite/reftests/fixed-widget-stacking.ui b/testsuite/reftests/fixed-widget-stacking.ui
new file mode 100644
index 0000000..e7aeac6
--- /dev/null
+++ b/testsuite/reftests/fixed-widget-stacking.ui
@@ -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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]