Bug 576966

Summary: TableViewer column does not support wrap long text
Product: [Eclipse Project] Platform Reporter: Hongying <zhang.hongying>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: Vikas.Chandra
Version: 4.17   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
example plugin project
none
screenshot to show the problem none

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.