treeview: Don't create an overly large pixel cache
GPUs generally have problems when you create a 35000px wide surface. Luckily X catches this and sends a BadAlloc. Which GTK immediately abort()s on. Testcase included. https://bugzilla.redhat.com/show_bug.cgi?id=1163579
This commit is contained in:
@ -420,6 +420,8 @@ testdata = \
|
||||
textview-margins.ui \
|
||||
toplevel-vs-popup.ref.ui \
|
||||
toplevel-vs-popup.ui \
|
||||
treeview-crash-too-wide.ref.ui \
|
||||
treeview-crash-too-wide.ui \
|
||||
treeview-fixed-height.css \
|
||||
treeview-fixed-height.ref.ui \
|
||||
treeview-fixed-height.ui \
|
||||
|
||||
50
testsuite/reftests/treeview-crash-too-wide.ref.ui
Normal file
50
testsuite/reftests/treeview-crash-too-wide.ref.ui
Normal file
File diff suppressed because one or more lines are too long
50
testsuite/reftests/treeview-crash-too-wide.ui
Normal file
50
testsuite/reftests/treeview-crash-too-wide.ui
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user