Strange behaviour redoing a paste command

4 posts, 0 answers
  1. Marco
    Marco avatar
    5 posts
    Member since:
    Sep 2015

    Posted 10 Oct Link to this post

    I found a strange behaviour:

    1. Open a document.
    2. Copy a text.
    3. Paste.
    4. Undo.
    5. Redo.

    Redo command works but also select all document content. Why? How can I avoid it?
    It happens only with paste: all other redo commands haven't this behaviour.

    Thank you.

  2. Tanya
    Admin
    Tanya avatar
    402 posts

    Posted 12 Oct Link to this post

    Hello Marco,

    I tested a simple scenario with paste and undo/redo operations following the listed steps but couldn't reproduce the behavior you are observing. I am attaching a video to demonstrate my exact steps. Could you check it and let me know if I am missing something?

    Regards,
    Tanya
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Marco
    Marco avatar
    5 posts
    Member since:
    Sep 2015

    Posted 13 Oct in reply to Tanya Link to this post

    video.zip give me a 404 error :( .
    Here my video showing the bug: http://download2.anastasis.it/software/marco/bugpasteredo.mp4

    Redo button command code is just:

    editor.Redo();

  5. Tanya
    Admin
    Tanya avatar
    402 posts

    Posted 17 Oct Link to this post

    Hello Marco,

    Please, excuse us for the attachment. The error was caused by a technical issue on our side which is already resolved and now you should be able to download the archive.

    Unfortunately, I am still unable to replicate the behavior you are observing. To ensure that I am performing the exact steps, I captured a video. Please, find it attached. The buttons invoke respectively the Copy(), Paste(), Undo() and Redo() methods of RadDocumentEditor.

    Could you share more details on how the text is copied? Are you using the methods of RadDocumentEditor to perform this as well? I tried them but no selection is left after the Redo(). Could you confirm the version of the assemblies you are using?

    It would be great if you could open a support ticket through our ticketing system. There you can attach archives and I would like to ask you to share a sample application that reproduces the issue you are observing. This way we will be able to check what is causing the behavior and help you faster.

    Regards,
    Tanya
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top