MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

MaterialDesignDataGridTextColumnPopupEditingStyle: Mouse and focus issues

オープン
#493 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug datagrid up-for-grabs
主要言語
C#
スター
16.3k
フォーク
3.5k
平均マージ
1日 22時間
マージ済み PR(30日)
8

説明

When you double click on a cell which has EditingElementStyle="{StaticResource MaterialDesignDataGridTextColumnPopupEditingStyle}" defined, the popup appears but there are a few issues:

  1. You can't move the cursor using the mouse and can't select text with the mouse (although right clicking brings up the context menu correctly).
  2. If the cell editing popup is open and you change focus to another app, the popup remains on top of the other application.
  3. (Minor/opinion) The cursor's position is at the beginning of the TextBox when the popup editor opens (I think this would typically be at the end?)

To reproduce:

  • Open the WPF demo
  • Selecting the "Grids" page using the menu
  • Double click on a cell in the Name or Description columns to start editing
  • Try using the left mouse button to move the cursor or select text inside the popup
  • Switch to another application while the cell editor is open

Here's a screenshot of the popup over another window.
popup_example

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

WPF デモの Grids ページと、Name 列および Description 列で使用されている MaterialDesignDataGridTextColumnPopupEditingStyle から始めます。ダブルクリックでポップアップの動作を再現し、その後、ポップアップエディターにおけるマウス選択、アプリケーションフォーカス、初期カーソル位置の処理を追跡します。完了条件は、マウスによる編集が機能し、ポップアップが別のアプリケーションの上に残り続けず、カーソルの動作に対処できていることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。