Bug 576966 - TableViewer column does not support wrap long text
Summary: TableViewer column does not support wrap long text
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-29 18:01 EDT by Hongying CLA
Modified: 2021-11-07 08:26 EST (History)
1 user (show)

See Also:


Attachments
example plugin project (9.24 KB, application/octet-stream)
2021-10-29 18:01 EDT, Hongying CLA
no flags Details
screenshot to show the problem (77.14 KB, image/png)
2021-10-29 18:02 EDT, Hongying CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongying CLA 2021-10-29 18:01:21 EDT
Created attachment 287403 [details]
example plugin project

In an eclipse RCP application, we have a TableViewer, one column needs to display very long text. We found out Table viewer cell does not support SWT.WRAP style display, thus part of the ext will be hidden; if mouse hovers the cell with long text, the tooltip also does not support text wrap, the popup tooltip text can run out of the screen.


Steps to reproduce:
1. Unzip the attached eclipse plugin project "com.test.tableviewer.7z" to local drive e.g. C:\Temp\com.test.tableviewer

2. Run this plugin project as “Eclipse Application” from unzipped location C:\Temp\com.test.tableviewer\, observer part of the table cell text is hidden; mouse over that table cell, the popup tooltip text can run out of the screen

This problem is reproducible with 4.16/4.17.
Comment 1 Hongying CLA 2021-10-29 18:02:16 EDT
Created attachment 287404 [details]
screenshot to show the problem
Comment 2 Vikas Chandra CLA 2021-11-07 08:26:51 EST
Moving to SWT for initial comments on this issue.