Some bugs encountered. Code attached.

Dear Sirs,
I would like to report some bugs encountered in recent days. For more precision, the code of examples is attached in post.
Problem: ContentHeight totally crazy
ContentHeight is crazy, at the moment that adds new container.
Reproduce:
1. Run the code
2. Set focus to end of text
3. Click in button "Add Image"
Look the containerHeight's label, is totally crazy (for me, is displayed 266798px).
Problem: Inline Graphic with float, disappears?
When insert graphic with float (left or right), just disappears.
Reproduce:
1. Run the code
2. Click in button "Add Image (Float left)"
Where is the graphic?
Problem: ContentHeight is limited, when verticalScrollPolicy = ScrollPolicy.OFF
Even if you put a higher content, the containerHeight is limited to container height.
Reproduce:
1. Run de code
2. s tSet focuo in container
2. Click in button "Scroll OFF"
Verify that the containerHeight's label, displays the maximus height of the container, but its content is bigger than it.
Thanks in advance.
- Marcos

I will look into the value you are getting back for contentHeight. One thing to note is that contentHeight is an estimated value. TLF will compose as much text as fits in the container, but if it is a scrollable container, and there is more text outside the container, then what is returned is an estimation based on text size of the text that fits. I'm not sure that explains what you're seeing, but it's something to be aware of. To get a fully accurate contentHeight or contentWidth, you have to call compose prior to getting contentHeight/contentWidth.
Unfortunately floats are not yet fully implemented, so I would suggest not depending on them. Right now we are consolidating -- cleaning up APIs, fixing bugs, etc., and won't look at new features such as floats until that's completed.
Your third point was about contentHeight being limited by compositionHeight when scrolling is OFF. This is by design. The idea is that the remaining text can flow into the next container. If you want the container to size itself to fit the text, set the compositionHeight to NaN.
I hope this helps. Thanks for reporting these problems!
- robin

Similar Messages

  • SQL Developer 2.1rc1 - some bugs

    Hi!
    I'd like to report some bugs I've encountered with the RC1 version of Oracle SQL Developer (Version 2.1.0.63 build MAIN-63.41).
    - The syntax error highlighting is not very good - I've successfully executed queries almost completely underlined with pink wavy lines
    - something strange happens when I hit <Enter> while the cursor is at the end of a row that reads " union all" - a new line does not get inserted, and the cursor disappears. <Backspace> and <Enter> again, and it works ok.
    - query execution - the command I entered gets modified, stripped of comments, as far as I can tell, and if I get an error report, the line number reported is off by a couple of lines. I remember this working better in 1.5.

    I found a few bugs in the first ten minutes of use:
    - The main one was that my backspace key didn't work, no idea why this was as my keyboard is pretty standard?
    - The search/highlight window changes size when adding a new highlight, and the close button then disappears until it's re-sized
    - Editing xmldata in a window works, if it's not syntax highlighted or able to be pretty printed, but clicking ok does not change the value? Should either work or warn that it doesn't work.
    - In the query result window is 'SQL' in blue, not easy to notice that it's a button'y thing to click and see the SQL that was executed. Also, why does the little bubble with the code just float in the middle and not point to anything in particular? Surely it could point to the 'SQL' button or similar?

  • [svn:fx-trunk] 10075: Cleanups from the spark text changes and some bug fixes for VideoElement.

    Revision: 10075
    Author:   [email protected]
    Date:     2009-09-08 18:01:58 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Cleanups from the spark text changes and some bug fixes for VideoElement.  Also some PARB changes for UIComponent.
    TitleBar: Changing the skin part type from Label to Textbase
    UIComponent: skipMeasure()->canSkipMeasurement() to be in line with GraphicElement.  This has been PARB approved.
    UIComponent: same with hasComplexLayoutMatrix...this replaces hasDeltaIdentityTransform.  This has been PARB approved.
    StyleProtoChain: cleanup around what interfaces to use
    TextBase: clean up code that?\226?\128?\153s no longer needed.
    VideoElement: Fixing 4 bugs:
    SDK-22824: sourceLastPlayed keeps track of what video file we?\226?\128?\153ve called play() with last.  This way if a user pauses the video and wants to start it up again at the same point, we can call play(null) on the underlying FLVPlayback videoPlayer.  However, anytime the souce changes, we want to null out sourceLastPlayed.  This was causing a bug when someone set the source to null and then reset it to it?\226?\128?\153s previous value.
    SDK-23034 (GUMBO_PRIORITY): This deals with some FLVPlayback quirks around sizing.  I had put in a fix so we weren?\226?\128?\153t setting width/height on the underlying videoPlayer too many times, but apparently we need to make sure it always gets called once.  Hopefully when switching to Strobe we can cleanup this logic...I put a FIXME in to do this.
    SDK-21947/ SDK-22533 - some video files don?\226?\128?\153t always send out a metadata event.  I?\226?\128?\153m not quite sure why this is, but in case this happens, we do a check in the ready handler to see whether we should call invalidateSize() to make sure it gets sized properly.
    QE notes:-
    Doc notes:-
    Bugs: SDK-22824, SDK-23034, SDK-21947, SDK-22533
    Reviewer: Glenn, Corey
    Tests run: checkintests, Button, GraphicTags, VideoElement, and VideoPlayer (some VideoPlayer were failing, but I think it should be fine)
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22824
        http://bugs.adobe.com/jira/browse/SDK-23034
        http://bugs.adobe.com/jira/browse/SDK-21947
        http://bugs.adobe.com/jira/browse/SDK-22533
        http://bugs.adobe.com/jira/browse/SDK-22824
        http://bugs.adobe.com/jira/browse/SDK-23034
        http://bugs.adobe.com/jira/browse/SDK-21947
        http://bugs.adobe.com/jira/browse/SDK-22533
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleB ar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
        flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstan ce.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransfor mInstance.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionIns tance.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as

  • In Earthlink web mail, when I print an email the body of the email is in some kind of code or symbols. But not in Explorer

    The header of the email prints fine but the text or body of the email is in some kind of code or a jumble of symbols

    You could try the '''''reset''''' described here, but that probably won't help you. <br />
    http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer
    Probably caused by this Bug in Firefox. <br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=454532 <br />
    ''(Please don't comment in that Bug report unless you can provide a patch to fix the problem.)'' <br />
    https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

  • [svn] 2578: Some bug fixes.

    Revision: 2578
    Author: [email protected]
    Date: 2008-07-23 06:31:04 -0700 (Wed, 23 Jul 2008)
    Log Message:
    Some bug fixes. hostComponent is now usable inside MXML script blocks (Skins) to refer back to the host component in a strongly typed manner. hostComponent now also works inside binding statements. Updated most skins to use hostComponent instead of data.
    QA: Yes
    Reviewer: Paul and my split personality Mwinyimkuu
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ApplicationSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ButtonSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/CheckBoxSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/PanelSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/RadioButtonSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextInputSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ToggleButtonSkin.mxml
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/HostComponentEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/WebTierAPI.java

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • [svn:fx-trunk] 12304: Updating to new OSMF to get some bug fixes.

    Revision: 12304
    Revision: 12304
    Author:   [email protected]
    Date:     2009-11-30 15:46:40 -0800 (Mon, 30 Nov 2009)
    Log Message:
    Updating to new OSMF to get some bug fixes.
    QE notes: -
    Doc notes: -
    Bugs: SDK-24195, SDK-24329
    Reviewer: -
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24195
        http://bugs.adobe.com/jira/browse/SDK-24329
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/osmf/src/org/osmf/media/LoadableMediaElement.as
        flex/sdk/trunk/frameworks/projects/osmf/src/org/osmf/media/MediaPlayer.as
        flex/sdk/trunk/frameworks/projects/osmf/src/org/osmf/utils/MediaFrameworkStrings.as

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • Functional Module:Need  some sample source code.

    Hi All,
    I have created  a customized table   u2018ZStock_Order_Dealeru2019 with the following fields:
    Stock_Order_Dealer
    Dealer Number
    S2D order Number     
    Line item Number     
    Material Number     
    Ordered Quantity     
    Batch Number     
    Received Quantity     
    S2D from D2G     
    Receiving Date
    I need to  create a remote enabled function module in CRM system to fetch the u2018Batch Numberu2019 and u2018Received Quantityu2019 fields when the Material Number is fed to it.Please note that the input and output should be tables.
    Could some one please give some sample source code for this.

    I used table types and select queries to resolve this problem.

  • ICloud changes my calendar colors.  I am no longer able to pick my own calendar colors.  This is due to some bug on iCloud.  FIX THIS PROBLEM IMMEDIATELY APPLE!!!  THIS IS RIDICULOUS.  iCloud should not force us to pick calendar colors.

    iCloud changes my calendar colors.  I am no longer able to pick my own calendar colors.  This is due to some bug on iCloud.  FIX THIS PROBLEM IMMEDIATELY APPLE!!!  THIS IS RIDICULOUS.  iCloud should not force us to pick calendar colors.  We should be able to pick our own!!!!!

    Same here, Calender keeps reverting to Purple a color I never ever even picked, screw you iCloud, you continue to annoy me and baffle me with your inadequecies

  • Where can I find some appications' source code  written by swing

    hello, everyone
    I have studied swing for one month, and I have some basic idea of the swing.
    but I want to learn more about the swing. can anybody tell me how can I improve
    myself now or show me where can I find some appications' source code written
    by swing in the internet.
    thank you very much!
    your help is very appreciated!

    Check this tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    It explains all the Swing components with many code samples.
    HTH
    stefan

  • Just got some bugs with Dock and Dashboard

    Hi!
    Been using my mac for 1 year now. Sudden some bugs just came by.
    I was using two widgets; "Ordbok" and "TriTrans".
    When I now try to use TriTrans I get this: http://bildr.no/view/75953 and I can't enter a search.
    When I try to use Ordbok i get this: http://bildr.no/view/75954
    I tried to make a new account just to see if I got the same problem and I sudden did. Then I went back to my main account and deleted the Dock, Desktop and Dashboard pref files (in Library/Preferences). Rebooted and tried again. Didn't work.
    When I made a new account I also noticed that the Dock had an icon with the "question mark" (this ting: ?). When I hovered it I got: "iMovie". Some icons to the left I got a working "iMovie HD". Where does the iMovie (wannabe) icon come from? (It was a new account).
    Anyways, someone now how to fix some of these?
    Thanks!
     MacBook   Mac OS X (10.4.9)   2 Ghz Intel Core Duo, 1 Gb RAM

    Ahh, that solves my widget problem. Thanks!
    Btw, someone who got any idea of the "question mark" icon I get in the dock when deleting the Dock config file or add new user? It says "iMovie" but beside it I got the "iMovie HD" icon, working.

  • Some bugs using socks5 proxy mode

    Hi, i have FireFox v28. I was develop soks5 proxy and find some bugs on FF. I use options on FF soks5 proxy at 127.0.0.1:2002 and open site https://ssl.exelab.ru/f/
    Here is an packets in bytes:
    [FF] 05-01-00 // FireFox say here that support one auth on free mode it's ok
    [S5] 05-00 // Soks5 accept connection in free mode
    [FF] 05-01-00-03-0D-73-73-6C-2E-65-78-65-6C-61-62-2E-72-75-01-BB // Here bugs
    Bug #1
    Why FF send address type IPv6? On my system i have only two network interface what support only IPv4. IPv6 has dissabled.
    Bug #2
    Wrong packet format. FireFox send only 12 bytes
    Protocol version: 05
    Command type: 01 // connect
    Reserved: 00
    Address type: 03 //IPv6
    Address: 0D-73-73-6C-2E-65-78-65-6C-61-62-2E-72-75 // has only 14 bytes
    Port: 01-BB // SSL 443
    In RFC1928 (http://www.ietf.org/rfc/rfc1928.txt) says what IPv6 must be 16 bytes!
    Bug #3
    Where FF took this address? It is not right. FF had to ask about the proxy address and address type using the command domain.
    Thanks

    127.0.0.1:2002 is your home network. I will assume that you are developing the sock5 proxy on your home network.
    IPV6 is backwards compatible. If it is sending or asking for IPV6 address then the site that you are navigating to has an IPV6 associated with the dns name. Do you allow IPV6 in the about:config page? (network.dns.disableipv6 set to true? )
    IPv6 addresses can be 16 or fewer, so this address is fine. Also the address comes from a reverse lookup gethostname() or in the case of IPV6() a domain ip6.arpa pointer is used. What is configured in Firefox how to connect to the network? Have you manually set up the proxy ip and port?

  • IPhone 5S: Some Bugs I've Noticed

    Hello! I got an iPhone 5S for Christmas, I absolutely love the phone. But I've noticed some bugs, so far two. So the first one is an iTunes Radio bug. Sometimes when I open it and click on a station. It will pause for a second, and kick me back to my home screen. It rarely happens but is annoying. Is there a fix for it? Also the second bug. I think it might happen on certain apps but I'm not sure, so far it has happened to me on the "YouTube" app, and one of my games "Hay Day". It's kinda weird, I opened these apps, and both did exactly the same both times. I tried closing out of them by the home button, and I tried locking my phone. And neither of these actions responded. I even tried turning off my phone. But still no response.
    So after a minute or two it reboots to the lock screen. It's very annoying also. Is there a way to fix this as well? These are the only problems I've had with the phone so far. And I sorta want them fixed!

    Apple genius bar will exchange for an Out of Warranty exchange unit identical to donor for $269 ,which you are likely to end up spending in the end anyway
    Should have purchased Applecare +

  • I've discovered some bugs in WLM 12

    I have observed some bugs in Windows Live Mail 12.  Where may I post them?

    You're welcome. To expedite the verification you can also post the request to the end of this thread.
    Verify Your Account 17
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Where are Cost Codes attached to a Project Number in Financials?

    Where are Cost Codes attached to a Project Number in Financials?
    Don't know where to start looking in the documentation..
    I need to know where I can add GL Cost Codes to a particular Project number for our testing of i-Expenses.
    anybody know?
    many thanks,
    Steven

    Well, not sure what you mean by "cost codes". Normally when I see that wording I think of work breakdowns within a project. I don't think of cost codes as being general ledger numbers. But maybe you are meaning to say general ledger number? I see "Project Number" though, which makes me think you are talking about project accounting. You set up your projects in project accounting and create what Oracle calls Tasks (I like to them of them as cost codes) that you can assign to your projects. So this would all be in Project Accounting. You may want to download the various user guides for Oracle Projects to start learning about this application. You must be running project accounting, correct? So maybe you need to find the person in your company who knows this application and start to get educated on it. There is a separate forum for Projects where this may be a better place to ask this question. You may need to provide more detail on what you are trying to do if you are not involved with project accounting.
    John Dickey

  • Request for some Visual Basic code?

    Hello not sure if I'm posting in the correct area but I have a request for some Visual Basic Code.
    I use a particular document in word quite often to fill out forms for my job. However I would like something that allows me to open a new instance of the same document while closing the current AFTER I print it without any extra mouse clicks, or if after
    I print the document the forms are cleared and I can start over.
    P.S. I would take the time to learn how to do it myself but I currently reside in South Korea and work for the USAF so I don't have much time.

    Hi,
    I suggest you post the request to Word for Developers forum since it needs support for coding:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support

Maybe you are looking for

  • Exchange Server 2010 Mailflow between Internet Facing-Site and No Internet Facing-Site

    Hi all, My environment there are two sites, Internet Facing-Site and No Internet Facing-Site. The mail flow between them, it isn't working. The messages stuck in the queue. Default Receive Connector No internet facing-site is configured, bellow: Defa

  • My adobe illustrator cc won't open files

    Hey every one When i open Ai file my adobe illustrator cc won't open the but for other file is good like JPG can you tell me how to fix it ?? and thanks

  • Chinese Characters in Netlogon.log

    Hello, I have enabled netlogon logging, and am noticing a few things that I am unable to diagnose after further research. My main concern is with a critical error that seems to occur every ten minutes. Occasionally the Chinese characters change but a

  • ACPI wakeup kernel 2.6.27

    I am trying to get ACPI wakeup to work. Kernel is 2.6.27 When doing as a root echo 0 > /sys/class/rtc/rtc0/wakealarm echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm and then cat /sys/class/rtc/rtc0/wakealarm  shows nothing...! and

  • Formula variable type customer exit

    Hi all, Can you explain me how link variable formula processing type customer exit to an infoobject? Can you give an example of the exit? Thanks Gianmarco