WebListbox blank in 2023 R2

In 2023 R2, sometimes I am seeing my WebListBox fail to show any content. If I adjust the browser window size, it displays immediatlely. I feel like this is a recurrence of a prior bug. Anyone else seeing this?

IIRC, I had to add a specific hack to fix this bug before (an extra refresh I think). I would not surprise me if that doesn’t work with the updated control.

Not yet.

@Ricardo_Cruz

It just happened, and in the Console I saw this:

Console Log
[Error] TypeError: undefined is not an object (evaluating 'c[D].style')
	ee (datatables.min.js:16:40103)
	O (datatables.min.js:16:16027)
	(anonymous function) (datatables.min.js:16:63944)
	iterator (datatables.min.js:16:51891)
	(anonymous function) (datatables.min.js:16:53375)
	(anonymous function) (datatables.min.js:16:63726)
	iterator (datatables.min.js:16:51891)
	(anonymous function) (datatables.min.js:16:63489)
	(anonymous function) (datatables.min.js:16:53375)
	(anonymous function) (datatables.min.js:16:69992)
	iterator (datatables.min.js:16:51891)
	(anonymous function) (datatables.min.js:16:53375)
	(anonymous function) (datatables.min.js:16:2055)
	(anonymous function) (datatables.min.js:16:4125)
	each (jquery-3.5.1.min.js:2:2981)
	w (datatables.min.js:16:3569)
	(anonymous function) (datatables.min.js:16:86752)
	getDatatableAPIObject (Xojo.js:6:123314)
	render (Xojo.js:6:118561)
	refreshCallback (Xojo.js:6:45076)
	doControlRefreshes (Xojo.js:6:48493)
[Error] TypeError: undefined is not an object (evaluating 'c[D].style')
	ee (datatables.min.js:16:40103)
	O (datatables.min.js:16:16027)
	(anonymous function) (datatables.min.js:16:63944)
	iterator (datatables.min.js:16:51891)
	(anonymous function) (datatables.min.js:16:53375)
	(anonymous function) (datatables.min.js:16:63726)
	iterator (datatables.min.js:16:51891)
	(anonymous function) (datatables.min.js:16:63489)
	(anonymous function) (datatables.min.js:16:53375)
	(anonymous function) (datatables.min.js:16:69992)
	iterator (datatables.min.js:16:51891)
	(anonymous function) (datatables.min.js:16:53375)
	(anonymous function) (datatables.min.js:16:2055)
	(anonymous function) (datatables.min.js:16:4125)
	each (jquery-3.5.1.min.js:2:2981)
	w (datatables.min.js:16:3569)
	(anonymous function) (datatables.min.js:16:86752)
	getDatatableAPIObject (Xojo.js:6:123314)
	createdRowCallback (Xojo.js:6:128371)
	createdRow (Xojo.js:6:125951)
	map (jquery-3.5.1.min.js:2:3511)
	R (datatables.min.js:16:47307)
	St (datatables.min.js:16:20627)
	x (datatables.min.js:16:17672)
	It (datatables.min.js:16:28149)
	(anonymous function) (datatables.min.js:16:26760)
	e (datatables.min.js:16:25771)
	c (jquery-3.5.1.min.js:2:28300)
	fireWith (jquery-3.5.1.min.js:2:29041)
	l (jquery-3.5.1.min.js:2:79812)
	(anonymous function) (jquery-3.5.1.min.js:2:82256)
> Selected Element
< <div class="dataTables_scrollBody" style="position: relative; overflow: auto; width: 100%; max-height: 1166px; height: 1166px;">…</div>

Reloading the page, the WebListBox shows content as expected, and those errors are not present in the Console.

1 Like

This happens perhaps 1 time out of 20, so it’s not easy to track down. My impression is that 2023 R2 is more finicky about setting up UI controls in the Opening event - almost as if there is a race condition or timing bug.