MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
Graphic Artifacts when using GroupBox/Card in ViewBox
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 16.3k
- フォーク
- 3.5k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 8
説明
I have a UserControl with a ViewBox inside.
I don't know why but in dark mode, some graphic artifacts appear when I move my mouse over them
I've tried to fix it with the different solutions listed here : https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/issues/1097
I've tried :
UseLayoutRounding="True"SnapsToDevicePixels="True"RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly
Moreover, I've tried to visualize my ViewBox with Snoop, but Height and Width values seem normal.
In light mode I don't have this problem.
- EDIT -
I lowered the brightness of my screen, and I just saw that there are also artifacts in light mode.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、ViewBox と GroupBox/Card を含む UserControl で報告されたアーティファクトを再現し、ダークモードとライトモード、および添付動画を比較します。試行された UseLayoutRounding、SnapsToDevicePixels、ソフトウェアレンダリングの設定を確認します。マウスを動かしたり画面の明るさを下げたりしてもアーティファクトが表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100