Bug: TilesBrush not rendering correctly in WASDK compared to UWP

Đang mở
#686 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
csharp
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu bằng cách chạy TilesBrushWasdkBugTest.zip đính kèm trong một ứng dụng WinAppSDK/WinUI 3 trống và so sánh với các ví dụ WASDK và UWP của Windows Community Toolkit Gallery. Theo dõi điểm vào kết xuất của TilesBrush và tái hiện sự khác biệt; được xem là hoàn tất khi TilesBrush hiển thị hình ảnh được xếp ô như mong đợi trong WASDK giống như trong UWP, kèm theo kiểm tra hồi quy nếu dự án cung cấp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug

Is there a known issue with TilesBrush? I copied the code and image from Windows Community Toolkit Gallery app and it doesn't work in a simple app. No error, but nothing displayed.

Steps to reproduce
I was able to repro this bug in a blank WASDK app, and found that this issue is present in the WASDK version of the Gallery as well.

[TilesBrushWasdkBugTest.zip](https://origin.owlcore.io/ipfs/bafkreibvihky53onnwf5yezaujf6rv3jdsy4wbckeqhdrqck6s4oi3tk24?filename=TilesBrushWasdkBugTest.zip)
Expected behavior

On Wasdk, we see:

It's not clear why this works on UWP but not Wasdk.

On UWP, we see:

Screenshots

No response

Code Platform
  • UWP
  • WinAppSDK / WinUI 3
  • Web Assembly (WASM)
  • Android
  • iOS
  • MacOS
  • Linux / GTK
Windows Build Number
  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 10 21H2 (Build 19044)
  • Windows 10 22H2 (Build 19045)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)
Other Windows Build number

No response

App minimum and target SDK version
  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Windows 10, version 2104 (Build 20348)
  • Windows 11, version 22H2 (Build 22000)
  • Other (specify)
Other SDK version

No response

Visual Studio Version

No response

Visual Studio Build Number

No response

Device form factor

No response

Additional context

Reported in the #community-toolkit channel in the Windows App Community.

Help us help you

Yes, I'd like to be assigned to work on this item.

Ngôn ngữ chính
C#
Star
1.1k
Fork
171
Merge trung bình
2 giờ 48 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CommunityToolkit/Windows

Tất cả issue của CommunityToolkit/Windows

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.