question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RichEditBox TextCommandBarFlyout UI glitches

See original GitHub issue

Describe the bug I am trying to migrate my custom RichEditBox.ContextFlyout to a TextCommandBarFlyout, mostly to get advantage of proofing menu, but I’m encountering a lot of problems in doing so. I don’t want to have primary commands for text formatting, so I disabled key accelerators for them using DisabledFormattingAccelerators. Now the problem is that CommandBar primary part isn’t visible, but it’s still in the visual tree, and it is hit test visible. This causes the whole flyout to appear shifted up/down by the bar height. Also, position is shifted horizontally, by flyout width/2 (That’s it, it doesn’t appear corner aligned with the mouse pointer, but center aligned).

I also found one more bug, this time when primary commands are available: giphy

Last one is: having a secondary command with a Flyout assigned, the flyout often closes by itself when moving the pointer from the CommandBar to it.

Version Info

NuGet package version: [Microsoft.UI.Xaml 2.4.2]

Windows 10 version Saw the problem?
May 2020 Update (19041) Yes
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Additional context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
chingucodingcommented, Dec 3, 2020

I don’t think it would be fixed by #3594 though that’s hard to tell without a repro.

1reaction
FrayxRulezcommented, Dec 1, 2020

I moved away from TextCommandBarFlyout and I forgot about the repro. I’m sorry, I will try to get something today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows UI Library changelog - Awesome .NET - LibHunt
Windows UI Library: the latest Windows 10 native controls and Fluent styles ... 6265117 Fix issue with TextCommandBarFlyout not opening when using custom ......
Read more >
UI glitching in multiple apps
UI elements, text, checkboxes and dropdown menus are glitching out in many of my apps. Hard to document, cause sometimes it works completely ......
Read more >
Windows 10 SDK Preview Build 17723 available now!
Today, we released a new Windows 10 Preview Build of the SDK to be used in conjunction with Windows 10 Insider Preview (Build...
Read more >
RichEditBox Class (Windows.UI.Xaml.Controls)
Represents a rich text editing control that supports formatted text, hyperlinks, and other rich content.
Read more >
Untitled
The RadRichTextBox is part of Telerik UI for WPF, a professional grade UI ... UWP and WinUI 2 Create a rich edit box...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found