Holding down Ctrl-X cuts 7 lines then freezes application for a few seconds
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Tái hiện hiện tượng treo trong MainWindow XAML tối thiểu chỉ chứa một AvalonEdit TextEditor, giữ Ctrl-X trong khi theo dõi các ngoại lệ PresentationCore.dll được báo cáo. So sánh việc nhấn Ctrl-X lặp lại với Ctrl-D và kiểm tra xem việc giám sát clipboard qua máy tính từ xa có làm thay đổi hành vi hay không. Hoàn thành khi việc nhấn Ctrl-X lặp lại xóa các dòng mà không bị treo trên Windows 10 và 11.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I noticed if I pressed Ctrl-X to cut a line and then held it down to continue cutting lines, the interface would freeze up for a few seconds after the 7th line. After it unfreezes, it'll delete another 1 line or 7 lines and then freeze again. This would continue to repeat. On one machine, it doesn't unfreeze unless I let go of the keys. In the debugger, I see these messages keep printing while the interface is frozen so maybe they're related.
Exception thrown: 'System.Runtime.InteropServices.COMException' in PresentationCore.dll
Exception thrown: 'System.NotImplementedException' in PresentationCore.dll
The build environment probably doesn't matter since I tried some other projects using AvalonEdit such as RoslynPad and the Edi sample projects as well as a new blank project in VS2019 targeting 4.7.2 and the latest AvalonEdit with only <avalonEdit:TextEditor /> added to the MainWindow XAML. The same behavior occurred in all of them for me and occurs on both Window 10 and 11.
In case this is an issue with the clipboard locking/synchronizing, I am doing this over remote desktop with the clipboard monitoring enabled.
The freezing doesn't occur if is use Ctrl-D to delete lines.
The expected behavior would be to continue deleting lines without freezing the application.
- Ngôn ngữ chính
- C#
- Star
- 2.1k
- Fork
- 496
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của icsharpcode/AvalonEdit
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
icsharpcode/AvalonEdit#454 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
icsharpcode/AvalonEdit#449 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
icsharpcode/AvalonEdit#446 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
icsharpcode/AvalonEdit#445 · 1 bình luận ·
-
Context menu ApplicationCommands.Cut still enabled when IsReadOnly = trueCó thể đã có người làm @JyslaFancy đã nhận 162 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
icsharpcode/AvalonEdit#444 ·
Tất cả issue của icsharpcode/AvalonEdit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
umbraco/Umbraco.Automate#612 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
崩溃日志只按 CRLF 分行Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PCL-Community/PCL-CE#3872 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type:task ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elsa-workflows/elsa-foundation#5253 ·
Maintainer thường phản hồi trong vòng 1 ngày