Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335347 - [Forms] ControlDecoration are visible in Section widget when the section is collapsed
Summary: [Forms] ControlDecoration are visible in Section widget when the section is c...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 12:13 EST by Baptiste Mesta CLA
Modified: 2019-11-01 12:32 EDT (History)
5 users (show)

See Also:


Attachments
Decorators are visible (23.19 KB, image/png)
2011-01-26 04:12 EST, Baptiste Mesta CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Mesta CLA 2011-01-25 12:13:51 EST
I have org.eclipse.ui.forms.widgets.Section widget that contains control with a org.eclipse.jface.fieldassist.ControlDecoration that is always visible (not only when widget is on focus).

On the first display of the Section even if the widget is collapsed, the control decorators are displayed.

After expanding the section then collapsing it, the decorators are correctly hidden.

It seems that it come from child controls of the Section widget that seems to not be set as not visible.
Comment 1 Remy Suen CLA 2011-01-25 12:21:39 EST
Please provide a reproducible test case.

What version of Eclipse are you using?
Comment 2 Felipe Heidrich CLA 2011-01-25 16:33:11 EST
I believe this is not SWT, please send it back if I'm wrong.
Comment 3 Baptiste Mesta CLA 2011-01-26 04:12:54 EST
Created attachment 187617 [details]
Decorators are visible

Here is a screenshot of the visible decorators.

I can reproduce it in my rcp app but not in a snippet.
I'll try to provide steps to reproduce this bug ASAP.
Comment 4 Prakash Rangaraj CLA 2011-01-31 02:32:32 EST
UA owns the Forms API
Comment 5 Chris Goldthorpe CLA 2011-02-01 16:17:53 EST
If you can create a snippet I will take a look at it.
Comment 6 Georg Breitschopf CLA 2014-07-10 03:01:50 EDT
Analysis: If a section is created without the EXPANDED style, the section is correctly collapsed. However, the visibility state of the client is not set correctly. Hence, the control decoration is rendered.

Workaround: Always use style EXPANDED when creating the section and set desired expanded state of section after client has been set. This ensures that all relevant elements are set to visible=false if not expanded.
Comment 7 Eclipse Genie CLA 2019-11-01 12:32:58 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.

--
The automated Eclipse Genie.