Holding down Ctrl-X cuts 7 lines then freezes application for a few seconds
まだ誰も着手していません。
評価
調査の方向性
AvalonEdit TextEditor のみを含む最小限の MainWindow XAML でフリーズを再現し、報告された PresentationCore.dll 例外を監視しながら Ctrl-X を押し続けます。Ctrl-X の繰り返しと Ctrl-D を比較し、リモートデスクトップのクリップボード監視によって動作が変わるかテストします。Windows 10 と 11 で、Ctrl-X の繰り返しによってフリーズせずに行が削除されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 2.1k
- フォーク
- 496
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
icsharpcode/AvalonEdit のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
icsharpcode/AvalonEdit#454 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
icsharpcode/AvalonEdit#449 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
icsharpcode/AvalonEdit#446 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
icsharpcode/AvalonEdit#445 · コメント 1 件 ·
-
Context menu ApplicationCommands.Cut still enabled when IsReadOnly = true対応中かも @JyslaFancy が 162 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
icsharpcode/AvalonEdit#444 ·
icsharpcode/AvalonEdit の issue をすべて見る
似ている issue
-
type:task ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elsa-workflows/elsa-foundation#5253 ·
メンテナーはふだん 1 日以内に返信