Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363764 - [Viewers] TableViewer: Warning about reentrant call when using virtual style and owner-draw
Summary: [Viewers] TableViewer: Warning about reentrant call when using virtual style ...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 19:39 EST by Nam Quang Tran CLA
Modified: 2019-11-14 03:46 EST (History)
3 users (show)

See Also:


Attachments
Testcase (2.57 KB, text/x-java)
2011-11-14 19:40 EST, Nam Quang Tran CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.