History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-11279
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Joan Lafferty
Reporter: Joan Lafferty
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Panel does not display a solid border when borderStyle="solid" and borderThickness is set.

Created: 06/13/07 12:17 PM   Updated: 10/31/08 06:28 PM
Component/s: mx: Panel
Security Level: Public (All JIRA Users )

File Attachments: 1. File panelBug.mxml (0.2 kb)
2. File panelBug.swf (141 kb)
3. File panelBug_201.swf (127 kb)
4. File panelBug_3.swf (145 kb)

Issue Links:
Duplicate
 
This issue is duplicated by:
SDK-11937 first child of panel cannot be clicke... None Closed
SDK-13012 Panel contents drawing on top of pane... None Closed
SDK-13088 Major issues with Title Window and Pa... None Closed
SDK-13054 Panel content and header over-lap A+ Closed
Relationship
 
This issue is related to by:
SDK-14458 Setting borderThicknessTop/Bottom/Rig... B Closed

Severity: Non Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Moxie M3 (Beta 2)
Milestone: SDK Moxie RC3 and SDK Moxie M3 (Beta 2)
Affected OS(s): All OS Platforms
Steps to Reproduce:
Steps to reproduce:
1. Load the bugfile and look for a red border on the Panel.
This is the code for the Application:
<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">

    <mx:Panel borderStyle="solid" borderColor="0xFF0000" title="Joan's Panel" borderThickness="5"/>

</mx:Application>
 
 Actual Results: There is no border that is visible on the Panel.
 
 Expected Results: There should be a 5 pixel border for this Panel.
Language Found: English
Bugbase Id: none
Needs Release Note: No
Triaged: Yes
Regression: Yes
QA Owner: Kishan Venkataramana
Resolved by: Jason Szeto
Confirmed Version: SDK Moxie RC2 - 3.0.0.256
Participants: Harry B. Garland, Jason Szeto, Joan Lafferty, Josh Tynjala, Kishan Venkataramana, Lauren Park, Peter deHaan (Adobe), S Adams, Samuel Wan and Thibaud van vreckem

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 All   Comments      Sort Order:
Joan Lafferty - [06/13/07 12:18 PM ]
This was reported on the Adobe forums. The bug is an injection since Flex 2.0.1 where it works correctly.

Kishan Venkataramana - [06/14/07 03:58 AM ]
Sending for Internal review.

Joan Lafferty - [06/15/07 03:37 PM ]
IRB -> Opening to Jason for M3

Jason Szeto - [07/17/07 07:39 PM ]
Fix logic in PanelSkin to only handle borderStyle="default". All other values are handled by the parent class.

Joan Lafferty - [07/25/07 01:50 PM ]
This bug isn't fixed yet. The results of using a borderStyle="solid", borderColor and borderThickness are not the same as it was in 2.0.1. After this fix, the size of the Panel is different and the title area is gone. I have uploaded the new behavior (panelBug_3.swf) and the 2.0.1 behavior (panelBug_201.swf).

Returning to IRB.

Lauren Park - [07/25/07 10:57 PM ]
Re-opening.

Jason Szeto - [07/26/07 01:41 PM ]
When borderStyle="solid', we no longer get the header. The reason is that I moved the header and controlBar border metric layout logic out of Panel and into the PanelSkin class.

Jason Szeto - [07/26/07 07:47 PM ]
After some back and forth discussion, Glenn and I have decided that Panel will no longer support any borderStyle besides "default". The reason is that in order to support the other borderStyles, we would have to put in the hacks that were in Panel back in. This would make it more difficult to skin Panel using graphical skins.

Panel will support other borderStyles when using the backwards compatibility flag. In addition, it will be possible to use a combination of explicit heights/widths and absolute positioning to replicate most of the old behavior for alternate borderStyles.

PanelSkin's implementation of alternate borderStyles will be mostly working, but won't layout the header and control bar in the correct locations, nor will it size the Panel to be large enough. We need to document these issues.

Kishan Venkataramana - [07/31/07 06:17 AM ]
Assigning to reporter

Joan Lafferty - [08/06/07 03:32 PM ]
Marking that a technote is needed. I will also add this to our backwards compatibility list.

Jason Szeto - [09/25/07 04:53 PM - edited ]
Release Note: Panel only officially supports the "default" borderStyle. If you use an unsupported borderStyle, use padding values or absolute positioning to place your content in the correct place.

S Adams - [01/13/08 04:33 AM ]
This is not an acceptable solution.

Josh Tynjala - [01/14/08 11:50 AM ]
I agree with S Adams. This is clearly not the correct behavior for a Panel.

Doug McCune agrees too:
http://dougmccune.com/blog/2008/01/12/calling-bullshit-on-a-resolved-flex-bug

Joan Lafferty - [01/16/08 12:23 PM ]
We are re-opening this issue for investigation because of all the feedback from customers.

Jason Szeto - [01/16/08 06:06 PM ]
Use a combination of the PanelSkin and HaloBorder to calculate the borderMetrics when borderStyle != "default". Added in code to Panel.layoutChrome to inset the chrome by the borderThickness in a very narrow case to match 2.x behavior.

Joan Lafferty - [01/17/08 04:36 PM ]
The Panel borderStyles are officially back. confirmed bug fixed in SDK build 234

Thibaud van vreckem - [01/18/08 08:11 AM ]
After spending 2 full days making my flex 2 application looking half decent when compiled in plain flex 3 (who would want to use that compatibility flag), i feel like I should add my rant to it.

flex team please, get the containers style together, the whole panel skin and border is... a mess, it has a great potential and flexibility with good ideas, that just needs to be streamlined.

Panels and border types are the raw material of all flex ui designer. and yet that part is probably the most obscure part of flex.

I really believe the panel styling (through borders types or anything) deserve much more than a "hack" to make them half "working" or backward compatible. As a Flex lover, I was really hopping to see them evolve into a strong and flexible styling base for ui designers.

Harry B. Garland - [02/25/08 02:31 PM ]
FYI - I have a Panel skin with scale9 definitions in the CSS that was working in Flex Beta 3, but is now it's broken in Flex 3 that was released yesterday.

Peter deHaan (Adobe) - [02/25/08 02:36 PM ]
Harry B. Garland,

Can you upload a simple test case with the broken skin and we can take a look.

Thanks,
Peter

Samuel Wan - [02/26/08 01:14 PM ]
I ran into the same skinning issue as Harry. When I inserted a control into the content of a Panel, with control width and height set to 100%, the content used to expand to the iner bounds of the scale-9 grid. With the Flex 3 RTM, the content will resize to the bounds of the parent Panel itself... doh.

Anyhow, Flex 3 is beautiful - kudos on an awesome product.

Lauren Park - [10/31/08 06:28 PM ]
Removed Release Note flag.