WindowsCommunityToolkit icon indicating copy to clipboard operation
WindowsCommunityToolkit copied to clipboard

[InfiniteCanvas] Selected text is not visible

Open gbarcho opened this issue 8 years ago • 11 comments

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior

After adding text Hello to the canvas and then selecting them its not clear what is the text inside the area. The selection hide the entire content. image

Expected behavior

The selected text should be visible like this one. image

Minimal reproduction of the problem with instructions

InfiniteCanvasSample.zip

Environment

Nuget Package(s): 
Microsoft.Toolkit.Uwp.UI.Controls
Package Version(s): 
3.0.0

Windows 10 Build Number:
- [ ] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [x] April 2018 Update (17134)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [x] April 2018 Update (17134)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [x] 2017 (version: )
- [ ] 2017 Preview (version: )

gbarcho avatar Jun 15 '18 20:06 gbarcho

I believe this is a known issue - ping @IbraheemOsama for more details.

nmetulev avatar Jun 18 '18 22:06 nmetulev

The problem is within the SDK textbox highlight brush as it doesn't allow to set the opacity of the brush, the property is there but useless and to work around it we need to create our own custom TextBox from scratsh :)

IbraheemOsama avatar Jun 18 '18 23:06 IbraheemOsama

Whats the current status?

gbarcho avatar Jun 27 '18 15:06 gbarcho

This issue seems inactive. It will automatically be closed in 14 days if there is no activity.

windowstoolkitbot avatar Jan 17 '19 21:01 windowstoolkitbot

This issue seems inactive. It will automatically be closed in 14 days if there is no activity.

windowstoolkitbot avatar Jan 25 '19 07:01 windowstoolkitbot

This issue seems inactive. It will automatically be closed in 14 days if there is no activity.

windowstoolkitbot avatar Feb 02 '19 23:02 windowstoolkitbot

We still can't do anything as it is a bug in UWP Textbox not within our code, but let's ask @michael-hawker if it was fixed in the SDK

textbox.SelectionHighlightColor.Color = Color.FromArgb( 0, 0, 0, 0); textbox.SelectionHighlightColor.Opacity = 0; won't work

IbraheemOsama avatar Feb 07 '19 10:02 IbraheemOsama

@IbraheemOsama we'll take a quick look today, but we should probably file an issue on https://www.github.com/Microsoft/microsoft-ui-xaml

michael-hawker avatar Feb 07 '19 19:02 michael-hawker

This issue seems inactive. It will automatically be closed in 14 days if there is no activity.

windowstoolkitbot avatar Feb 15 '19 00:02 windowstoolkitbot

@ranjeshj is there anyone we can talk to on your team about the TextBox and how we can solve this issue? Is there something we're missing here, or should we be filing an issue on WinUI?

michael-hawker avatar Jun 24 '20 17:06 michael-hawker

@ranjeshj can you please provide an update asked above ⬆️

Kyaa-dost avatar Apr 27 '21 22:04 Kyaa-dost