Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Text pasted has white background on white #819

Closed

Description

@jdsimcoe

When I paste any text in to Hyper.app the pasted text shows white background on white:

screen shot 2016-10-07 at 1 38 37 pm

I have no plugins.

Activity

  1. changed the title [-]Test pasted has white background on white[/-] [+]Text pasted has white background on white[/+] on Oct 7, 2016
  2. added
    🐛 Type: Bug
    help wanted
    on Oct 7, 2016
  3. flybayer commented on Oct 7, 2016

    @flybayer
    Contributor

    Does this still happen if you temporarily comment out all of your custom configuration and plugins?

  4. dennisroethig commented on Oct 7, 2016

    @dennisroethig

    fwiw I saw that behaviour too a few times, after trying to replicate it and restarting Hyper multiple times it seems to be fine now ¯_(ツ)_/¯

  5. iamstarkov commented on Oct 7, 2016

    @iamstarkov
    Contributor

    have seen this today

  6. jdsimcoe commented on Oct 10, 2016

    @jdsimcoe
    Author

    @flybayer I commented everything out and it still happens.

  7. muescha commented on Oct 10, 2016

    @muescha

    the white on white in nano editor (#838) is without any plugin enabled. a fresh install

  8. timothyis commented on Oct 10, 2016

    @timothyis
    Contributor

    @muescha I can reproduce.

  9. jessemillar commented on Oct 12, 2016

    @jessemillar

    I can also reproduce. If I change my foregroundColor to be partially transparent (e.g. 'rgba(255, 255, 255, 0.75)'), I can at least read the highlighted text, but it's far from perfect.

    The same bug can be seen when using vim and selecting white text with the v visual selector.

    Edit: I'm using zsh as my shell which is interesting considering @lukasma's report below.

  10. lukasmalkmus commented on Oct 14, 2016

    @lukasmalkmus

    I can reproduce on OS X:
    Hyper + zsh = NOT OK!
    Hyper + bash = OK!
    iTerm2 + zsh = OK!
    iTerm2 + bash = OK!
    (No modifications/plugins whatsoever!)

  11. nicholasruggeri commented on Oct 14, 2016

    @nicholasruggeri

    Fresh install. White on white in nano editor
    screenshot 2016-10-14 17 42 38

  12. tonybaroneee commented on Oct 15, 2016

    @tonybaroneee

    Fresh install, fish shell, macOS Sierra (10.12)

    image

  13. knownasilya commented on Oct 21, 2016

    @knownasilya

    Also happens for text like _my test_, which is an issue for markdown files with __my test__ (emphasis). If there was a class on that element, it would be possible to override the style, but no class exists..

  14. jessemillar commented on Oct 21, 2016

    @jessemillar

    The lack of classing on highlighted text has been my issue in attempting local mitigation as well...

  15. 42 remaining items

  16. DEfusion commented on Jun 13, 2019

    @DEfusion

    Getting this on 3.0.2 stable with zsh, the workaround for zsh by @jakeNiemiec works for me at the moment.

  17. mazyvan commented on Jul 11, 2019

    @mazyvan

    this issue is also happening on tabs with zsh

  18. isanimu commented on Aug 1, 2019

    @isanimu

    Inside the .hyper.js config, If the backgroundColor was set to not using alpha (ex: #000000), it wouldn't trigger the problem.

    Sets the backgroundColor to any color with alpha (ex: rgba(0, 0, 0, 0.8)) WILL trigger the problem if the renderer was not WebGL.

    When using plugin that sets the backgroundColor to any color that using alpha will set the renderer to use WebGL instead of Canvas renderer. While setting it inside the config won't, I don't know why.

    I've tested it using hyper-material-theme plugin and also tested using dummy local plugin to set the backgroundColor to a color with alpha, it solves the problem because it triggers the renderer to use WebGL.

    The only problem when using WebGL renderer is that it will use the dedicated GPU, unless you don't have any problem with that.

    @jakeNiemiec unset zle_bracketed_paste to .zshrc works with any renderer and solves the problem for zsh shell.

  19. jakeNiemiec commented on Aug 1, 2019

    @jakeNiemiec

    I removed everything alpha/opacity related and now everything works. Thanks @isanimu!

  20. mvllow commented on Aug 1, 2019

    @mvllow

    Unfortunately still having this issue. With a fresh install, highlighted text is somewhat legible (translucent white with white text) but with themes such as hyper-website-theme and hyper-snazzy the text is still white/white. I suppose it could be an issue with the themes as I've only tested a few but either way, without a theme it is still not ideal.

  21. Relaxself commented on Mar 7, 2020

    @Relaxself

    It's appear when I use opacity color or plugin.

  22. bet4it commented on Mar 7, 2020

    @bet4it
    Contributor
  23. Relaxself commented on Mar 7, 2020

    @Relaxself

    @Relaxself Try v3.1.0-canary.4

    OK,I‘ll try. thx

  24. Relaxself commented on Mar 7, 2020

    @Relaxself

    @Relaxself Try v3.1.0-canary.4

    I used 3.1.0 install and fresh install ,but unfortunately, it appear an error.
    when first I open hyper,the screen like this:
    image

    then i press any key... oh my
    image

    my System info is:
    MacOS Catalina
    ZSH
    and hyper use default config,no plugin and no change

  25. bet4it commented on Mar 7, 2020

    @bet4it
    Contributor

    @Relaxself This may be another issue?

  26. snappy316 commented on Apr 7, 2020

    @snappy316

    Updating to 3.1.0-canary.4 seems to have fixed it! 🎉

    Both the pasted text from the original issue, as well as the bug in Nano as shown in this comment are now fixed!!

    (For reference, backgroundColor: "rgba(0, 0, 0, 0.7)" in my config was broken in 3.0.2, but was immediately fixed in the canary version.)

  27. OnTheRicky commented on Apr 8, 2020

    @OnTheRicky

    I have this problem not only when I paste text, but also when there is download bar that "scrolls over" text.

    Running Hyper 3.0.2 (stable) + zsh on macOS Catalina
    Renderers: Canvas (4)
    Plugins:
    hyper-search (0.4.0),
    verminal (1.5.1),
    hyperline (1.2.0)

  28. Mvrs commented on May 13, 2020

    @Mvrs

    Can confirm that this problem has been resolved in the latest 3.1.0-canary.4 version
    🥳

  29. LabhanshAgrawal commented on Jul 2, 2020

    @LabhanshAgrawal
    Contributor

    Based on the last comment, it seems to be fixed.
    Closing this, Feel free to open a new issue if you face any problems.

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

    help wanted🐛 Type: Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions