MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Glitch with controls inside cards

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

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

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

説明

### Bug explanation

It appears that there is a visual glitch whenever a certain controls are clicked on dark theme (when they're inside a card).

An example:

```



```

**Results (when inside a card):**

![P2FCXguasE](https://user-images.githubusercontent.com/14929605/194829238-e483150a-ef18-4064-8f2c-d2b75c3bfe2b.gif)

**Results (when I put the exact same code outside of the card):**

![nVxHWSuinA](https://user-images.githubusercontent.com/14929605/194829418-e8956519-5be9-4a17-93fa-3d2f033faf42.gif)

Same thing with a DataGridView when it's inside the card (it's not that apparent, but you can see the glitch on the left side of the sort arrow:

![X332xQt42Y](https://user-images.githubusercontent.com/14929605/194829777-da313dae-e826-4bc7-8bc0-423a48fffcda.gif)

This also happens with the Light theme switched ON.

What could be the problem here? I'm suspecting its the window hosting this UserControl, but I'm not sure where to start looking.
If I host these buttons on a dialog, or something, they work just fine.

### Version

4.5.0

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

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

はじめの一歩

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

調査の方向性

まず、issue で説明されているダークテーマとライトテーマを使い、カードの内外で報告された Button と DataGridView の動作を再現します。バージョン 4.5.0 で視覚的な結果を比較します。両方のテーマで、カード内のコントロールが報告されたグリッチなしにレンダリングされれば完了です。

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

評価

技術スタック
csharp
領域
design, desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

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

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