Overlapping Documents bug

6 posts, 0 answers
  1. Ronald Evers
    Ronald Evers avatar
    26 posts
    Member since:
    Dec 2009

    Posted 08 Jun 2010 Link to this post

    Hello Telerik,

    After some work I got the RichTextBox to pretty much work the way I want it. There is now only one issue left to resolve. Whenever I start typing in the editor some text appears and then it overlaps the current text and I can never get rid of it. Look in the attachment to see what I mean because it's a bit hard to describe.

    Basically what Im doing is I created a usercontrol, I pass the text  value to that usercontrol through binding, so this might have a small delay, when the text is passed to it I load it into the control through a stream.

    Are you guys familiar with this? Is there any way to fix it? Thanks for the help.
  2. Ronald Evers
    Ronald Evers avatar
    26 posts
    Member since:
    Dec 2009

    Posted 08 Jun 2010 Link to this post

    Also, another bug I found. I'm not sure whether to make a new topic for it so I'll just post it here.
    The bug occurs whenever I select all the text and press backspace really fast. The follow message is thrown:

    MESSAGE: Object reference not set to an instance of an object. 
    TRACE:    bij Telerik.Windows.Documents.Commands.UndoableCommandBase.CopySelection(DocumentSelection fromSelection, DocumentSelection toSelection, Nullable`1 anchorPositions) 
       bij Telerik.Windows.Documents.Commands.UndoableCommandBase.SaveSelection(DocumentSelection fromSelection, DocumentSelection toSelection) 
       bij Telerik.Windows.Documents.Commands.SelectionBasedCommand.SaveSelection(RadDocument document) 
       bij Telerik.Windows.Documents.Commands.DeleteCommand.ExecuteCore(SelectionBasedCommandContext context) 
       bij Telerik.Windows.Documents.Commands.SelectionBasedCommand.ExecuteCore(Object context) 
       bij Telerik.Windows.Documents.Commands.CommandBase.Execute(Object context) 
       bij Telerik.Windows.Documents.Model.RadDocument.ExecuteUndoableCommand(UndoableCommandBase command, DocumentCommandContext context) 
       bij Telerik.Windows.Documents.UI.EditorContentPresenter.EditorCanvas_KeyDown(Object sender, KeyEventArgs e) 
       bij MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) 
       bij MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName) 

    Also I'm having more issues with text appearing randomly, if I copy paste text then sometimes it just appears a bit further down in the editor and I cant select or remove the text, same as I posted above only now caused by copy and pasting.

  3. Alex
    Alex avatar
    130 posts

    Posted 10 Jun 2010 Link to this post

    Hi Ronald Evers,

    Thank you for taking the time to report this issues, we will address them in the next releases.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  4. Fredrik Kvaal
    Fredrik Kvaal avatar
    11 posts
    Member since:
    Nov 2009

    Posted 07 Feb 2012 Link to this post

    Was this issue fixed?
    We have the same issue now with the latest SL4 release.
    The context is a bit different:
    I have a sentence where the first part of this sentence is "inside" a bookmark (BookmarkRangeStart and BookmarkRangeEnd).
    If I then place the cursor right after this part (after the text that's inside the bookmark) and selecting forward by doing Shift + Home and then start typing something including a Norwegian character (like Å or Ø), we get this exception.

    Message: "Object reference not set to an instance of an object."
    Stack: "at Telerik.Windows.Documents.Commands.UndoableCommandBase.CopySelection....."

    Thanx for your support.
  5. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 09 Feb 2012 Link to this post

    Hi Fredrik,

    Thank you for getting to us with steps to reproduce the problem.

    The bug which Ronald reported was fixed soon after that, but it seems that a similar issue has surfaced now. This time the problem is due to the use of AnnotationRanges, such as Bookmarks and Comments.

    We have logged the bug and will try to fix it soon. However, we may not be able to squeeze it in the upcoming 2012 Q1, which is expected in less than two weeks. Please excuse us for the inconvenience.

    Iva Toteva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Alexey
    Alexey avatar
    14 posts
    Member since:
    May 2009

    Posted 06 Feb 2013 Link to this post

    Hi, I have a version Telerik 2012.2.716.1050.
    But this issue also reproduced, see attach. file.
    Any workaround how to fix issue?
Back to Top