is there anyone that had experienced this? I recently updated our 2014 controls to 2021 controls.
Although I haven’t experienced it myself, our customers are experiencing an odd issue when they type with the rad rich box text editor
The app simply freezes. Our editor does extend the base radrichtextbox control and has its own style so perhaps there is some property that behaves differently now?
Paul
7 Answers, 1 is accepted
So, the latest UI for WFP 2021 R2 SP2 appears to have resolved the problem. I can't reproduce it on my system (i.e., no deadlock) and the testers couldn't reproduce it either.
I am waiting for the users to start using the production program on Monday to re-affirm that the problem is indeed resolved.
How can we find out more on the history of this bug? When it was discovered? How long this bug could have lived in the system?
The odd thing is that in our case, we had no layouts or complex documents.
Thank you
Paul
Hi Pavel,
I am glad that this works now. Let me know if this is still reproducible with your production application.
The issue was reported on 20 May 2021 and was fixed a week after that. You can see that information on our feedback portal:
Let me know if I can assist you further.Hello Pavel,
We do not have other reports of similar issues. Would it be posible to get the following information in order to allow us to further investigate this:
- What is the operating system where the issue occurs?
- Are there higher memory and CPU usage?
- Is there a particular type of content that causes this?
- Does the application return to its normal state or it needs to be restarted?
Please note that a lot of features have been added during that time and the control is a lot "heavier" and it requires more resources.
I am looking forward to your reply.
Regards,
Dimitar
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
I do not believe the system was under any sort of heavier load or memory usage at the time.
Operating Sys: windows 10 build 1909
We are just typing regular text, no images or even special font or formatting
What are the extra requirements for the 2021 telerik controls in terms of resources?
Will it build correctly with Visual Studio 2013? Personally I use visual 2017 but do not anything 2017 specific that would prevent the 2013 version of MS Build from building the executable.
where can I send our editor XAML file to see if there is something that is incompatible with newer version of Telerik?
I should also add, it doesn't happen all the time.
We do have two typing handlers that for "PreviewKeyDown" and "PreviewKeyEditorDown". We do various things on the press of a "TAB" and then if there is a control modifier associated with the keypress in the other.
Would this construct cause issues? These conditions are rarily hit.
private void editor_PreviewKeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Tab) { e.Handled = true; int currentPosition = PositionInLine(editor.Document); int numberOfSpaces = InsertSpacesToCurrentPosn(currentPosition); editor.Insert(SpacesToInsert(numberOfSpaces)); } } private void editor_PreviewEditorKeyDown(object sender, PreviewEditorKeyEventArgs e) { if ((Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && e.Key == Key.U) || (Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && e.Key == Key.B) || (Keyboard.Modifiers.HasFlag(ModifierKeys.Control) && e.Key == Key.I)) { e.SuppressDefaultAction = true; } }
and one more question, when we upgrade our software, we use ClickOnce to update. Is it a possibility that not all binaries are update causing inconsistencies in product behavior? We installed a UAT version of the same software as a test on the client machine and it worked without encountering this error. Only difference is a fresh install vs upgrade of the software?
Seems like this may be the issue we are encountering:
- https://feedback.telerik.com/wpf/1520558-richtextbox-run-time-modifications-on-raddocument-may-cause-application-freeze
Hello Pavel,
When I said system resources I meant that the latest version may consume a little bit more RAM and process time since it has more features than the version from 2014. Nothing specific in this case.
I can see that you have found an issue on our portal that possibly can be causing this behavior. This issue is reproducible when there are large tables or a lot of shapes in the document (a lot of layout calculations are required). The issue is fixed in the latest version of the suite. Would it be possible to upgrade and test on a machine where this is reproducible? This way you will be sure that this issue indeed causes the undesired behavior.
If this is still reproducible with the latest version please open a support ticket and attach your code there. Your event handlers look OK to me and I do not think they are causing this issue. This will allow us to test this on our side and see if we can reproduce it.
Thank you in advance for your patience and cooperation.
Regards,
Dimitar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
in our case, we have no large images or tables. Just pure text but we do have some locked read only lines. In my debugger, i do see a classic deadlock on thr mainthread.
in any case, i am on a slow connection so i left my computer to download over night and will test tonight as it is a statutory holiday here on Canada.
will report back for sure