tmux-powerline icon indicating copy to clipboard operation
tmux-powerline copied to clipboard

Screen scrolling & status bar duplication

Open Dominiquini opened this issue 1 year ago • 13 comments

As soon I start tmux, the screen start scrolling randomly (sometimes it takes several seconds to scroll 1 line, but other times it scroll several lines in 1 second), and the status bar end up duplicated! The prompt on the top also disappears (but the cursor remains and I was still able to type!)

WindowsTerminal_dqMN4nmOiE WindowsTerminal_K5mKOw7jry

I tested removing all plugins from my '.tmux.conf', leaving only 'tpm' and this! Tried also deleting my '.bashrc' to avoid any configuration that cam interfere! I also tested tmux without this plugin (only 'tmp'), and everything appears to be working fine!)

I installed this plugin some days ago and everything appears to be working fine. Maybe some recent update that caused this bug!

OS: Ubuntu 22.04 (WSL2 under Windows 10 x64) SHELL: GNU bash 5.1.16 TMUX: 3.2a

Is there anything that I can provide to help in this bug?

Thanks.

Dominiquini avatar Dec 18 '23 03:12 Dominiquini

Doing more tests here, I found out that is the weather segment that is causing this issue. Disabling this segment on the default theme resolve this issue!

Thanks.

Dominiquini avatar Dec 18 '23 16:12 Dominiquini

The issue for me was the fact that some of the weather icons are 2 characters in width rather than 1. Main clue was that my status bar was fine in the morning, but the above issue appeared later in the night.

killbasa avatar Jan 14 '24 00:01 killbasa

Turning off the weather segment also worked for me.

Arcadi4 avatar Feb 24 '24 13:02 Arcadi4

Trying to reproduce this. From the screenshots my assumption is, that this was weather cloudy and @Dominiquini stated, that he's using Ubuntu 22.04 in WSL2. I'm thinking if this is maybe WSL2 related, did you also see the bug in WLS2 (@killbasa @Arcadi4)? If not, could you maybe give me some more information on what environment/terminal/etc. you're using?

xx4h avatar Apr 07 '24 09:04 xx4h

Trying to reproduce this. From the screenshots my assumption is, that this was weather cloudy and @Dominiquini stated, that he's using Ubuntu 22.04 in WSL2. I'm thinking if this is maybe WSL2 related, did you also see the bug in WLS2 (@killbasa @Arcadi4)? If not, could you maybe give me some more information on what environment/terminal/etc. you're using?

I'm using WSL2 as well. These are the cases that give me an issue:

  • clearsky_day
  • cloudy
  • heavyrainandthunder | ...
  • heavyrainshowers_day | ...
  • snow | ...

System info: Terminal: Windows Terminal (https://github.com/microsoft/terminal) Distro: Ubuntu-22.04

# uname -a
Linux Main 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Relevant screenshot: (here are my dotfiles if that helps with anything, tmux configs are in .config: https://github.com/killbasa/dotfiles) sc1

killbasa avatar Apr 08 '24 00:04 killbasa

Trying to reproduce this. From the screenshots my assumption is, that this was weather cloudy and @Dominiquini stated, that he's using Ubuntu 22.04 in WSL2. I'm thinking if this is maybe WSL2 related, did you also see the bug in WLS2 (@killbasa @Arcadi4)? If not, could you maybe give me some more information on what environment/terminal/etc. you're using?

For me, I am not using WSL. This problem occurred while logging into an Ubuntu 20.04 running on a physical machine through Windows Terminal. So I guess it's not a WSL2 problem?

The issue happened on my partner's Windows. I'm on macOS, can't provide more information on the specific weather causing this. 🙏

Arcadi4 avatar Apr 08 '24 07:04 Arcadi4

For me, I am not using WSL. This problem occurred while logging into an Ubuntu 20.04 running on a physical machine through Windows Terminal. So I guess it's not a WSL2 problem?

Thanks for the info, so i'll have a deeper look into Windows Terminal then, as this seems to be the common denominator.

xx4h avatar Apr 08 '24 08:04 xx4h

So far i was not able to reproduce this on Win11 with Windows Terminal. I'll try with Win10 when i have one at hand, as well as trying different settings in the Windows Terminal.

xx4h avatar Apr 09 '24 22:04 xx4h