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

Text selection highlighting disappears #2996

Closed
krlvm opened this issue Jul 27, 2020 · 2 comments
Closed

Text selection highlighting disappears #2996

krlvm opened this issue Jul 27, 2020 · 2 comments

Comments

@krlvm
Copy link

krlvm commented Jul 27, 2020

Describe the bug

  1. Highlight of selected text disappears after opening a context menu (right click) when it is already opened.
    The highlight returns after closing the context menu (left click).
  2. Highlight of selected text disappears (and appears again after opening and closing context menu) after user minimized/restored/maximized window (affects not all controls).
  3. Highlight of selected text disappears after user changes the focus inside window, but the selection still remain, it appears again after opening and closing context menu (affects not all controls).

Steps to reproduce the bug

The bugs is present in all UWP apps, including the Windows 10 system ones.
They can be easily reproduced in XAML Controls Gallery app.

Steps to reproduce the behavior:

Bug №1:

  1. Go to 'Text -> TextBox'
  2. Select some text, in a TextBox or in a code snippet.
  3. Open context menu (highlight is visible).
  4. Open it again quickly, do not close the previous before (highlight is gone).
  5. Close the context menu by left click (highlight is visible).

Bug №2:

  1. Go to 'Text -> TextBox'
  2. Select some text in a code snippet.
  3. Minimize/restore/maximize window (highlight is gone).
  4. Open code snippet's context menu (highlight is not visible).
  5. Close the context menu by left click (highlight is visible).

Bug №3:

  1. Go to 'Text -> TextBox'
  2. Select some text in a code snippet.
  3. Lose focus, click on TextBox for example.
  4. Open code snippet's context menu (highlight is not visible).
  5. Close the context menu by left click (highlight is visible).

Expected behavior

  1. Highlight of selected text should not disappear.
  2. Highlight of selected text should not disappear if user minimized/restored/maximized window.
  3. Text selection should be completely removed after user changed focus inside window, not only the highlight.

Screenshots

Bug №1:
Bug1

Bug №2:
Bug2

Bug №3:
Bug3

Version Info

NuGet package version: 2.4.2

Windows 10 version Saw the problem?
Insider Build (20175) Yes
May 2020 Update (19041) Yes
November 2019 Update (18363) Yes
May 2019 Update (18362) Yes
October 2018 Update (17763) Yes
April 2018 Update (17134) Yes
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT
@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Jul 27, 2020
@Felix-Dev
Copy link
Contributor

This sounds similar to #1801.

@krlvm
Copy link
Author

krlvm commented Jul 27, 2020

Exactly, didn't find it right away.
This issue can be marked as duplicate, since all of bugs is related to highlighting color when control is not in focus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants