Skip to content

Mouse cursor in insert mode is almost invisible on dark background on Mac not retina #910

Closed

Description

@nfuria

With the last update - 8.1.1517, the I-beam cursor lost the white border that allowed it to be visible on dark backgrounds.
Workaround: Reinstall the previous version ....

Activity

  1. ychin commented on Jun 15, 2019

    @ychin
    Member

    @nfuria Do you have a screenshot or can you tell me what color scheme you are using? The old white cursor was not designed for retina hence it was changed to use the system I beam but if it’s causing real readability issues we should revert it and just add a HD cursor instead (that’s actually what Xcode does).

    Also, I do recommend against downgrading because of the security vulnerability.

  2. added this to the snapshot-157 milestone on Jun 17, 2019
  3. nfuria commented on Jun 17, 2019

    @nfuria
    Author
  4. eirnym commented on Oct 22, 2019

    @eirnym
    Contributor

    @nfuria Could you check the snapshot 159 and tell if it still an an issue for you?

    I can't reproduce it with the latest snapshot anymore

  5. nfuria commented on Oct 22, 2019

    @nfuria
    Author
  6. eirnym commented on Oct 22, 2019

    @eirnym
    Contributor

    I see it white on black background

    This is a screenshot from mvim --clean:

    Zrzut ekranu 2019-10-22 o 21 10 39

    Zrzut ekranu 2019-10-22 o 22 23 44

  7. nfuria commented on Oct 23, 2019

    @nfuria
    Author
  8. eirnym commented on Oct 23, 2019

    @eirnym
    Contributor

    You can see on my second screenshot this I-beam cursor above "It was created by" words.

  9. nfuria commented on Oct 23, 2019

    @nfuria
    Author
  10. nfuria commented on Oct 23, 2019

    @nfuria
    Author
  11. eirnym commented on Oct 23, 2019

    @eirnym
    Contributor

    @nfuria I'm sorry, I don't see screenshots within GitHub interface. Could you check them there and re-attach if missing?

  12. 2 remaining items

  13. nfuria commented on Oct 24, 2019

    @nfuria
    Author

    I use the mouse to put the cursor where I want. In normal mode the mouse pointer has a arrow shape and in insert mode it has a I-beam shape. The problem is withe this I-beam as marked in the screenshot bellow.
    macvim

  14. eirnym commented on Oct 24, 2019

    @eirnym
    Contributor

    ah, you meant mouse I-beam cursor. I thought all the time you're talking about text cursor. I'm sorry for the misunderstanding. It's better if you edit the issue to name it better.

    Currently, I have MacVim 159, macOS 10.15 on MBP with Retina display and see mouse cursor better than you have on the second screenshot.

  15. changed the title [-]Cursor in insert mode is almost invisible on dark background[/-] [+]Mouse cursor in insert mode is almost invisible on dark background on Mac not retina[/+] on Oct 24, 2019
  16. nfuria commented on Oct 24, 2019

    @nfuria
    Author

    Sorry for the confusion. As the insert cursor in Vim is always a vertical bar and not a I-beam as it occur in almost all other applications, I didn't explain that the problem was with the mouse cursor.

  17. reopened this on Oct 24, 2019
  18. eirnym commented on Oct 25, 2019

    @eirnym
    Contributor

    Please, describe your configuration to help us investigate further:

    • which MacVim distribution do you use? e.g. GitHub, Homebrew, MacPorts, etc
    • MacVim version
    • macOS version
    • does your physical screen supports Retina? If you're not sure, please tell us more details

    we need to reproduce this issue.

    I have MacVim from GitHub 159, macOS 10.15, MBP with Retina and can't reproduce the issue.

  19. nfuria commented on Oct 25, 2019

    @nfuria
    Author
  20. ychin commented on Oct 26, 2019

    @ychin
    Member

    Let me look more into this. Non-retina displays are definitely supported features. I could always just use the old cursor for non-retina displays.

  21. added a commit that references this issue on Oct 28, 2019
    f2ef091
  22. ychin commented on Oct 28, 2019

    @ychin
    Member

    Ok, so basically #859 changed MacVim to use the system native I-beam cursor.

    I think Mojave (10.14) and above have a new set of I-beam cursors that have the strong white border, which I think were designed to work well on dark mode. That's why I couldn't quite see what the issue is. Since you are using 10.13 I think the system cursors are less designed for dark backgrounds and hard to see in those situations. I have made it so that on 10.13 or below, MacVim will use the old custom cursor with the contrasty cursor which should work for you. It will make 10.13 retina users see a blurry cursor, but for those people they should be able to upgrade to Mojave at least.

  23. added a commit that references this issue on Oct 28, 2019
  24. nfuria commented on Oct 28, 2019

    @nfuria
    Author
  25. added a commit that references this issue on Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions