Datagrid display scrolling bug?

Hello,
I'm developing an AIR application using the 4.1 SDK and have come across inconsistent display behavior from a datagrid when scrolling.
My datagrid has three fixed columns created in MXML with the DataGridColumn tag.  When the datagrid fires a creationComplete event, I then dynamically add additional columns to it, setting the column item renderer to an MXML component.  This is all rather straightforward and when I start the application, everything looks just fine.  However, once I scroll the datagrid, either vertically or horizontally, the values from the dynamically created columns change or empty cells are displayed in their place.  They change every time I scroll.  The fixed columns don't exhibit this behavior.
Has anyone encountered this issue?  Is this a Flex bug and is there a workaround?
Your help is appreciated.
Thanks,
-Jose

itemRenders in DataGrid and other list based controls are recycled, so this often causes problems for scrolling "depending on what you are doing".
Show code and we may be able to help more.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex Training and Support Services

Similar Messages

  • Mac book trackpad scroll BUG - been around since forever - please FIX it!

    Hi all
    This post is aimed for adobe reps
    I'm talking about the scrolling bug on macbooks trackpad and Apple external trackpad
    Sure, there are buggy JS work-arounds, but they don't cover the scenario we need
    Our app is a flex app, with one major scroller for the app, which is unusuable on macs
    Guys, this bug had been around for years
    last mention I came accross is here - http://forums.adobe.com/message/4740815
    and this is about it when it comes to googling for a solution.
    I asked in many forums - flash, flex, starling, feathers etc...
    all pointed back to the flash player
    If you don't intend to open-sourch the flash player runtime
    Can you please fix this nasty bug?
    it is critical, and the fact we can only wait for it to surface your priority lists makes your users feel helpless
    please respond
    please prioritize this bug
    it's basic and cuts of a whole market that will not be able to use our product because of it
    I erge you to consider this as critical
    Thank you

    Jeromie hello
    Encouraged by the possibility you opened - I opened up flash pro
    made the simplest test to see if  I have something basic to start from:
    mc.addEventListener(MouseEvent.MOUSE_WHEEL, on_wheel);
    function on_wheel(e:MouseEvent):void{
            trace('delta: '+e.delta);
    I'm using a macbook pro to test this, and no object seems to respond
    I tried listening on movieclips textfields the stage and the main timeline, without any of those responding
    I checked the reference, which claims it is supported only on windows.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Interacti veObject.html#event:mouseWheel
    I even tried using flash professional built-in components like TextArea, ScrollPane (that are still maintained by Adobe) to see purhaps I missed something surely the Adobe engineers would solve on their own set of components
    but I guess the reference mentions it supports windows only for a reason...
    I hoped it would be out-dated but it seems like it has an updated status.
    it says:
    Dispatched when a mouse wheel is spun over an InteractiveObject instance. If the target is a text field, the text scrolls as the default behavior. Only available on Microsoft Windows operating systems.
    I've tested this behaviour in the browser and actually got something to respond:
    it works on a mac in Firefox, and Chrome, but not in safari
    found an example for you online you can check, it behaves the same.
    doesn't work on safari (most mackbook users use safari...)
    http://blog.flexexamples.com/wp-content/uploads/MouseWheel_test/bin/main.html
    here's another one that uses pure actionscript if you think it has something to do with flex rather then the flash player...
    1. Go to http://darkstar.puremvc.org/
    2. Try scrolling with your mouse wheel or trackpad once the window pops up. Nothing should happen.
    3. Now click the little green icon in the top-right of the application which toggles Fullscreen. Once in full screen, try scrolling with your mouse wheel or trackpad. Scroll should occur as expected.
    here is another simple one:
    works on chrome, doesn't respond on safari
    http://gingerbinger.com/wp-content/uploads/2011/03/MouseWheelSimple.swf
    Jeromie, if you can please point me to a single example that would support scrolling a container, or just catch mousewheel events on a MovieClip
    I would go ahead and build the component my self.
    As I value it as important enough.
    Your input is appreciated
    thanks
    PS:
    here's some really old links that try to complement the flash player lack of support for macs mousewheel events, by trying to inject those events using JavaScript and ExternalInterface:
    Those are old, buggy, not worthy to be called alternatives since they work under narrow restrictions, and frankly, I think the flash player deserves a much more serious support like adobe has for issues it actually want to support and not leave this one for open-source, since the player is propietery
    http://code.google.com/p/swfmousewheel/
    http://code.google.com/p/flex-wmode-mousewheel-handler-example/
    http://blog.earthbrowser.com/2009/01/simple-solution-for-mousewheel-events.html
    http://hasseg.org/blog/post/138/os-x-mouse-wheel-support-for-actionscript-3-flash-applicat ions-v2/
    http://labs.byhook.com/2010/04/09/flash-mouse-wheel-support/
    here is a flash player related bug created on 2009:
    http://bugs.adobe.com/jira/browse/FP-2247

  • BBM V6.1.0.71 Scrolling BUG

    The latest official version of BBM has a disgusting scrolling bug. Where text messages are large or multiple, the cursor gets stuck at around the 3rd or 4th line of text and refuses stubbornly to move further up. One can overcome the problem on a touch screen phone such as 9800 or 9900, but if dependant on the touchpad alone, not usable. Exit the chat and re-enter to try again and often success or persist in scrolling down then up and sometimes lucky.
    This is a pathetic coding bug and it is sad that such poor quality is being delivered out from the RIM stables. Especially since V..71 is already an urgent bug fix. Why then is there no urgent bug fix for the scroll issue?
    To highlight how ridiculous the knock on effect is as a result of poor programming: Consumers are returning their phones to outlets to be repaired and/or replaced just to overcome the problem which is deemed to be the touchpad. Further, the standard RIM policy of not providing a ROLL-BACK or DOWNGRADE facility exacerbates this issue. When searching for downgrade OTA links and running the risk of downgrading, the BBM cursor is lost on OS7 (V6.1.0.49). How bad does this problem get?
    Suffice to say that it is sad to witness such inefficiency from RIM especially after the service fiasco last year. One would think that RIM would be over eager to regain confidence and loyalty in the market.
    Bottom Line RIM: Sort out the mess with a serious sense of urgency that is visible to the public eye.

    You don't need an older version, this version works.
    Just delete it form your application list.
    reboot
    reinstall it from your browser at www.blackberry.com/bbm
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Making a datagrid display properly

    I am looking for an easy solution to make the datagrid
    display correctly. I would assume there is a way to display the
    data in the order of the xml document that is being loaded. Why
    would the component disregard the file it is sent, doing extra
    work, just to make it display in the wrong order? If I send XML
    with the product ID first and the cost second, why should cost come
    first? Is there any simple way to get around this maddnes (or do
    other programmers think that losing control over display logic is
    cool?).
    Sorry if this seems jaded, but I have been looking for answer
    for quite a while. I have tried adding datagridcolumns to the
    datagrid object with no luck, etc. I don't see a solution will
    someone please help?
    Even if there is no solution, would someone at least comment
    and say so, the last post I made about this had no one helping
    either way. Please HELP!!!!

    I understand that the data is coming back as an object proxy,
    but it goes into the dataProvider the same(or such is my
    assumption).
    I am talking about the column order. If I feed this as a
    church bus schedule:
    <joblist>
    <joblistitem>
    <date>12-12-08</date>
    <story>Amy</story>
    <preach>Nathan</preach>
    <cleanbus>Garry</cleanbus>
    </joblistitem>
    </joblist>
    and have everything in the same order, I don't want
    <cleanbus> column to be before the <date> column.
    I should get columns :
    date | story | preach | cleanbus
    I know I can hard code the columns, but there may be someone
    entering the jobs in a different order, or have different names for
    the jobs, or have different jobs all together. They may even prefer
    to have <week> or <Sunday> instead of <date>.
    I tried using that code on the link :
    http://www.cflex.net/showFileDetails.cfm?ObjectID=552
    but am having some type casting problems, just seems like
    there would be a simpler way doesn't it?

  • The itemRenderer CheckBox of Datagrid displays incorrect sometime.

    The itemRenderer CheckBox of Datagrid displays incorrect
    sometime.
    A datagrid has a column:
    <mx:DataGridColumn headerText="selectMe" editable="true"
    dataField="_selected" itemRenderer="{new
    ClassFactory(mx.controls.CheckBox)}"
    rendererIsEditor="true" editorDataField="selected"/>
    There are serveral records which have been get from database.
    the records all are unchecked. after I checked some records , then
    refresh the data from database, the checkBoxs will display
    incorrect sometimes.
    any suggestion?
    thanks.

    It occured frequently. What can I do?

  • Spark datagrid - Horizontal scroll won't work

    I have been unabled to get my full datagrid to scroll on a mobile device. I know they are not optimized for mobile but everything else seems to work ok.
    I have the scroll setting enabled: horizontalScrollPolicy="on"
    This still does not enable my grid to scroll even through the data is there and I can statically set the position and see the different position on the grid.
    The title bar scrolls then snaps back when I take my finger off the screen.
    Any suggestions?

    think many programs in windows support you clicking just beside the scroll arrow and drag out a split
    at least visual studio does that
    test with other apps to narrow it down to if it's excel causing it

  • Display scroll text??

    Hi, is there a way to display scrolling text at the desktop just like in the news?
    Hope there's some guidance regarding the above, thanks.
    jp

    use a timer to create and display a new string
    hello world
    ello world h
    llo world he
    lo world hel
    etc
    plenty of sample code if you search the swing forum for
    scrolling text

  • Scrolling bug in Firefox 3.67 still exists in Beta 4.0b7 - will it ever be fixed?

    https://bugzilla.mozilla.org/show_bug.cgi?id=581240
    I use Firefox to work online with a wiki called Confluence. When previewing a page in any version after 3.66, you cannot scroll properly to see the whole page.
    I would have provided this as feedback, but the feedback button keeps telling me to download the latest Beta and this is it.

    The test case in comment 1 of that bug report shows the Pass alert for me with the current Minefield nightly build. It also works in Firefox 3.5.16 , but not in Firefox 3.6.13
    <pre><nowiki>data:text/html;charset=utf-8,
    <script>
    function onload() {
    document.getElementById("preview").style.display = "";
    document.getElementById("preview").innerHTML = ('<iframe src="data:text/html," scrolling="no"></iframe>');
    var iframe = document.getElementById("preview").firstChild;
    var doc = iframe.contentDocument;
    doc.write("<script src='data:text/javascript,'></"+"script>"+"<script>function onload() {alert('PASS')}</" + "script>");
    doc.close();
    </script>
    <body>
    You should see an alert saying "PASS". Firefox 3.6.7, however, doesn't show the alert.
    <div id="preview" style="display:none">
    </div>
    </body></nowiki></pre>

  • Datagrid smooth scrolling...

    Hi Alex/ All,
           That  was great job. You have implemented smooth scrolling for List..  Based  upon that I have implemented the same in datagrid also..But I am facing  couple of issues...
        1.  I have Item renderer Text..  With in that text I am displaying almost 90 records and it has a huge  height. Accordingly the row height must change .. But what happend in my  case is the data is overlapped on the second row.. the row height  changes to certain height. after that it is not expanding.. records are  displaying and overlapped on the second row and if it still lengthy it  displayed on the third row also... so How can I solve this issue.. The  row height must vary with the itemrenderer..
    2. Second  one is If I scroll vertically it is scrolling smoothly fine. But If I  release the mouse the scroller going to Row end position or row starting  position..
            I just want to fix the scroller position where user releases the Mouse from the vertical scrollbar...
          Can you please help me on this .. It is urgent  ..... I am posting my Datagrid code here...
    package view.components.grid
        import flash.display.DisplayObject;
        import flash.events.Event;
        import mx.controls.Alert;
        import mx.controls.DataGrid;
        import mx.events.ScrollEvent;
        import mx.events.ScrollEventDetail;
        public class CustomGrid extends DataGrid
            private var fudge:Number;
            public function CustomGrid()
                super();
                offscreenExtraRowsOrColumns = 2;
            override protected function configureScrollBars():void
                super.configureScrollBars();
                if (verticalScrollBar)
                    verticalScrollBar.lineScrollSize = .125;  // should be inverse power of 2
            override public function get verticalScrollPosition():Number
                //Alert.show("You are in vertical scroll Position handler");       
                if(!isNaN(fudge))
                    var vsp:Number = super.verticalScrollPosition + fudge;
                    fudge = NaN;
                    return vsp;
                return Math.floor(super.verticalScrollPosition);
            override protected function scrollHandler(event:Event):void
                // going backward is trickier.  When you cross from, for instance 2.1 to 1.9, you need to convince
                // the superclass that it is going from 2 to 1 so the delta is -1 and not -.2.
                // we do this by adding a fudge factor to the first return from verticalScrollPosition
                // which is used by the superclass logic.
                var last:Number = super.verticalScrollPosition;
                var vsp:Number = verticalScrollBar.scrollPosition;
                if (vsp < last)
                    if (last != Math.floor(last) || vsp != Math.floor(vsp))
                        if (Math.floor(vsp) < Math.floor(last))
                            fudge = Math.floor(last) - Math.floor(verticalScrollBar.scrollPosition);
                            trace(last.toFixed(2), vsp.toFixed(2), fudge);
                super.scrollHandler(event);
                var pos:Number = super.verticalScrollPosition;
                // if we get a THUMB_TRACK, then we need to calculate the position
                // because it gets rounded to an int by the ScrollThumb code, and
                // we want fractional values.
                if (event is ScrollEvent)
                    var se:ScrollEvent = ScrollEvent(event);
                    if (se.detail == ScrollEventDetail.THUMB_TRACK)
                        if (verticalScrollBar.numChildren == 4)
                            var downArrow:DisplayObject = verticalScrollBar.getChildAt(3);
                            var thumb:DisplayObject = verticalScrollBar.getChildAt(2);
                             pos = (thumb.y - downArrow.height) / (downArrow.y - thumb.height -  downArrow.height) * maxVerticalScrollPosition;
                            // round to nearest lineScrollSize;
                            pos /= verticalScrollBar.lineScrollSize;
                            pos = Math.round(pos);
                            pos *= verticalScrollBar.lineScrollSize;
                            //trace("faked", pos);
                var fraction:Number = pos - verticalScrollPosition;
                fraction *= rowHeight;
                //trace("was", listContent.y.toFixed(2));
                listContent.move(listContent.x, viewMetrics.top + listContent.topOffset - fraction);
                //trace("now", listContent.y.toFixed(2), fraction.toFixed(2), listItems[0][0].data.lastName);
    Thanks
    Ram

    Renderers must report a correct measuredHeight based on a given
    explicitWidth.  You may need to override measure() method.
    If the rows are so tall they don't fully fit in the DG, there may not be a
    simple solution for MX DataGrid The Spark DataGrid should be able to handle
    it

  • External display scrolling causing loss of color

    I've started running my MacBook Pro with an external display and this strange bug with scrolling has started coming up: After running for a while, a single-app will start to desaturate windows when they scroll. I've seen it happen in the Finder, Safari and Xcode.
    Only the part of the window that has scrolled will lose color (the color actually fades as it scrolls) -- anything new scrolling into the window is bright and colorful when it first appears, then it loses color too. This ONLY happens when scrolling.
    The display is a Samsung 226BW on my Leopard 10.5.1 running original MacBook Pro. (The original Core Duo MBP.) I'm using DVI-D to hook it up. I'm usually running the external monitor by itself (with the MBP lid closed to deactivate the internal display).
    Quitting the app and restarting seems to fix it, but this is a big hassle for obvious reasons (especially when the app is the Finder ;P)
    And here I was thanking my lucky stars that I haven't had quick user switching kill my display calibration anymore on Leopard =)
    Any ideas would be appreciated!

    I'm having a similar problem.
    MDD G4, ATI Radeon 9000 Pro connected to a FujitsuSiemens Scaleoview 24".
    In Safari for example the screen brightness reduces suddenly whilst scrolling, but literally from one pixel to the next! If I scroll back one pixel it brightens again. A similar thing can happen simply by going from one tab to another.
    In the finder it can happen when the dock appears or by simply calling up certain windows. Restarting the finder seems to cure it for a while.
    I'm starting to think that it maybe has something to do with Core Image/Quartz Extreme because it only seems to occur in Apple apps (Finder, Mail, Safari, etc).
    I've tried all of the Monitor, Energy Saver, etc etc settings but to no avail - similarly, any ideas would be much appreciated!

  • DataGrid display problem

    Hi,
    I've given specific height to my grid, i've lots of records
    in the grid. Say, my given height to the grid display 5 records at
    a time. The problem is the partial of six record has also coming
    beneth the grid! Even I use grid.invalidateDisplayList method, it
    also coming at the beneath of the grid! and when i'm scrolling the
    grid, that last record of the present display list, still making
    some very visual disturbment!
    Any workrout around..? Any help!
    Thanks,
    ASB

    You need to define your datagrid columns with the dateField
    property appropriately set. Also, ArrayCollection is not something
    that you use as a child of the DataGrid tag. Use the following
    code, It works as per your requirement.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:DataGrid width="500" dataProvider="{myarr}">
    <mx:columns>
    <mx:DataGridColumn dataField="id"/>
    <mx:DataGridColumn dataField="name"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:ArrayCollection id="myarr">
    <mx:Object>
    <mx:id>123456789123456789</mx:id>
    <mx:name>Peter</mx:name>
    </mx:Object>
    <mx:Object>
    <mx:id>123456789012345678</mx:id>
    <mx:name>Kristina</mx:name>
    </mx:Object>
    </mx:ArrayCollection>
    </mx:Application>
    Thanks
    Harish

  • Mountain lion finder search scroll bug

    Hi all,
    I've found another major bug in Mountain Lion. Previous bugs include:
    https://discussions.apple.com/message/19426052?ac_cid=op123456#19426052
    This bug is in the Finder scrolling function in a search window.
    When searching for a file in Finder (or through Spotlight -> then clicking "Show all in Finder"), the results appear as normal. However, when scrolling down the finder window, the content keeps resetting to the top of the list, making it extremely difficult to find anything that is not displayed in the available window space.
    Hope this gets noticed & fixed in the next update.
    Regards

    I've had this same Spotlight results scroll focus change OS bug ever since Mountain Lion. I've observed it on 3 different macbook pros, both with an upgrade to Mountain Lion from Lion, and also a complete CLEAN install of Mountain Lion on a brand new disk where I've not dragged over any system files, preferences or apps. For me, all ML exhibit this bug from 10.8 to the most current 10.8.3.
    I have not edited the Search Results categories that are selected (in Preferences > Spotlight)
    The only time this has not occurred is in the first 2 days of the using the clean install of ML. The scroll focus behaved correctly even with a lot of results. It's now been a week since the clean install and the scroll focus change bug is now active again since day 3. It is possible to scroll slowly with the mouse wheel/gesture and it won't always (10% of the time?) snap focus to the top.
    Thanks for the reference link above, but it was not helpful to me:
    https://discussions.apple.com/message/12261261#12261261
    The thread refers to OS 10.6., and I did not observe this bug in that OS, or 10.7.
    One recommendations is to delete the plist (preferences), but this is not a practical solution because the problem comes back quickly.
    The other recommendation is to turn off calculate size of files or the Spotlight results folder. It is not possible, as far as I can see, to turn calculate sizes on in the View Options for the Spotlight results window. It is possible to turn on/off sizes as a column in the results, but this made no difference with the bug.
    Other tests I've performed that did not fix the bug:
    Change "Show scroll bars:" to  "Always". This made no difference.
    Change "Click in the scroll bar to:" to "Jump to the spot that's clicked". No difference.
    Other tests that could be performed:
    1) System Preferences > Spotlight: Search Results - turn categories on and off to see if that makes a difference.
    And finally, this has reduced the problem to occurring only 10% of the time now!
    turn off Smooth Scrolling. This is no longer a checkbox in System Preferences > Appearance in 10.8 ML, so you have to use a shell command in Terminal. If you want to explore this approach look at these two references:
    http://hints.macworld.com/article.php?story=20120726122633912
    http://www.marekbell.com/how-to-disable-smooth-scrolling-in-mountain-lion/
    Now I'm waiting to see if other parts of the ML OS will be negatively affected by turning off Smooth Scrolling, and then I'll decide which is worse. Bottom line, this is not a fix, but it seems to have reduced the occurrence of the Spotlight results scroll focus change OS bug.

  • Datagrid smooth scrolling.. Don't want default row jump behaviour..

    Hi All,
          I am displaying large amount of data and each row contains itemrenderer Text. and this Text control displays large amount of data with in that... Whats the problem here is When we scroll vertically it goes jump into another row with showing total data.. I think this is a default property of datagrid. I just want avoid that and I need smooth scrolling of rows.. Can any one have any ideas about this.. any help can appriciable..
    Thanks
    Ram

    Hi Alex,
           That was great job. You have implemented smooth scrolling for List..  Based upon that I have implemented the same in datagrid also..But I am facing couple of issues...
        1.  I have Item renderer Text.. With in that text I am displaying almost 90 records and it has a huge height. Accordingly the row height must change .. But what happend in my case is the data is overlapped on the second row.. the row height changes to certain height. after that it is not expanding.. records are displaying and overlapped on the second row and if it still lengthy it displayed on the third row also... so How can I solve this issue.. The row height must vary with the itemrenderer..
    2. Second one is If I scroll vertically it is scrolling smoothly fine. But If I release the mouse the scroller going to Row end position or row starting position..
            I just want to fix the scroller position where user releases the Mouse from the vertical scrollbar...
          Can you please help me on this .. It is urgent  ..... I am posting my Datagrid code here...
    package view.components.grid
        import flash.display.DisplayObject;
        import flash.events.Event;
        import mx.controls.Alert;
        import mx.controls.DataGrid;
        import mx.events.ScrollEvent;
        import mx.events.ScrollEventDetail;
        public class CustomGrid extends DataGrid
            private var fudge:Number;
            public function CustomGrid()
                super();
                offscreenExtraRowsOrColumns = 2;
            override protected function configureScrollBars():void
                super.configureScrollBars();
                if (verticalScrollBar)
                    verticalScrollBar.lineScrollSize = .125;  // should be inverse power of 2
            override public function get verticalScrollPosition():Number
                //Alert.show("You are in vertical scroll Position handler");       
                if(!isNaN(fudge))
                    var vsp:Number = super.verticalScrollPosition + fudge;
                    fudge = NaN;
                    return vsp;
                return Math.floor(super.verticalScrollPosition);
            override protected function scrollHandler(event:Event):void
                // going backward is trickier.  When you cross from, for instance 2.1 to 1.9, you need to convince
                // the superclass that it is going from 2 to 1 so the delta is -1 and not -.2.
                // we do this by adding a fudge factor to the first return from verticalScrollPosition
                // which is used by the superclass logic.
                var last:Number = super.verticalScrollPosition;
                var vsp:Number = verticalScrollBar.scrollPosition;
                if (vsp < last)
                    if (last != Math.floor(last) || vsp != Math.floor(vsp))
                        if (Math.floor(vsp) < Math.floor(last))
                            fudge = Math.floor(last) - Math.floor(verticalScrollBar.scrollPosition);
                            trace(last.toFixed(2), vsp.toFixed(2), fudge);
                super.scrollHandler(event);
                var pos:Number = super.verticalScrollPosition;
                // if we get a THUMB_TRACK, then we need to calculate the position
                // because it gets rounded to an int by the ScrollThumb code, and
                // we want fractional values.
                if (event is ScrollEvent)
                    var se:ScrollEvent = ScrollEvent(event);
                    if (se.detail == ScrollEventDetail.THUMB_TRACK)
                        if (verticalScrollBar.numChildren == 4)
                            var downArrow:DisplayObject = verticalScrollBar.getChildAt(3);
                            var thumb:DisplayObject = verticalScrollBar.getChildAt(2);
                            pos = (thumb.y - downArrow.height) / (downArrow.y - thumb.height - downArrow.height) * maxVerticalScrollPosition;
                            // round to nearest lineScrollSize;
                            pos /= verticalScrollBar.lineScrollSize;
                            pos = Math.round(pos);
                            pos *= verticalScrollBar.lineScrollSize;
                            //trace("faked", pos);
                var fraction:Number = pos - verticalScrollPosition;
                fraction *= rowHeight;
                //trace("was", listContent.y.toFixed(2));
                listContent.move(listContent.x, viewMetrics.top + listContent.topOffset - fraction);
                //trace("now", listContent.y.toFixed(2), fraction.toFixed(2), listItems[0][0].data.lastName);

  • Fast Keystroke scroll BUG

    Hi, I tried to alert Adobe to this bug. I have not yet purchased LR (was waiting to hear about their email about a special beta tester offer), anyway... They don't want the feedback as I am not registered (yet). I will definitely be getting this before the general offer expires end of April.
    In Library view, I find that when I press and hold a left (or right) arrow key (some of the time - not sure exactly what is triggering this), the film strip starts going at a runaway speed even after the key is released. Nothing I have found will stop this behavior. It just runs at full scroll speed (way too fast to do any good to look at), until it hits the beginning (or the end if it was a right arrow)
    I don't know if anyone else has had this problem but I Wanted to mention it here in case it is affecting anyone else? Adobe is like an 500 lb. gorilla and I am but one small banana in a sea of a million bananas. Perhaps if more people (bananas) were aware of this (alleged) bug, Adobe would listen? lb

    Perhaps there is nothing more to say here? I hope Adobe reads these boards. I was just testing again. I offer better data here in case anyone wishes to try this. Caution, to me this is still a bug. I have not experienced any data loss, however once it starts runaway scrolling, depending on how many photos you have and how long it takes to get to the very end, you will be sitting a little while.
    It definitely is an annoyance on my machine. And I am sure we are talking bug here, not user error. Not that I have not had my share of user errors. But I don't believe this is on me. If anyone can verify this by the data I am offering here, that would be appreciated.
    Recapping,
    1) This occurs ONLY, in Library. Development does NOT exhibit the behavior I am referring too.
    2) This is occurring with the three panel view, that is, with the picture in the center and the Navigator, etc panels on the left, and the Histogram, etc panels on the right.
    3) This is occurring with the filmstrip showing on the bottom and it has been sized to it's LOWEST size.
    4) This is occurring, ONLY, in Loupe view and Survey view. Grid view seems to behave normally as does compare view
    I observe the error in two ways
    A ) - This is just for a very small selection, too small to be practical in real time but this definitely will show the behavior. -
    1) Use your shift key to select just two filmstrip panels.
    2) Press your left (or right) arrow key for a full count of one second.
    3) Release the arrow key
    4) expected result: the display is flashing at high speed between the two pictures continually. CAUTION, I hit several keys and eventually it stopped. This has never crashed the app nor corrupted any files, BUT, it goes on, and on, and on, and on ....
    B ) - This works better the more pictures you have available to scroll through -
    1) Select any film cell in the film strip.
    2) Press your left (or right) arrow key for a full count of one second.
    3) Release the arrow key
    4) expected result: the display is flashing at high speed through each film cell until it eventually reaches the end. Please see caution above that it is ni unstoppable till it reaches the end and you will sit and watch it till done.
    I hope this data helps. I would appreciate someone else testing and verifying this behavior.
    Remember, Loupe view, smallest size filmstrip.
    Much thanks
    levelbest

  • Datagrid, Horizontal Scroll

    Hello all.
    Im sure this is a simple fix, but after searching google for a fair amount of time, thought i would post up here.
    I have a simple datagrid using the following code -
                             <mx:DataGrid id="chatDG" width="100%" height="143" x="0" y="0" fontSize="10" horizontalScrollPolicy="on">
                                  <mx:columns>
                                      <mx:DataGridColumn headerText="Question" dataField="message"/>
                                  </mx:columns>
                              </mx:DataGrid>
    This is displaying strings of text taken from a mysql database using a php script.  It works fine, each message is on a new line, everything is perfect.  Apart from if a message is too long it runs off the right side of the datagrid.
    There is a horizontal scroll bar displayed but it is disabled / greyed out.  THe datagrid only has one column, i need to be able to scroll ffrom right to left in order to read the full string of text, any suggestions?
    Thanks in advance

    try
    <mx:DataGridColumn id="dgc" wordWrap="true" />
    you should be able to read everything now.
    if it doesn't work, set also the <mx:DataGrid horizontalScrollPolicy="off"/>. it will work.
    Thanks,
    Sathish.

Maybe you are looking for