Separators disappearing on ALT+TAB
manuel-uberti opened this issue · comments
I think it's easier to explain this issue with some pictures:
This happens with all the separators:
It also happens with a different theme:
And with emacs -Q
as well:
I am using latest powerline
from MELPA, on GNU Emacs 25.0.93.1 (x86_64-debian-linux-gnu, GTK+ Version 3.14.5) of 2016-05-05.
All I do is switching between windows with ALT+TAB, and upon returning on the Emacs windows this is what I see.
Don't know if it could be of any help, but everything works fine with this fork by @abo-abo: https://github.com/abo-abo/powerline
Nothing here? :)
@manuel-uberti
See counsel-load-theme-action
, it calls powerline-reset
to change the mode line fringe colors.
And may I say that I really like the theme you're using:)
You don't say ;)
Anyways, with latest Powerline from MELPA the issue is still present.
ping :)
i'm confused about what the resolution is here? @abo-abo should we integrate your changes?
@milkypostman Wouldn't hurt I guess, they're fairly innocuous.
But since the changes are a year old, I think the current problem is due to the presence of the new changes in the mainline, rather than the absence of my changes.
Try to git bisect
the problem across the commits made in the past year.
anything? :)
ping :)
sorry to be silent but I don't have time to debug the issue. I would suggest that someone from the community try to figure out what is wrong. I'm happy to accept PRs.
I tried merging @abo-abo repo with latest commits on this main repo, but still nothing. Hard to understand what goes wrong, sorry. :(
Looks like this bug was introduced in 3b0f508.
As I understand it, that commit makes powerline treat the window as inactive upon receiving a WM focus-out event, while Emacs' own mode line handling apparently does not. This results in a mismatch between the separator which expects mode-line-inactive
and the neighbouring part which uses the mode-line
face.
There seem to be no solution for this. Should I close this issue and forget about it? :)
@manuel-uberti Try (remove-hook 'focus-out-hook 'powerline-unset-selected-window)
.
@abo-abo same problem