Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319026 - Focus box in Table with PaintItem listener doesn't update left bound correctly
Summary: Focus box in Table with PaintItem listener doesn't update left bound correctly
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows Vista
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 11:54 EDT by Tim Moore CLA
Modified: 2022-02-26 11:04 EST (History)
0 users

See Also:


Attachments
Interactive test (2.17 KB, text/plain)
2010-07-06 11:55 EDT, Tim Moore CLA
no flags Details
Focus box behavior. Left is normal. Right is with a PaintItem listener added. (1.43 KB, image/png)
2010-07-06 11:58 EDT, Tim Moore CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Moore CLA 2010-07-06 11:54:11 EDT
Build Identifier: 

Seen on Windows XP and Vista.

If you add a PaintItem listener (or similar) to a Table, then get the focus box to appear, it doesn't update its left bound correctly.

Reproducible: Always

Steps to Reproduce:
Run the test case which I will attach. Select a node, get the dotted focus box thing to appear by tapping cursor up or down. Deselect the node to make it easy to see. Now resize the first column, the left bound of the focus box is not adjusted when the column is made very thin.
Try commenting out the PaintItem listener and see that it does adjust.
Comment 1 Tim Moore CLA 2010-07-06 11:55:05 EDT
Created attachment 173575 [details]
Interactive test
Comment 2 Tim Moore CLA 2010-07-06 11:58:42 EDT
Created attachment 173576 [details]
Focus box behavior. Left is normal. Right is with a PaintItem listener added.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:16:20 EDT
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.
Comment 4 Eclipse Genie CLA 2022-02-26 11:04:13 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.