Skip to content

UI: New focused states on inputs looks.... broken, for lack of a better word #7242

Closed

Description

@daattali

Version 1.3.959 Windows 10

It seems like one of the recent version of RStudio included UI changes to add "focus states" to many inputs. While that's a very worthy cause, I think it wasn't implemented in a visually appealing way, and I actually thought I was seeing bugs initially. The light blue box that appears around inputs looks out of place and does not flow with the aesthetics very well. This is the first time I've ever had any negative feedback about anything UI related in RStudio - it had to happen eventually :)

To show a few examples:

  1. Around the "Next"/"Prev"/"All" buttons in the Find toolbar, the box is not centered

image

  1. The "Go to file/function" input, when you're focused inside it and start typing, the outline makes it look as if it's three entirey different components, the blue outline makes a very sharp cut around the input that confused me and made me take another look at where my cursor is

image

  1. The commit message has rounded corners. But when you click on it to start typing, the outline around it is not rounded, yet you can still see the gray rounded corners peeking inside

image

I hope the UI of the focused-state feature will be improved to look more streamlined, or a way to disable it for those who don't need it and feel that it's a bit of a hindrance in its current form would be good too.

Activity

  1. gtritchie commented on Jun 27, 2020

    @gtritchie
    Member

    We will gradually improve look of these, it is a very time-consuming exercise given vast amount of UI and variations in the underlying HTML/CSS.

    Agree an option to turn this off would be a good idea as well, given it won't be a quick fix to improve the look.

  2. self-assigned this
    on Jun 27, 2020
  3. gtritchie commented on Jun 27, 2020

    @gtritchie
    Member

    In the case of the "go to file/function input", it is actually two components. You can separately focus the text field, and the "x" button next to it, so they do need separate focus indicators. But agree the presentation needs improvement, possibly including the cosmetic arrow in the rectangle for the textbox.

  4. added this to the v1.4 milestone on Jul 15, 2020
  5. added a commit that references this issue on Jul 15, 2020
    a8e8491
  6. added a commit that references this issue on Jul 16, 2020
    b7f2b46
  7. daattali commented on Jul 16, 2020

    @daattali
    ContributorAuthor

    Regarding the question in the commit message: my suggestion "Always show focus outlines"

  8. gtritchie commented on Jul 16, 2020

    @gtritchie
    Member

    @daattali I was being tongue-in-cheek with that question but your suggestion is a good one and I’ll change it to that.

  9. daattali commented on Jul 16, 2020

    @daattali
    ContributorAuthor

    You didn't add a sacrasm tag :(

  10. gtritchie commented on Jul 16, 2020

    @gtritchie
    Member

    No worries. 🙂

  11. R-Hannibal commented on Aug 27, 2020

    @R-Hannibal

    Verified Fixed on: RStudio Version - 1.4.747, R Version - 4.0.2, Windows 10 x64 - Desktop

    The 'Always show focus outlines'option has been added to Global Options > Accessibility. The option appears to be functioning successfully (it does not disable ALL focus rectangles, but I did a general test and the remaining focus elements seem appropriate and not TOO obtrusive when the option is disabled).

  12. self-assigned this
    on Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions