gtk/tests
Jonas Ådahl d2c95a1b13 gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean
It was used by all surfaces to track 'is-mapped', but still part of the
GdkToplevelState, and is now replaced with a separate boolean in the
GdkSurface structure.

It also caused issues when a widget was unmapped, and due to that
unmapped a popover which hid its corresponding surface. When this
surface was hidden, it emitted a state change event, which would then go
back into GTK and queue a resize on popover widget, which would travel
back down to the widget that was originally unmapped, causing confusino
when doing future allocations.

To summarize, one should not hide widgets during allocation, and to
avoid this, make this new is-mapped boolean asynchronous when hiding a
surface, meaning the notification event for the changed mapped state
will be emitted in an idle callback. This avoids the above described
reentry issue.
2020-12-07 20:37:30 +01:00
..
dummy-headers
3DRings.xpm
animated-resizing.c tests/animated-resizing: Use gtk_window_default_size() instead 2020-12-07 20:37:29 +01:00
animated-revealing.c Use gtk_revealer_set_child throughout 2020-05-04 22:53:08 -04:00
apple-red.png
blur-performance.c
check-n.xpm
check-y.xpm
dialog.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
FilesQueue.xpm
frame-stats.c tests: Add common_cflags to build 2020-03-06 18:21:58 +01:00
frame-stats.h
gnome-textfile.png
gradient1.png
gtkgears.c *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
gtkgears.h
listmodel.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
marble.xpm
merge-1.ui
merge-2.ui
merge-3.ui
meson.build gtk: Remove GtkFileChooserButton 2020-12-03 02:02:27 +01:00
Modeller.xpm
motion-compression.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
mydialog2.ui tests: Fix testdialogtest 2020-05-11 03:36:51 +05:00
mydialog.ui Drop the can-default property 2019-04-28 23:28:39 +00:00
overlayscroll.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
popover2.ui Drop the margin property 2020-02-25 20:59:04 -05:00
popover.ui
portland-rose.jpg Add a test for overlay blur 2017-09-04 14:28:16 -04:00
rendernode-create-tests.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
rendernode.c gsk: Avoid using gtk css types in public api 2020-11-16 23:27:44 -05:00
scrolling-performance.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
selectionmode.ui tests: Fix testselectionmode 2020-05-11 19:21:03 +05:00
service-login.oga Add a quick sound test 2020-04-29 10:54:40 -04:00
service-logout.oga Add a quick sound test 2020-04-29 10:54:40 -04:00
showrendernode.c tests: Use gtk_window_set_default_size() when appropriate 2020-12-07 09:46:39 +01:00
simple.c tests: Add missing margin to simple test 2020-05-11 02:49:09 +05:00
syncscroll.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
test.xpm tests: Add common_cflags to build 2020-03-06 18:21:58 +01:00
testaccel.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testadjustsize.c testadjustsize: Fix overlay/box confusion 2020-08-29 11:11:29 +02:00
testappchooser.c tests: Stop using radio buttons 2020-08-30 21:23:25 -04:00
testappchooserbutton.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testapplication.desktop
testassistant.c tests: Stop using radio buttons 2020-08-30 21:23:25 -04:00
testbaseline.c tests: Stop using radio buttons 2020-08-30 21:23:25 -04:00
testblur.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testborderdrawing.c testborderdrawing: Don't crash on exit 2020-08-05 08:19:07 -04:00
testcalendar.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testcellarea.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testcellrenderertext.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
testcenterbox.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
testclipboard2.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
testcolumnview.c tests: Fix for new tranfer behavior of constructors 2020-11-17 19:04:39 +01:00
testcombo.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testcombochange.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
testdialog.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testdnd2.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testdnd.c Stop setting GTK_IM_MODULE_FILE 2020-06-28 13:42:02 -04:00
testdropdown.c dropdown: Revise constructors 2020-07-26 18:09:54 -04:00
testellipsise.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
testentrycompletion.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testentryicons.c tests: Stop using radio buttons 2020-08-30 21:23:25 -04:00
testerrors.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testexpand.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testfilechooser.c testfilechooser: Stop listening to ::selection-changed 2020-10-14 15:06:12 -04:00
testflowbox.c Change button hierarchy 2020-08-29 16:46:28 +02:00
testfontchooserdialog.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testfontoptions.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
testframe.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testfullscreen.c gdk/toplevel: Negotiate surface size via a compute-size signal 2020-08-05 15:49:00 +02:00
testgaction.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testglarea.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testglblending.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
testgmenu.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testgrid.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testgridbaseline.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
testgrouping.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
testgtk2.css
testgtk.1
testgtk.c gdk: Replace 'WITHDRAWN' state with async 'is-mapped' boolean 2020-12-07 20:37:30 +01:00
testgtk.css tests: Fix testgtk 2020-05-11 18:12:18 +05:00
testheaderbar.c Add a testcase for controls in headerbars 2020-09-12 10:58:07 -04:00
testheadercontrols.ui Add a testcase for controls in headerbars 2020-09-12 10:58:07 -04:00
testheightforwidth.c Fix tests with regard to GtkBuilder <requires>. 2020-11-07 16:17:36 +01:00
testhover.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testiconview-keynav.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
testiconview.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testinfobar.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testinhibitshortcuts.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testkineticscrolling.c gtkscrolledwindow: Drop gtk_scrolled_window_set_capture_button_press() 2020-09-25 18:57:40 +02:00
testlevelbar.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testlist2.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testlist3.c Remove ATK 2020-07-26 20:31:14 +01:00
testlist4.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testlist.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testlistdnd.c columnview: Simplify column constructors 2020-09-25 13:57:10 -04:00
testlistview-animating.c Make sorter constructors return exact types 2020-09-05 21:50:15 -04:00
testlistview.c Make sorter constructors return exact types 2020-09-05 21:50:15 -04:00
testlockbutton.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testlogout.c Change button hierarchy 2020-08-29 16:46:28 +02:00
testmenubutton.c tests: Use gtk_window_set_default_size() when appropriate 2020-12-07 09:46:39 +01:00
testmodelbutton.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testmountoperation.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
testnotebookdnd.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testnouiprint.c
testoutsetshadowdrawing.c testoutsetshadowdrawing: Make window background white 2020-08-29 16:46:28 +02:00
testoverlay.c grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
testoverlaystyleclass.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testperf.c build: bump to sysprof 4 ABI 2020-07-28 11:22:33 -07:00
testplacesview.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
testpopover.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testprint.c Update callers 2017-01-19 13:50:17 -05:00
testprintfileoperation.c
testprintfileoperation.h
testrevealer2.c Drop style class defines 2020-08-14 07:03:27 -04:00
testrevealer.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testscale.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testscrolledge.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testscrolledwindow.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testscrolltofocus.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
testselectionmode.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testsensitive.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testsounds.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testspinbutton.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
testsplitheaders.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
teststack.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
teststackedheaders.ui tests: Fix teststackedheader 2020-05-11 19:33:05 +05:00
testswitch.c Replace most remaining uses of container api 2020-05-11 22:38:21 -04:00
testtexthistory.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testtexture.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
testtextview2.c Change button hierarchy 2020-08-29 16:46:28 +02:00
testtextview.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
testtooltips.c Remove pointless inout arguments 2020-11-17 16:38:12 +00:00
testtransform.c Beef up transform testcase 2020-09-04 13:20:59 -04:00
testtreechanging.c scrolledwindow: Don't take adjustments in new() 2020-06-24 11:25:09 -04:00
testtreecolumns.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testtreecolumnsizing.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testtreednd.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testtreeedit.c Clean up uses of gtk_toggle_button_get/set_active 2020-08-30 21:23:25 -04:00
testtreeflow.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
testtreefocus.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testtreemodel.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testtreepos.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testtreesort.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testtreeview-plan.txt
testtreeview.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
testupload.c testupload: Test more formats 2020-09-26 17:26:12 -04:00
testverticalcells.c *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
testvolumebutton.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testwidgetfocus.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
testwidgettransforms.c testwidgettransforms: Fix GtkBox casts 2020-07-17 07:14:50 +02:00
testwindowdrag.c Change coordinate translation apis to take doubles 2020-05-17 17:17:31 -04:00
testwindowsize.c gdk: Remove GdkSurface::size-changed 2020-12-07 20:37:29 +01:00
treestoretest.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
variable.c
variable.h
video-timer.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00