Text pasted has white background on white #819

Closed
jdsimcoe opened this Issue Oct 7, 2016 · 25 comments

Projects

None yet
@jdsimcoe
jdsimcoe commented Oct 7, 2016

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.

@CodeTheory CodeTheory changed the title from Test pasted has white background on white to Text pasted has white background on white Oct 7, 2016
@flybayer
Contributor
flybayer commented Oct 7, 2016

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

@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 ¯_(ツ)_/¯

@iamstarkov
Contributor

have seen this today

@jdsimcoe

@flybayer I commented everything out and it still happens.

@muescha
muescha commented Oct 10, 2016 edited

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

@CodeTheory
Collaborator

@muescha I can reproduce.

@jessemillar
jessemillar commented Oct 12, 2016 edited

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.

@LukasMa
LukasMa commented Oct 14, 2016 edited

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

@nicholasruggeri

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

@tonybaroneee

Fresh install, fish shell, macOS Sierra (10.12)

image

@knownasilya
knownasilya commented Oct 21, 2016 edited

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..

@jessemillar

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

@LeonBlade
LeonBlade commented Oct 26, 2016 edited

Fresh install, same problem. I'd rather use vim over nano anyway... but, it also effects pasted text.

@chriscraws

I ran into this issue using hyper for the first time; both bash and zsh are affected for me.

@ipalindromi

I am also experiencing this issue after a first time install with zsh on macOS Sierra.

@lordgiotto
Contributor

Same issue here with Sierra, hyper 0.8.3 and zsh.

@reneruiz

Also affected. Sierra, hyper 0.8.3., zsh 5.2

@harryparkdotio

Same issue here, Sierra: 10.12.1. Hyper: 0.8.3 (0.8.3.873). Also using zsh.

@svenfinke

Same issue here... Sierra 10.12.1 + Hyper: 0.8.3.873 And I am also using zsh, with the agnostic theme. This makes Hyper pretty much unusable for me atm... 😢

@4cm4k1
4cm4k1 commented Nov 17, 2016 edited

Same issue here.

It’s probably been mentioned before somewhere else, but here’s a temporary workaround until the bug is fixed. Just add the following lines of code in your .hyper.js or by clicking Preferences in the menu bar:

module.exports = {
    config: {
        ...
        // custom css to embed in the terminal window (this comment is in .hyper.js by default)
        // below is temp workaround for nano & copy/paste whiteouts
        termCSS: 'span { background-color: transparent !important; }',
        ...
    }
};

Works for me until it gets fixed. 😀

@cg433n cg433n referenced this issue in mdo/hyperterm-atom-dark Nov 21, 2016
Open

Cannot see shortcut helpers when using nano #8

@ppot
Collaborator
ppot commented Dec 2, 2016

This doesn't happen to me on resent master

@benjaminprojas

I just downloaded hyper yesterday for the first time, no plugins, I have this issue when editing the preferences.

@jdsimcoe
jdsimcoe commented Dec 5, 2016

Doesn't happen anymore for me on a recent master build.

@ppot
Collaborator
ppot commented Dec 5, 2016

@CodeTheory You can mark this solved in resent master!

@ppot
Collaborator
ppot commented Dec 15, 2016

Fix in #1218

@ppot ppot referenced this issue Dec 15, 2016
Merged

Fix text deselect #1218

@ppot ppot closed this in #1218 Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment