abo-abo / ace-window

Quickly switch windows in Emacs
977 stars 87 forks source link

Not show numbers when I switch between 2 frames. #145

Closed alexei-28 closed 5 years ago

alexei-28 commented 5 years ago

Emacs 26.1, Windows 10, I install package (require 'ace-window)

If I has only one frame it's work fine. Here result:

swipe1

As you can see it show numbers (2, 3). Nice. But if I create second frame and switch between frames, sometimes it's not show all numbers. Here example:

swipe2

As you can see it not show number 3

abo-abo commented 5 years ago

Can't reproduce on Emacs 26.1 / Linux. I made 2 frames, with 2 windows in each. All windows get a character displayed.

alexei-28 commented 5 years ago

Can't reproduce on Emacs 26.1 / Linux. I made 2 frames, with 2 windows in each. All windows get a character displayed.

Try it a few times. It does not always happen immediately.

abo-abo commented 5 years ago

What's the major-mode of the window that doesn't get a character? Is it typically windows of this major-mode that don't get a number?

alexei-28 commented 5 years ago

In buffer than not show number I start shell (M-x shell)

abo-abo commented 5 years ago

Tried with a shell buffer, still can't reproduce.

alexei-28 commented 5 years ago

Tried with a shell buffer, still can't reproduce.

I found problem. Start some process in shell mode that generate many text. E.g. logs. And then input command ace-window. Then number not show in buffer that show shell.

axelson commented 5 years ago

I've seen this even without scrolling output when aw-leading-char-face is given a larger height than the rest of the buffer

abo-abo commented 5 years ago

I've seen this even without scrolling output when aw-leading-char-face is given a larger height than the rest of the buffer

Thanks for the comment. This was indeed the key to reproduce the issue.

Please test.

axelson commented 5 years ago

Thanks! I'll give it a try.