Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IME BUG:After scrolling, the Chinese input method does not work properly #352

Open
chenzanyu opened this issue Jul 9, 2023 · 7 comments
Assignees

Comments

@chenzanyu
Copy link

I have a large line of text and cannot type Chinese properly after scrolling

@chenzanyu
Copy link
Author

<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:vm="clr-namespace:BUGDemo.ViewModels"
			 xmlns:AvaloniaEdit="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="BUGDemo.Views.MainView"
             x:DataType="vm:MainViewModel">
  <Design.DataContext>
    <!-- This only sets the DataContext for the previewer in an IDE,
         to set the actual DataContext for runtime, set the DataContext property in code (look at App.axaml.cs) -->
    <vm:MainViewModel />
  </Design.DataContext>


	<Grid>
		<AvaloniaEdit:TextEditor  x:Name="testTextBox" FontFamily="Cascadia Code,Consolas,Menlo,Monospace"/>
	</Grid>

</UserControl>

@chenzanyu
Copy link
Author

using Avalonia.Controls;
using System.Collections.Generic;
using System.Linq;

namespace BUGDemo.Views;

public partial class MainView : UserControl
{
    public MainView()
    {
        InitializeComponent();
        setTestTextBoxText();
    }

    private void setTestTextBoxText()
    {
        testTextBox.Text = string.Join("\r\n", Enumerable.Range(0, 5000).Select(x => x.ToString()));
    }
}

@chenzanyu
Copy link
Author

test.mp4

@chenzanyu
Copy link
Author

After rolling, you cannot enter Chinese.When you click outside the Application, you can enter Chinese normally, but the IME is placed at the bottom of the screen

@Gillibald Gillibald self-assigned this Jul 9, 2023
@danipen
Copy link
Collaborator

danipen commented Jul 25, 2023

@Gillibald is this one on you ToDo?

@Gillibald
Copy link
Contributor

It is but I will not be able to work on this for the next 3 weeks and will most likely very busy working on other things after that time frame.

@DWVoid
Copy link

DWVoid commented Nov 20, 2023

How are things going on this issue? In the current 11.0.5 release the IME window position is still incorrect unless the text is scrolled to the top left position, and after dragging the scrolllbar to scroll IME does not activate anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants