Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table and image resize are broken in WinUI 3 RichEditBox #10090

Open
manfromarce opened this issue Oct 21, 2024 · 0 comments
Open

Table and image resize are broken in WinUI 3 RichEditBox #10090

manfromarce opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@manfromarce
Copy link

Describe the bug

The RichEditBox allows to resize images and table rows/columns like the native RichEdit control, even if it doesn't display a resize cursor or adorner (as a side note, it would be nice if it did since it's been supported in WordPad for many years).
However, while they work individually, if you have both an image and a table in the RichEditBox content there are visual glitches, it seems the controls doesn't properly redraw itself (please see the GIF below). Selecting all via Ctrl+A seems partially fix this, but often it's impossible to remove the selection from a table or cell by clicking away from it.
This issue only occurs in WinUI 3, not in UWP/WinUI 2.

Steps to reproduce the bug

I can't find a consistent way to reproduce this (sometimes images work, while for tables always occurs), but generally:

  1. Paste an image or insert it using ITextRange.InsertImage()
  2. Paste a table from Microsoft Word or another word processing software
  3. Try to resize the image and a row or column, alterning between them

Expected behavior

It should work properly as in UWP / WinUI 2.

Screenshots

Image

NuGet package version

WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@manfromarce manfromarce added the bug Something isn't working label Oct 21, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

1 participant