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

Add unfocused selection color to front most window #1171

Open
mcclurgm opened this issue Jan 21, 2022 · 0 comments
Open

Add unfocused selection color to front most window #1171

mcclurgm opened this issue Jan 21, 2022 · 0 comments

Comments

@mcclurgm
Copy link
Sponsor

mcclurgm commented Jan 21, 2022

What Happened?

See also #709

Even when a text widget isn't in focus, it displays the accent color "focused" selection color. In the current state there is an unfocused color, but that only applies when the whole window is in the background. It's still possible to have a selection in a widget that's not focused, even when the window is in the foreground.

This makes it confusing what widget actually has focus. If two text widgets are on screen, but the one that's not focused has selection, then it is more prominent and looks more like it's focused, even though it is not.

This is somewhere in between a bug report and a feature request. But since there is an unfocused behavior that just doesn't apply in all cases I consider it more of an issue than a new feature.

Steps to Reproduce

To see an unfocused widget in a focused window:

  1. Open a file selector (for example, the Save As dialog on a new file in Code)
  2. Start typing in the filename field. Then select the text you've entered. It should highlight in your accent color, and the text field should also have an accent color highlight surrounding it to show that it's focused.
  3. Start a search in the browser, by clicking on an empty part of the window and typing. It should bring up a search field that will have focus (demonstrated by the highlight surrounding the search field).
  4. Notice that the selected text in the filename field is still highlighted in accent color, even though the widget is not focused.

Bildschirmfoto von 2022-01-21 11 43 09

Expected Behavior

When input does not go directly to the text widget, its selection color should be grey instead of accent. In the above example, the filename field would have a grey (unfocused) selection highlight.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

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

1 participant