Ticket #3671 (closed defect: invalid)
RFC: when built against netbsd-curses, "rotating wheel" animation overwrites column headers
Reported by: | foobarbaz | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | mc-tty | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
unlike when built against ncurses, whenever there's things we have to wait for (for example changing dirs on an ftp connection), there's a "rotating wheel" ascii animation, however it moves across the screen instead of spinning in one place.
the animation consists of the characters \|/- and results in the following pattern being drawn over the column headers of the panels:
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
to fix it, please provide me the following information
- where in the code this graphic gets drawn (i couldn't find it)
- and where it's supposed to be drawn to (in the version built against ncurses i couldnt spot it at all).
thanks!
Change History
comment:1 in reply to: ↑ description Changed 8 years ago by andrew_b
comment:4 Changed 8 years ago by foobarbaz
indeed, there was a bug hidden. https://github.com/sabotage-linux/netbsd-curses/commit/4b9444ceaa728d27b119fcb09c9b9fefc14c7c1e
thanks for helping me find it!
comment:5 Changed 8 years ago by foobarbaz
i forgot to mention that the reason why i couldn't see this animation in the ncurses version at all is
because the code that makes the FTP connection, which is actually the slow thing, does not update the animation. it seems to be only called when the directory list is printed, which seems to happen so fast that the animation is not visible.
comment:6 Changed 8 years ago by andrew_b
- Component changed from mc-core to mc-tty
So? Close as 'invalid'?
comment:7 follow-up: ↓ 8 Changed 8 years ago by foobarbaz
i'd like to but there's no button to do so, probably because i opened this as "task", not as bug.
comment:8 in reply to: ↑ 7 Changed 8 years ago by andrew_b
- Status changed from new to closed
- Type changed from task to defect
- Resolution set to invalid
- Milestone Future Releases deleted
Replying to foobarbaz:
i'd like to
OK.
but there's no button to do so, probably because i opened this as "task", not as bug.
No. You just don't have permission to close ticket.
Replying to foobarbaz:
rotate_dash() in src/filemanager/layout.c (and also find_rotate_dash() in src/filemanager/find.c for find file results).
The rotating dash is drawn in top-right corner.