TheBB / spaceline

Powerline theme from Spacemacs
GNU General Public License v3.0
538 stars 60 forks source link

Curves render strangely under Cygwin/X #34

Open strugee opened 8 years ago

strugee commented 8 years ago

I'm seeing strange rendering between modeline elements of the active window:

spaceline bug

Notice how unfocused windows are OK, but the curves of the active window are weirdly colored. I'm using the wave separator. FWIW, when using the arrow separator, I don't see this bug (although the arrow doesn't quite reach the top and bottom):

spaceline not a bug

Just to be clear, the bug has nothing to do with how many windows are open; I just happened to have a different frame focused when taking that screenshot.

I'm on Cygwin/X, Emacs 24.5.1, and GTK+ 3.14.13. I'd be happy to provide any other details.

TheBB commented 8 years ago

I'm not sure what the first problem is. I don't have Cygwin to test. (At least, not yet.)

You might be able work around the second one by increasing powerline-height. Make sure to call (powerline-reset) afterwards to clear the cache.

I just realized looking at your screenshots I made a mistake in https://github.com/TheBB/spaceline/commit/81f8d9d7c2c38daa53a8719487c80a2799c8e51f (some duplicate segments), fixed that in https://github.com/TheBB/spaceline/commit/d9c06c85bfb3e4bc515d5826c8208cd68641d1bd.

strugee commented 8 years ago

@TheBB ok, thanks. Let me know if there's anything else I can provide (e.g. fonts installed, etc. I don't know). I'm on Solarized Dark, FWIW.

Feroli commented 8 years ago

I have a similar problem. Line separator doesn't look right.

screenshot 2016-03-10 01 40 51
Feroli commented 8 years ago

I fixed it by setting the following. (setq powerline-height 20) (setq powerline-raw " ") (setq ns-use-srgb-colorspace nil)