MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

ToggleButton throws exception if IsThreeState is enabled

オープン
#2,133 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

説明

The ToggleButton throws an exception if the "IsThreeState" property is set to true and the button is clicked.

Exception thrown: 'System.InvalidOperationException' in PresentationFramework.dll
An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll
Der Name "IndeterminateCheck" wurde im Namensbereich von "System.Windows.Controls.Grid" nicht gefunden.

Translated it would probably s.th. like: `The name "IndeterminateCheck" could not be found in the namespace of "System.Windows.Controls.Grid"`

Versions:
MaterialDesignThemes: 3.2.0
MaterialDesignColors: 1.2.7

Example Repo: https://github.com/badcel/BugMaterialDesignToggleButton.git

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

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

はじめの一歩

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

調査の方向性

Start by running the linked BugMaterialDesignToggleButton example with MaterialDesignThemes 3.2.0 and clicking a ToggleButton with IsThreeState enabled. Trace the ToggleButton behavior around the IndeterminateCheck lookup and reproduce the InvalidOperationException. Done means three-state clicking no longer throws and the indeterminate state works.

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

評価

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

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

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