Possible List Drag and Drop bug

Hi all,
I am using a spark.components.List that I wish the user to be able to reorder by dragging and dropping. Therefore I have dragEnabled,dropEnabled and dragMoveEnabled all set to true.
I have a custom item renderer that has two states ('default' and 'notDefault' for the sake of argument) that the list uses. The currentState of the item renderer is determined by the data it is given.
When items are moved around they do get reordered correctly, however if I have an item in the 'notDefault' state and drag it somewhere it ends up rendered in the 'default' state after dragging, even if the data it is displaying requires the 'notDefault' state. What is more frustrating is that the item renderer reports its currentState as 'notDefault' even though it is showing 'default'.
The difference between the two states is that there is a VGroup with controls in it excluded from the 'default' state, and therefore if these are displayed before dragging (ie we are in the 'notDefault' state) they are consequently not displayed after dragging.
Anybody have any ideas?

Might be a bug.  File a bug or post a simple test case.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • [svn:fx-trunk] 11574: Drag and Drop - Bug fixes:

    Revision: 11574
    Author:   [email protected]
    Date:     2009-11-09 10:53:35 -0800 (Mon, 09 Nov 2009)
    Log Message:
    Drag and Drop - Bug fixes:
    - Added slight delay before drag-scrolling start.
    - Single selection ctrl+drag fixed.
    - Default drop indicator for List that doesn't have drop indicator specified in its skin. The default DI is specified through the new dropIndicatorSkin List style.
    - Memory leak for the drop indicator dynamic skin part.
    - ListItemDragProxy incorrectly listed in spark-manifest.xml moved to SparkClassess.
    QE notes: None
    Doc notes: None
    Bugs: SDK-24047, SDK-23999, SDK-23871
    Reviewer: Glenn, Deepa
    Tests run: checkintests, mustella (List, ListDragDrop)
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24047
        http://bugs.adobe.com/jira/browse/SDK-23999
        http://bugs.adobe.com/jira/browse/SDK-23871
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/TileLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/DropLocation.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
        flex/sdk/trunk/frameworks/spark-manifest.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListDropIndicator.as

    Just found a reference to a work around to the issue by putting the macbook to sleep & waking it.  Worked a treat !
    This makes it usable again.  Which is lucky as I was preparing to see how far I could toss the macbook !
    Suppose I'll need to wait for a patch.

  • ALV List drag and drop..

    Hi
    In Cj20n open an existing project.
    I am currently trying to drag and drop a WBS element.
    I pick a WBS from the template and try to drop over  the Project then try to replace and Include that WBS from template into the project opened.
    During this time the system should accept only if source and destination Project types are same other wise it should give an error message out.
    Has any one worked on similar thing on ALV List drag and drop...
    Actually there are no User Exits or Badi's for this.
    Let me know if any OSS Notes ...
    Your Inputs will be of great help.
    Thanks a lot.

    this is how sap works, it does not check coherence at the abap side, and it's only when the true call is made at the frontend what we see the issue. The only way to find the bug is to check all values of the internal table (try to test a simple tree first, and increase complexity step after step, until you find what is incorrect). One of the errors I made in the past was the way I defined the folders, I forgot to define ISFOLDER = 'X', and that used to trigger this error.

  • Is it possible to drag and drop an arrangement from another software program such as band-In -Box to garage band

    is it possible to drag and drop an arrangement from another music program like Band-ina-box into garage band

    GarageBand for iPad is a pretty closed system.
    The Song File
    You can only open GarageBand for iPad Song Files with the extension .band. Please note that those files look the same as the ones form GarageBand 11. However, they are only upwards compatible but not downward compatible. GarageBand iOS -> GarageBand OSX -> Logic.
    Audio Files
    You can import a wide variety of Audio Files into GarageBand (via iTunes File Sharing) to use in your Song. But any material from another app has to be mixed down first. Either as a single stereo mix or you mix each track separately and then import those separate files ("stems") into GarageBand. This is a typical procedure to move material to a different app,for example for mixing.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Is it possible to drag and drop files into flash?

    Hi,
    Im making an upload control that
    will upload files from the user computer to the server
    Right now the user choose the files with the 'Browse for
    files dialog'. I
    want that the user will be able to drag and drop files to the
    control
    instead.
    Is it possible?
    Thanks,
    Ehud

    Ehud Banai wrote:
    > Hi,
    >
    > Im making an upload control that
    > will upload files from the user computer to the server
    > Right now the user choose the files with the 'Browse for
    files dialog'. I
    > want that the user will be able to drag and drop files
    to the control
    > instead.
    Not possible.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Drag and Drop Bug (Flash, AS3)

    Hello! Help, please! I'm making a game that involves dragging and dropping books. (Right now there is only one book.) While testing my game, I discovered by accident that no matter where I drag on the screen, the draggable book responds, moving around on screen despite the cursor not being on top of it. Here is my code. (It also snaps a larger book mc to the small one for purposes I intend to use later.)
    // Making the small book dragable. //
    small_book.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag_6);
    // when the mouse button is clicked...
    function fl_ClickToDrag_6(event:MouseEvent):void
        small_book.startDrag();
        big_book_mc.x = small_book.x;///
        big_book_mc.y = small_book.y;///-----> Makes the big book snap to the lil one when clicked.
    stage.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop_6);
    // when the mouse button is released...;
    function fl_ReleaseToDrop_6(event:MouseEvent):void
        small_book.stopDrag();
        big_book_mc.x = small_book.x;///
        big_book_mc.y = small_book.y;///-----> Makes the big book snap to the lil one when the mouse button is released.
    stage.addEventListener(MouseEvent.MOUSE_DOWN, dragFn);
    // if the mouse is currently dragging....;
    function dragFn(event:MouseEvent):void
        small_book.startDrag();
        big_book_mc.x = small_book.x;///
        big_book_mc.y = small_book.y;///-----> The big book follows while the mouse is dragging.
    // the small book is now draggable and the big book snaps to it.

    your stage listeners should be added in the mousedown listener functions and then removed in the mouseup listener functions.
    and just to clarify, your small book starts dragging no matter where there is a mousedown?

  • Drag and drop bug?

    while the application get a vertical scroll bar,
    scroll it down
    and try to drag something
    that drag and drop works improperly
    and trace the event.stageX and stageY
    the value isn't right

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" >
    <mx:TextArea y="10" height="153" id="console" right="10"
    left="10"/>
    <mx:Script>
    <![CDATA[
    import mx.controls.Button;
    import mx.events.DragEvent;
    import mx.controls.Alert;
    import mx.core.UIComponent;
    import mx.core.DragSource;
    import mx.managers.DragManager;
    private function doDragIt(event:MouseEvent):void{
    var dragInitiator:Button=Button(event.currentTarget);
    var ds:DragSource = new DragSource();
    var BtnProxy:Button = new Button;
    BtnProxy.label="B";
    BtnProxy.width=20;
    BtnProxy.height=20;
    DragManager.doDrag(dragInitiator,ds,event,BtnProxy);
    private function doDragEnter(event:DragEvent){
    var target:VBox=VBox(event.currentTarget);
    target.setStyle("backgroundColor","BLUE");
    DragManager.acceptDragDrop(target);
    private function doDragExit(event:DragEvent){
    var target:VBox=VBox(event.currentTarget);
    target.setStyle("backgroundColor","WHITE");
    ]]>
    </mx:Script>
    <mx:Spacer x="0" y="1200"/>
    <mx:VBox id="toClick" y="211" width="50" height="50"
    borderStyle="solid" horizontalCenter="0"
    dragEnter="doDragEnter(event)" dragExit="doDragExit(event)"
    backgroundColor="#ffffff">
    </mx:VBox>
    <mx:Button y="223" label="B" height="20" width="20"
    mouseDown="doDragIt(event)" horizontalCenter="-80"/>
    </mx:Application>

  • 10.4.6 finder (copy / drag and drop) bug

    Any one encounter this?
    Brief summary: When copying files from an iMac to external firewire drive the finder (copy) grinds to a halt and eats up all the free disk space on the iMac hard drive
    Detailed summary: iMac 20" G5 2.1GHz 1GB Ram 10.4.6 and an external LaCie 500GB firewire drive.
    In an effort to move to Aperture I have begun cleaning up my iMac's hard drive which entails moving several gigabytes of jpegs, gif's, raw files, and Quark Xpress files, etc., to external hard drives.
    All of these files are sorted into folders and sub-folders based on clients name. This is just a basic 'copy' from iMac to external hard drive. The iMac has about 50 GB of free hard drive space and the external hard drive has about 400 Gb free. Copying (drag and drop) any folder that has more than say a total of 7500 files inside causes the copying to start then grind to a halt. The odd part is that the free disk space on the source machine (iMac) gradually disappears during this process.
    Size of the move doesn't seem to matter as it is only when the file count exceeds approx. 7500 that things go wrong. One move entailed 9000 or so files and was only 250 MB but managed to eat up all 50 GB of free space in minutes. The first clue that something is wrong is seeing the warning message pop up stating you start-up disk is full.
    The only way to get the hard drive space back is to reboot the machine then all of the free disk space reappears. I have tried to relaunch the finder but that does not reclaim the missing free disk space. Also of note the memory usage never creeps up, as if this was some kind of memory leak. It stays pretty much constant through the whole process which is about 240MB.
    Not sure if this matters but spotlight is currently told to ignore image files which is the bulk of what is (trying) to be moved. Also this behavior didn't occur under 10.4.5 or prior point releases.
    Any ideas or thoughts?
    Thanks,
    -brian
    iMac G5   Mac OS X (10.4.6)   LaCie external 500GB firewire drive

    What is the format used on the external HD?
    You did format it for Mac use (HFS+), right?
    Yes, the external drive was reformatted as Mac OS Extended (Journaled) before being brought into use. I have several LaCie drives in different sizes from 250 Gb and up for back ups and never had an issue until now...
    Seems to be finder related as if i open the top level folder and grab smaller groups of folders it works fine, just takes forever. So at least that is the work around. I was kind of hoping to just grab a bunch of folders start the copy and go do other things and come back and it would be done...
    Thanks for the reply,
    -brian

  • Is it possible to Drag and Drop from KDE into a Java application?

    Can someone please let me know if it is possible to drag a file, or any other object from KDE (linux) to a Java application? If so, could you give any code examples that could help supplement an explaination?

    http://java.sun.com/products/jfc/tsc/articles/dragndrop/index.html
    http://java.sun.com/j2se/1.4.2/docs/guide/dragndrop/index.html

  • Drag and drop bug in finder

    Noticed this problem several times before, on different computers. I try to drag a file into a mail I am typing in order to attach it, and it does not appear. The green cross appears, but nothing happens. Relaunching finder fixes it.
    I do not know a way to reproduce it, it just happens from time to time.

    i found something my movieclips on different layers (for example box1mc on rooms layer other items in objects layer)Action script searchs my item in current layer , it being invisible coz its not on same layer , its on different layer.If i put my items same layer its working fine.Omg how to fix it i dont know
    (if acs cant find my item in same layer , onrelease codes working automaticaly and dont see drag drop)

  • Drag and Drop Items in Reminders

    I'm disappointed that you can't drag and drop lists in the Reminders app to change the order they appear. Also it's not possible to drag and drop reminders within lists. Any possibility of adding this feature in a future release?

    Go right ahead!

  • ITunes won't let me drag and drop anymore

    Last friday, I closed my Macbook and it never started again. I bought a new one. The guy at the Mac Store said, "Just plug in your iPhone, enter your pw, and everything will work like it used to." Of course, I left the store thinking, "No way is that going to happen," but I didn't stay and fight. Of course, I plugged in my iPhone, immidately my Mac started saying, "You do not have sufficient permissions." To get rid of it, I read a post that said I should select to sync and then unsync everything from the phone (which deleted everything of course, but I'm not that upset about). Anyhow, the iPhone syncs now, but the lingering issue is that my old computer let me drag and drop MP3 files directly from my Finder window to the iPhone music library in iTunes. I DID NOT HAVE TO USE THE ITUNES LIBRARY AND I DID NOT HAVE TO CREATE PLAYLISTS. (I hate people who capitolize things, but I've read in several other posts where people say, "That was never possible to drag and drop, you always had to create playlists." No, you did not. I gurantee you because I've never done it). To state it just once more, I did NOT load the songs into iTunes, then go from iTunes to the iPhone, but instead, with iTunes open, and the iPhone plugged it, I would select the mp3 in the Finder window, then drag it to the part of iTunes which allows me access to the iPhone, and the iPhone section of iTunes (not the main iTunes library on my Macbook, but the iPhone itself) would become highlighted in blue, then I would release the trackpad and the song would load onto the iPhone (but never be associated with or loaded into the iTunes library for my Macbook).
    Now when I drag the mp3 over, the iPhone section stays gray and won't let me do it.
    How can I fix this? I detest iTunes. I'd be in love with Apple completely if it weren't for iTunes, which is constantly broken and never works. I'm happy with my music stored in my own filing mechanism, with my own method of tagging them, and I don't want to conform, I don't want to "get used to it."
    Please someone tell me how to fix this! (Before it messes up my iPad as well).
    PS... Of course, in the time my computer broke and I bought the new one, Apple released yet another updated version of iTunes, which they forced me to update before I could even use it. So, I don't know if the phone didn't sync over correctly or the update didn't work.

    Oh, also want to add that the PC I'm currently using is:
    Windows Vista Home Premium Service Pack 2
    My other PC was:
    Windows 7 Ultimate
    My MacBook is:
    Max OSX 10.5.something (the last update available for it. .8 maybe? haha)
    Not sure if this stuff is important, but I thought I'd add it.

  • Drag and drop files into folders in iPad reader? or iTunes?

    is it possible to drag and drop files into folders in iPad reader? or iTunes?  It is very clunkey to have to click each separate file to instruct it to move to the folder.  Better still, can I just sync an existing folder on my hard drive so the pdf's inside always remain up to date on my iPad?

    There is no way to drag and drop in Reader on an iPad.
    There is no way to sync PDFs in a folder on your hard drive to those inside of Reader.
    There are readers (which are NOT free) which let you do some of these things and have more capabilities. You might check out PDF Expert from Readdle which costs $9.99 US.

  • Can you drag-and-drop music onto the iPhone in iTunes?

    New to iPhone and only just braking it in, as it were.
    It looks like the only way I can upload music onto my iPhone is via synching my entire library onto it. Which, if I may say so, is an incredibly stupid and debilitating design - amongst other severe shortcomings of the iPhone I am slowly discovering over time. Is it not possible to drag-and-drop like the good old iPods?
    If this is indeed the only way to load music, what's the easiest I can pick out my favorite 2000-or so tunes and put them on there?? Don't tell me it's clicking on the boxes next to the songs in the Library page, because that's when I will start asking for my money back...
    Cheers

    I don't blame this person whatsoever for making the assumption that the iPod portion of his phone would work similarily, if not the same, as the iPod.
    But it does work the same as the iPod. As with an iPod, you can sync all songs and playlists, or selected playlists, or you can manually manage music and videos. You can also select sync only checked songs and videos under the Summary tab and uncheck the songs in your iTunes library that you don't want transferred to your iPhone. This can be used with syncing selected playlists - if you want to remove a song from your iPhone that is in a selected playlist without removing the song from the playlist in iTunes, you uncheck the song in the playlist in iTunes followed by a sync. There is no difference with an iPod in this regard except for the iPhone not supporting disk mode.
    In order to manually manage music and videos with an iPod, you must select this under the Summary tab for the iPod sync preferences, and the same for the iPhone.
    And if you resent his rant, why respond and waste your volunteer time on this post?
    I can waste my time anyway I see fit. If you don't like it, don't respond.
    And not everyone can afford to replace this type of investment on a whim.
    Copied from the OP's post.
    Don't tell me it's clicking on the boxes next to the songs in the Library page, *because that's when I will start asking for my money back...*
    Or the iPhone can be sold to someone else with the proceeds used to purchase a different phone. I haven't read any reports about someone having trouble selling their iPhone used at a good price even if damaged.

  • Drag and drop an email attachment into SharePoint Library

    Is it true that it is not possible to drag and drop a file attached to an email directly into a SharePoint Library?
    When I try I get the transparent effect and then an error message. Windows 7, Office 2013, SharePoint 2013.
    I would like to make sure it's not some configuration that can be changed.

    HI,not possible to directly drag and drop email from out look.You can save the mail as outlook template in drive and do drag and drop.please find the below links that explains functionality.
    http://expertsharepoint.blogspot.de/2013/12/how-to-upload-multiple-documents-in.html
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

Maybe you are looking for

  • Compressor (Audio Filter) at Final Cut Pro.

    At Logic I used to use the filter Compressor to limit audio tracks(like soundtracks) while I needed emphasize another audio (interviews,for instance). I saw at Final Cut audio filters a filter called "Compressor / Limiter". I am not environmentalized

  • Trigger process chain using event

    Hi all, I’d like to know if someone ever faced this kind of situation. I have a process in R/3 and it must run every day, and when it’s finished I have to start a process chain in BW. I thought to do this using events. So, I created a Job that execut

  • Mapping Techniques

    Hi, types of Mapping Technigues in PI 7.0/PI7.1

  • Desktop Manager gets stuck during backup.

    Desktop Manager keeps getting stuck during device backup. At the "Messages" backup stage it gets about 80% of the way through then just hangs there. It makes no further progress and thus does not complete a backup. How do I resolve this issue? Deskto

  • Iphoto not working with new OS X

    Hi Everyone, I've just downloaded the new OS X Mavericks 10.9.1 and for some reason now I can't open iPhoto. I get a message saying "You can't use this version of the application 'iPhoto' with this version of OS X. You have 'iPhoto' 9.2.3" Any help w