MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Graphic Artifacts when using GroupBox/Card in ViewBox

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

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

bug
主要言語
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

https://user-images.githubusercontent.com/54487782/116099068-e36b2380-a6ab-11eb-9093-8e60a94b9d62.mp4

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.

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

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

はじめの一歩

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

調査の方向性

まず、ViewBox と GroupBox/Card を含む UserControl で報告されたアーティファクトを再現し、ダークモードとライトモード、および添付動画を比較します。試行された UseLayoutRounding、SnapsToDevicePixels、ソフトウェアレンダリングの設定を確認します。マウスを動かしたり画面の明るさを下げたりしてもアーティファクトが表示されなくなれば完了です。

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

評価

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

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

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