Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 451019

Summary: TableWrap layout system for Sections is truncating elements
Product: [Eclipse Project] Platform Reporter: Leandro Macedo <leandrobbm>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 Keywords: helpwanted
Version: 4.2.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
Part of the class that creates the Section
none
WizardPage class that creates the panel fields
none
WizardPage parent class none

Description Leandro Macedo CLA 2014-11-11 12:12:18 EST
Using a SWT Form structure, we are creating Sections with a help button on the right to expand a Composite containing a multi Text object and a Hyperlink.
If you don't force FILL alignment, grabHorizontal/Vertical, the section client is not draw in the correct size. Sometimes the text itself is truncated, and sometimes the hyperlink is not even shown. I would guess there's something wrong with computSize calculation for the section client. We saw different behavior when we change the application language and orientation.
Comment 1 Leandro Macedo CLA 2014-11-11 12:12:50 EST
Created attachment 248576 [details]
Part of the class that creates the Section
Comment 2 Leandro Macedo CLA 2014-11-11 12:13:35 EST
Created attachment 248577 [details]
WizardPage class that creates the panel fields
Comment 3 Leandro Macedo CLA 2014-11-11 12:14:05 EST
Created attachment 248578 [details]
WizardPage parent class
Comment 4 Daniel Rolka CLA 2014-11-19 09:26:00 EST
Moved to SWT for preliminary investigation

Daniel
Comment 5 Leo Ufimtsev CLA 2014-11-19 11:10:46 EST
1) Self-contained code?
----------------------
Would you be able to add a small self-contained snipped of code that illustrates the issue?

I could run it on my system (Linux Fedora) to see what it does. 


2) Which OS?
------------
Also, the attributes mentioned that it occurs on all hardware, does this imply that you've tested it on Windows/OSX/Linux, or that you tested it on one of them but it appears to affect all of them? If you tested on one of them, which OS did you test on? (The reason I'm asking is that computeSize is done differently on each platform). 

Thank you
Comment 6 Leandro Macedo CLA 2014-11-20 09:40:42 EST
1) Not sure if I have permission to do that. I'll check with project managers

2) Most of my tests were in Windows 2008 R2, but I also saw the issue in Linux RH 6
Comment 7 Eclipse Genie CLA 2020-07-14 13:53:44 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. 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.