Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

disk usage colums move constantly #23

Closed
matthiaskrgr opened this issue Jan 24, 2020 · 4 comments
Closed

disk usage colums move constantly #23

matthiaskrgr opened this issue Jan 24, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@matthiaskrgr
Copy link

Required information:

  • rtop version (rtop -V): git

  • The output of uname -a: Linux t470 5.4.12-1-MANJARO Implement widgets #1 SMP PREEMPT Wed Jan 15 08:05:08 UTC 2020 x86_64 GNU/Linux

  • Terminal emulator (e.g. iTerm or gnome terminal): alacritty

  • tmux version (tmux -V):

  • Any relevenat hardware info:

Please copy or attach ~/.local/state/rtop/errors.log if it exists and contains logs: none

Inside the "Disk usage" widget, the table columns appear to move back and forth as the tui updates:

┌ Disk Usage ─────────────────────────────────────────────────────────────────────────────┐┌ Memory Usage ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│Partition                        Mount                                   Used   R/s      ││                                                                                                                                                                                      │
│luks-678c5264-ee17-434c-b73e-792 /home                                    77%   0 bytes  ││  Main  34% 4.41 GiB/15.3 GiB                                                                                                                                                         │
│nvme0n1p1                        /boot/efi                                 0%   0 bytes 
┌ Disk Usage ─────────────────────────────────────────────────────────────────────────────┐┌ Memory Usage ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│Partition                               Mount                    Used  Free     R/s      ││                                                                                                                                                                                      │
│luks-678c5264-ee17-434c-b73e-7923be09db /home                     77%  53.2 GiB 0 bytes  ││  Main  34% 4.42 GiB/15.3 GiB                                                                                                                                                         │
│nvme0n1p1                               /boot/efi                  0%  2.99 GiB 0 bytes 
┌ Disk Usage ─────────────────────────────────────────────────────────────────────────────┐┌ Memory Usage ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│Partition                               Mount                                  Free      ││                                                                                                                                                                                      │
│luks-678c5264-ee17-434c-b73e-7923be09db /home                                  53.2 GiB  ││  Main  34% 4.43 GiB/15.3 GiB                                                                                                                                                         │
│nvme0n1p1                               /boot/efi                              2.99 GiB 
@juliangaal
Copy link

Experiencing the same issue on ubuntu 18.04, gnome-shell

@cjbassi
Copy link
Owner

cjbassi commented Jan 24, 2020

Yeah I was getting that too, so I tried to hack together a quick fix a while ago with some custom column resizing for the disk and process widgets but it looks like it doesn't totally work for everyone. I think the issue is caused by the cassowry crate that tui depends on, when the table columns are too wide to all fit on the screen it keeps resizing them differently every render for some reason.

@cjbassi cjbassi added the bug Something isn't working label Jan 25, 2020
@azlux
Copy link

azlux commented Feb 12, 2020

I've the same, except the partition name isn't very long.
2020-02-12_11-35-24

@cjbassi
Copy link
Owner

cjbassi commented Feb 14, 2020

Just published a new version with the fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants