This project has moved and is read-only. For the latest updates, please go here.

Issues with ChildWindow and SpellCheck

Feb 9, 2015 at 4:49 PM
Edited Feb 9, 2015 at 5:19 PM
So I am having issues with the textboxes on child windows and spell check. I have a variety of child windows and each one of them has one or more text boxes with spellcheck enabled. The highlighting for the spell check works, as well as the context menus for suggestions. The problem is, that when I click any of the suggestions, the textbox does not replace the misspelled word. This only happens to textboxes inside of ChildWindows. I broke it down the most simple implementation, as a test and even this has the same issue.
<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="MyProject.TestWindow"
        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        Title="TestWindow" Height="300" Width="300">
    <Grid>
        <TextBox SpellCheck.IsEnabled="True" />
        <xctk:WindowContainer>
            <xctk:ChildWindow WindowState="Open">
                <TextBox SpellCheck.IsEnabled="True" />
            </xctk:ChildWindow>
        </xctk:WindowContainer>
    </Grid>
</Window>
In the above test, the spellcheck context menu on the grid works properly and replaces the corrected words. Inside the window however, the change from the menu is not saved and the word remains incorrect.

Is there something missing that I need to be doing to get this to work? Is this a bug?

Update

With a quick test, I've determined this only happens to a ChildWindow inside of a WindowContainer. Which seems a bit odd.
Developer
Feb 12, 2015 at 7:30 PM
Hi,

Using the sample code provided in v2.3 and over, doesn't produce the bug.
The suggestion replaces the wrong word in the childwindow as expected.
Do you have more info ?
Feb 12, 2015 at 7:54 PM
I checked and I was on the older version 2.2.1 and it worked fine after I updated.

Sorry about that and thanks for the reply.