Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363764

Summary: [Viewers] TableViewer: Warning about reentrant call when using virtual style and owner-draw
Product: [Eclipse Project] Platform Reporter: Nam Quang Tran <qforce>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, eclipse, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
Testcase none

Description Nam Quang Tran CLA 2011-11-14 19:39:36 EST
Build Identifier: 

In a TableViewer I'm using, JFace always prints a warning about reentrant calls that looks like this: "Ignored reentrant call while viewer is busy. This is only logged once per viewer instance, but similar calls will still be ignored."

I found out that this problem is caused by combining virtual tables with owner-draw. The warning message goes away if I override OwnerDrawLabelProvider#update(ViewerCell) and set some dummy text on the cell, similar to what is done in StyledCellLabelProvider.

Reproducible: Always

Steps to Reproduce:
See the attached snippet.
Comment 1 Nam Quang Tran CLA 2011-11-14 19:40:27 EST
Created attachment 206999 [details]
Testcase
Comment 2 Felipe Heidrich CLA 2011-11-15 16:15:38 EST
moving to UI for comments.
Comment 3 Lars Vogel CLA 2019-11-14 03:46:37 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.