Bug 309455 - [Viewers][DeferredContentProvider] Bottom rows without labels/icons
Summary: [Viewers][DeferredContentProvider] Bottom rows without labels/icons
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 509006
  Show dependency tree
 
Reported: 2010-04-16 07:50 EDT by Mario Winterer CLA
Modified: 2020-02-05 16:36 EST (History)
0 users

See Also:


Attachments
Example that shows the described behaviour (1.47 KB, application/octet-stream)
2010-04-16 07:52 EDT, Mario Winterer CLA
no flags Details
Suggested patch (2.73 KB, patch)
2010-04-16 08:17 EDT, Mario Winterer CLA
mario.winterer: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Winterer CLA 2010-04-16 07:50:34 EDT
Build Identifier: 20100218-1602, HEAD

When a DeferredContentProvider is used on a VIRTUAL table (viewer), the last n rows of the (visible) client area are blank, i.e. without labels/icons (where n is 1 or more, depending on the height of the table control, but usually less than 10).

When the keyboard is used to scroll down row by row, the last n rows stay blank, while the previously blank rows appear when they move upwards.

Reproducible: Always

Steps to Reproduce:
See code snippet attachment.
Comment 1 Mario Winterer CLA 2010-04-16 07:52:19 EDT
Created attachment 165081 [details]
Example that shows the described behaviour
Comment 2 Mario Winterer CLA 2010-04-16 07:57:12 EDT
This bug might be covered by bug #117165, which was reported in 2005 but is still not fixed.

I think this bug is caused by wrong calculation of the start and/or end index of the visible rows (i.e. the rows that are shown within the client area) in ConcurrentTableUpdator.

My attempt to fix this bug works so far; attachment #30273 [details] of bug #117165 seems to fix it too because they do the same index calculations there.
Comment 3 Mario Winterer CLA 2010-04-16 08:17:04 EDT
Created attachment 165087 [details]
Suggested patch

Patch that fixed the wrong index calculation in ConcurrentTableUpdator and DeferredContentProvider.
Comment 4 Eclipse Genie CLA 2020-02-05 16:36:24 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.