Drag'n'Drop working in CS, not in CC

Hi everybody,
I have a Flex panel and a native plugin in InDesign. From the flex panel, I initiate a drag, that I wish to drop in InDesign. In my plugin, I have a CDragDropTargetFlavorHelper that works fine up to CS6 to handle the drop initiated by the Flex panel.
I have just tried the same operation in InDesign CC 2014 (don't know on CC), but this does not work.
In my Flex panel, I set HTML and URL flavours on the drag source. In my native plugin, there is no reaction to those flavours. CouldAcceptTypes() method is even not called. But if I add for example a text flavour in my flex panel, I think another helper consumes my drag, and my plugin does not receive it.
Is there any change between CS6 and CC2014 in drop process in native plugins? Or is it in Flex that it has changed?
How can I handle this? Should I create a custom flavour shared between my flex panel and my native plugin? If yes, how can I do this in my native plugin?
Thanks in advance.
Rémi
EDIT : In my Flex panel, I use flavours ClipboardFormats.URL_FORMAT and ClipboardFormats.HTML_FORMAT. I don't find any matching flavour in native plugin SDK. Historically, I have seen I use something really strange (I don't know where it comes from): PMFlavor(1213484364).
Message was edited by: Rémi Doolaeghe

Similar bug(#3710667) was exist in CC before 9.2.2 update as you can see in release notes of 9.2.2(CC last update) here. before fix simple selected text drag & drop did not work from any application except TextEdit .I have also spent hours before this update to find out bug I used ClipBoardViewer sample App to find out current Drop flavour and its content it may help you and before fix I find some workAround first is add flavour in your drop which Indesign understand even if you are not adding any data for that flavour so that you start receiving couldAcceptType() and under this call parse your actual data from PasteBoard and remove all data from pasteBoard so that another next helper will not consume it. as you mention even after adding text flavour your couldAcceptType() not hit so may be this WorkAround not work for you but it worked for me.
second is just a finding  i.e before doing drag and drop on indesign create one new document (from Indesign UI not programmatically ) save it on disk close it and reopen it after it every drag & drop will start working work .

Similar Messages

  • How do I merge events on the new IPhoto. The old one was simply drag and drop, this one will not.

    How do I merge events on the new IPhoto. The old one was simply drag and drop, this one will not.

    There are no longer events in Photos.  The new Photos for Mac is structuring the Photos Library automatically into Moments based on dates and locations. You cannot change the moments.
    When Photos migrates an iPhoto Library, it will create album for each event in the iPhoto Library, as a substitute, but these album based "events" are a fake, because albums behave differently from events.
    In iPhoto each photo could be only in one event, so you could move photos from one event to another. With albums, dragging a photo from an album to another album will simply add the photo to the other album as well.
    You will have to remove the photo from the original album.

  • I recently attempted to save my Notes in Macmail by dragging and dropping them into the Notes folder. On my most recent sync all Notes were deleted. Is there a way to undo this?

    I recently attempted to save my Notes in Macmail by dragging and dropping them into the Notes folder. On my most recent sync all Notes were deleted. Is there a way to undo this?

    Garret,
    is your movie in your backup folder a Quicktime movie? Then probably only have the Quicktime wrapper in your backup folder, but not the referenced media in the file fork of the movie. If you see the full quality movie in iPhoto in QuickTime player, don't drag it from the browser to the Desktop, but use "File > Reveal in Finder > Original File" to show the movie in your iPhoto Library. Select the Movie when it is revealed and ctrl-click it to open it in Quicktime Player.
    Export it from Quicktime Player with "Export to" and share it to iTunes. This way it will be converted to a .mp4 movie that embeds the missing resources.
    You can drag the converted movie from iTunes to the Desktop or share it using to Media Browser to other applications.
    Regards
    Léonie

  • Multi-row "Drag and Drop" works for some users, not others

          Background: We are working on Win7 SP1 clients, Project Prof. 2010, SP2
          A couple of users have reported that they cannot move ("drag") multiple selected rows in a task sheet, only a single row at a time. Other MS Project users around them (and myself) can move multiple rows with the "Drag"
    feature. "Drag and Drop" is selected in the "Options/Advanced" section of both their local global template and the Enterprise Global.
         To my knowledge, the multiple row selections contain no collapsed summary tasks, in case that might be an issue.
         I'm suspecting some Windows setting is amiss on the offending clients, but wanted to see if anyone else had seen this behavior before in Project Prof. 2010.
         Thanks!
    JTC
    JAckson T. Cole, PMP, MCITP

        Thanks for the response, Shiva!
        User community is on MS Project 2010 (14.0.7011.1000) SP2, MSO (14.0.7128.1000)
        To reproduce the problem, MS Project user will select multiple task rows by selecting first row, then holding MB1, and "sliding" to the last row desired. The problem manifests itself by NOT turning the cursor into the "four-arrow cross"
    after selection is accomplished. If only one row is selected, the ability to move that row alone is available.
         Again, only a couple of users (that have called me!) are seeing it. Their officemates are not having an issue.
         FYI ...
    JTC
    JAckson T. Cole, PMP, MCITP

  • After upgrade to Yosemite, drag and drop for files does not work, destination folder crashes.

    After upgrading to Yosemite, dragging and dropping files from one location to the destination folder, causes the destination folder crash. However, copying the file and then moving it works fine.
    I'm not sure where to report bugs, but I figured this would be the best option

    http://www.apple.com/feedback/  Feedback
    https://bugreport.apple.com/  BugReporter

  • In mail drag and drop to desktop does not work with big pictures in 10.9

    My drag and drop function in apple mail program does not working anymore after upgrade to macos 10.9
    Big picture in my mail does not want to drag to the desktop anymore!
    Imac 2.93 Ghz core i7

    Hello,
    Please give your SPS (Java) and Patch level of BIBASES & BIWEBAPP.
    Regards, Karol
    SAP NetWeaver BI, Development

  • Drag and drop mail to mailboxes not working

    Since upgrading to Mountain Lion on my MacBook Pro, when I attempt to drag and drop an e-mail message from my inbox to another mailbox (folder), has stopped working.  I can still move mail to different mailboxes from the Toolbar / Message / Move to. 
    I'm using Apple Mail 6.0.  I've looked, but do not see any functions in Mail Preferences or Mailbox functions that enables or disables this feature.  Am I looking in the wrong place or missing something?
    Thanks, Terry

    It's actually much worst than that.  THe MOVE command works only intermittently to move blocks of messages.  This is true for both the MOVE button in the toolbar and for attempting tm move by using the control-click menu for a selected group of messages.
    Mail 5.2 under Lion does not fail in this way.  I am running two systems with the same collections of mail on each.
    I moved back to Apple Mail because of the end-of-life status of TBird. TB has lots of bells and whistles that make for easy use and it has handled by 30K/6.5GB mail collection without difficulty.  It also provides a lot of features that Mail does not have, including very helpful statistics during operations.
    I looked at a variety of Mail replacements inculding all the commercial stuff.  But nothing really dominates the marketplace andl the vendors seem frail.  It's clear that the big money is in cloud-service e-mail handling, not apps to run on machines you own and control.
    I imagined that Apple developed and maintained software would be more reliable and sustainable in the long run. It is distressing that the company's test and QA processes did not catch this but I suppose that Apple too is planning on letting Mail wither as their cloud service gains users and market share.  Why sell an app once when you can charge a monthly fee for the service.  It's perhaps cheeky to say but the cloud isn't a technological model it's a business model.

  • Why does not drag and drop work?!

    Hello,
    I am trying to implent a drag and drop from a table to an icon representing a trash.
    The drop handler fails in converting the selected rows to a list:
    com.sun.el.MethodExpressionImpl@87d9c00d javax.el.ELException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
    Could you help me to understand why? Below are the details.
    This is the af:table:
    <af:table var="row" rowBandingInterval="0" id="t1"
    value="#{bindings.MyView1.collectionModel}"
    rowSelection="multiple"
    columnStretching="last"
    horizontalGridVisible="false"
    verticalGridVisible="false" fetchSize="-1"
    autoHeightRows="6" width="190"
    disableColumnReordering="true">
    <af:column sortable="true" headerText="Entry" id="c1"
    align="start">
    <af:outputText value="#{row.Description}" id="ot1"/>
    </af:column>
    <af:dragSource actions="MOVE" defaultAction="MOVE"
    discriminant="delete"/>
    </af:table>
    This is the drop area:
    <af:image source="Images/empty_trash_32.png" id="i2">
    <af:dropTarget dropListener="#{backingBeanScope.DropHandlerBean.dropHandler}"
    actions="MOVE">
    <af:dataFlavor flavorClass="org.apache.myfaces.trinidad.model.RowKeySet"
    discriminant="delete"/>
    </af:dropTarget>
    </af:image>
    This is the failing listener listener (the failing point is bold):
    public DnDAction dropHandler(DropEvent dropEvent) {
    DnDAction dnda = DnDAction.NONE;
    if (dropEvent.getProposedAction() == DnDAction.MOVE) { // delete
    RichTable table = (RichTable)dropEvent.getDragComponent();
    //determine the rows that are dragged over
    Transferable t = dropEvent.getTransferable();
    //when looking for data, use the same discriminator as defined
    //on the drag source
    DataFlavor<RowKeySet> df =
    DataFlavor.getDataFlavor(RowKeySet.class, "delete");
    RowKeySet rks = t.getData(df);
    if (rks == null) {
    return DnDAction.NONE;
    Iterator iter = rks.iterator();
    while (iter.hasNext()) {
    //get next selected row key
    System.out.println(rks.toArray().length); // the number of selected rows is ok
    List key = (List)iter.next(); // here gives: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
    //make row current so we can access it
    table.setRowKey(key);
    //the table model represents its row by the ADF binding class,
    //which is JUCtrlHierNodeBinding
    JUCtrlHierNodeBinding rowBinding =
    (JUCtrlHierNodeBinding)table.getRowData();
    Row row = (Row)rowBinding.getRow();
    //delete row;
    row.remove();
    //activate animation
    dnda = DnDAction.MOVE;
    return dnda;
    thanks.

    I did try, I obtained this:
    java.lang.NullPointerException
    Why NullPointerException?
    I don't know if this helps, but consider that the collection model comes from a ViewObject built on three EOs with many fields, although the table only shows one column.
    This is the Iterator in my pageDef:
    <table IterBinding="MyView1Iterator" id="MyView1">
    <AttrNames>
    <Item Value="Cod1"/>
    <Item Value="Cod2"/>
    <Item Value="Cod3"/>
    <Item Value="Cod4"/>
    <Item Value="Description"/>
    <Item Value="Cod5"/>
    </AttrNames>
    </table>
    Any idea?
    I will see the Key content with the debugger.

  • Drag and drop music in iTunes not working

    Hi all,
    I am having problems dragging and dropping music in iTunes from my media library to my iPhone music library. The only possible way to import music is to sync playlists (which I hate doing). Does anybody else have this problem?
    Thanks!

    You need to make sure that your settings allow you to manually manage music. I believe it is a check box on the main settings page for your iPhone.

  • Drag and drop messages in Mail not working.

    I no longer seem to be able to drag messages from my Inbox mailbox to another 'On My Mac' mailbox. I can still use the contextual menu or menu bar 'move to' command to move it to a specific box, but no mouse-dragging. Even "click-wait-drag" doesn't work...
    I see this issue appeared with and has been about since, 10.6.1 but the two topics (I could find), discussing it have been Archived

    Try doing a save as to the desktop and then try dragging thr .rtf file to the usb drive

  • How to add a code so my drag and drop movie clip will not stick  once it is dragged to final place o

    Hello all and kglad, I have to use the old drag and drop code on my movie clips, but the problem is when I drag the movieclip to the area on my .swf file once i release it, it sticks to the hand mover.
    I am encloseing the action script I am using could someone or kglad tell me what is missing from the code so that once it is released it will not stick, see code below
    circle.onPress = function(){
    startDrag(this);
    circle.onRelease = function(){
    stopDrag();
    I am desparate for help on this must get project ready for this afternoon
    Seal55

    there's nothing wrong with that code but it would be better to use:
    circle.onPress = function(){
    this.startDrag();
    circle.onRelease = function(){
    this.stopDrag();
    but that won't solve your problem.  there must be something else going on like a depth issue.  you may need to use swapDepths() to bring your circle under the mouse when releasing.

  • I bought a 5th Gen Touch. I use iTunes 12 on two computers. One computer allows me to drag and drop. The other does not.The one that allows it has problems. Any idea as to why I can drag and drop on one and not the other. Both are authorized.

    I bought a 5th Gen Touch. I use iTunes 12 on my two computers. I first connected the Touch to my desktop and it allows me to drag and drop mp3 files from my old Classic, which is backed up to a directory. Unfortunately, that computer has gone down before I got a chance to fill the Touch. I have the files on another computer but when I connect the Touch to it, it doesn't allow me to drag and drop the files. I have iCloud set on both systems and I have manual management check marked. I'm not understanding why it allows drag and drop on one PC and not the other when they are both set the same way. My question? What do I need to do to be able to drag and drop in iTunes 12? I didn't do anything special on the computer that allows it so I am at a loss.
    Thank you!

    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.

  • Why won't drag and drop work with Library Assets in Illustrator or InDesign?

    I've read a couple of threads with people having this issue, some dating back to late summer last year. I tried the fixes offered up in the responses, but haven't had success yet.
    All my programs are up-to-date, but I cannot drag and drop graphics from my library into InDesign or Illustrator. Photoshop is working fine.
    Are there any actual solutions to this yet?

    What kind of graphic are you talking about? In the Library panel (Illustrator) or CC Library panel (InDesign) graphics are identified with a small label to tell what their source is (Ai, ID, PS, SVG, etc.)
    And even though you say you have the latest version, exactly what version of InDesign do you have? You can see it in the About InDesign choice under the InDesign menu (Mac) or Help menu (Windows).

  • Drag and drop - remember answers/do not reset

    Hi there,
    Does anyone know how I can stop the drag and drop from resetting when the user goes back through the course? I have tried changing the attempts options, the reset options and so on in the settings, but it always resets and does not remember the users answers!
    Is this a bug? The drag and drop rarely does anything I want it to. It is so much easier in Articulate!
    Thanks!

    Hi,
    If you want the dropped state to be remembered you need to include the Drag and drop interaction in Quiz.Also you can add some marks to the dnd interaction.  If you do not want to add the marks to your total marks of your quiz(if you have any quiz in your course) check off the option "Add to total" option. There is an option for reporting the marks as well. Just check the "Include in quiz" option and let me know this addresses your issue.
    You can find the"include in quiz " option under reporting accordian. Attaching screen shots for your reference(in both Cp7 and Cp8)
    Devraj

  • Does image Drag N Drop work on WinXP?

    I tried the program from techtips
    http://java.sun.com/developer/JDCTechTips/2003/tt0318.html
    and I can't drag an image file from window explorer and drop it to the program but
    I can drag n drop the image if I launch two instances of this program. Any idea?

    I tried the program from techtips
    http://java.sun.com/developer/JDCTechTips/2003/tt0318.html
    and I can't drag an image file from window explorer and drop it to the program but
    I can drag n drop the image if I launch two instances of this program. Any idea?

Maybe you are looking for

  • Mini-Display or DVI

    I just bought a new Mac Pro and I have a samsung SyncMaster 2253bw display that uses DVI, I have it plugged into the DVI port on the back of the tower. Is that what I should be using OR should I be using the mini-display port to DVI adapter? Sorry if

  • JDBC-ROWSET SUPPORT ORACLE

    DID ANY OF THE ORACLE THIN DRIVER SUPPORTS JAVA-ROWSETS. IF SO FROM WHERE I CAN DOWNLOAD THE DRIVER. I TRYED ROWSETS WITH 8.1.7 ORACLE THIN DRIVER, I COULD NOT IMPLEMENT IT.

  • Trying to install JRE 7u7

    Hello, I'm trying to install JRE 7u7 x64 and am having a few problems. I can run the installer and its fine until it begins to install. Then an error message appears saying: "The feature you are trying to use is on a network resource that is unavaila

  • Flash player cannot be updated in firefox, so i cant view vedios in firefox

    if i installed flash player, still firefox says i need to update flash player

  • RAW not opening up in ELEMENTS 5.O

    I download my pictures on Windows XP and it accepts all my JPEGS but doesnt download all my RAW files. It will sometimes download a few RAW files but most of the time says its not a recognized format? Any help would be great thanks.