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

Key: SDK-14458
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Joan Lafferty
Reporter: Ryan Frishberg
Votes: 0
Watchers: 2
Operations

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

Setting borderThicknessTop/Bottom/Right/Left in Panel doesn't update properly

Created: 01/25/08 04:50 PM   Updated: 01/29/08 01:37 PM
Component/s: mx: Panel
Security Level: Public (All JIRA Users )

Issue Links:
Duplicate
 
This issue is duplicated by:
SDK-14456 Panel styles borderThicknessTop, bord... None Closed
Relationship
This issue relates to:
SDK-11279 Panel does not display a solid border... B Closed
 

Severity: Incorrectly Functioning with Workaround
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex 3 (Released)
Milestone: SDK Moxie RC4
Affected OS(s): All OS Platforms
Steps to Reproduce:
Steps to reproduce:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
        <![CDATA[
            [Bindable]
            public var myval:int = 20;
        ]]>
    </mx:Script>
    <mx:Panel id="mypanel" title="My Panel" width="100%" height="100%" layout="vertical" borderThicknessTop="{myval}">
        <mx:Button label="Click Me" click="myval=0"/>
    </mx:Panel>
</mx:WindowedApplication>



 
 Actual Results:
 The panel doesn't update
 
 Expected Results:
The panel's top should update properly.
 
 
 Workaround (if any):
 
 
Language Found: English
Bugbase Id: none
Triaged: No
Regression: Yes
QA Owner: Joann Chuang
Resolved by: Jason Szeto
Confirmed Version: SDK Moxie RC4 - 3.0.0.362
Participants: Jason Szeto, Joan Lafferty and Ryan Frishberg


 All   Comments      Sort Order:
Ryan Frishberg - [01/25/08 04:51 PM ]
This is a regression with change 219 dealing with SDK-11279.

From Jason:

"I have a local fix and a cyclone ready. The code has been reviewed by Glenn.
I don't think there is a workaround. The change should be very low risk. PanelSkin keeps a cache of its borderMetrics. When certain styles change, we are supposed to flush this cache and recalculate the borderMetrics. We weren't doing this for the borderThicknessTop/Bottom/Left/Right styles. "

Joan Lafferty - [01/25/08 05:17 PM ]
The sample in the bug uses WindowedApplication, but, I just wanted to clarify that this bug is not unique to AIR. Its a general Flex bug. Both Joann and I also reproduced the bugs.

Jason Szeto - [01/28/08 02:07 PM ]
Added the borderThicknessTop/Bottom/Left/Right styles to the list that flush the borderMetrics cache.

Ryan Frishberg - [01/28/08 06:24 PM ]
Assigning to Joan

Joan Lafferty - [01/29/08 01:37 PM ]
confirmed fixed in Flex SDK build 314