Ticket #3858 (new defect)
Rotating dash location not updated after initial resize
Reported by: | egmont | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Have a directory whose contents is really slow to read. It could be a remote filesystem, a pendrive, or maybe a local directory with millions of files, e.g.:
mkdir /tmp/huge cd /tmp/huge echo {1..2000000} | xargs touch
Start up mc in this directory, with "Rotating dash" enabled.
The screen is all blank except for the rotating dash while mc starts up. This is not too nice, but I don't really have a better idea at the moment.
Enlarge the terminal emulator window horizontally before mc completes the scan. Notice that (unlike after a full mc startup) the rotating dash does not move accordingly, it remains at the same position relative to the upper left corner.
When loading is finished, mc's panels appear as expected, spanning the entire new width.
Press Ctrl+R to reload this giant directory. Notice that the rotating dash is still at its previous position according to the old window size, rather than at the right edge.
I'm experiencing this in 4.8.21.
Usually I start MC in Xorg, in the default geometry of xterm on my system (about 80x25), and immediately maximize it.
Later in this same MC, in the middle of the text of the right panel title I get the 'restored' upper right corner of the frame - '┐' - precisely where it would be if the window was kept in the original geometry.