Ticket #2453 (reopened defect)
Screen corruption after viewing UTF-8 file
Reported by: | victor-homyakov | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-core | Version: | 4.7.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Empty place on file panel is sometimes corrupted with unicode symbols from viewed file. Steps to reproduce:
- Make new empty directory on the left panel
- Place into that directory attached file
- View file (F3)
- Close viewer(F3 again)
Some symbols from the file are left on the panel (see attached screenshots).
Attachments
Change History
Changed 14 years ago by victor-homyakov
- Attachment google-chrome.desktop added
comment:3 in reply to: ↑ 1 Changed 14 years ago by birdie
Replying to andrew_b:
What is google-chrome.desktop?
Just view any binary file - it corrupts the screen 100% of the time.
Pressing Ctrl + O twice resolves the problem.
However it seems like it's not strictly MC's issue, because I can reproduce it with a plain terminal session (see the attachment corruption.png):
$ cd /usr/bin $ cat antiword.bin | head press Ctrl + L
And what's more, pressing Ctrl + L in MC does nothing. So, it's probably not MC's bug at all.
comment:4 Changed 13 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
- severity changed from no branch to on review
- Keywords stable-candidate added
- Milestone changed from 4.8 to 4.8.0-pre1
As a solution, we can clear screen before redrawing panels.
Created 2453_screen_corruption patch (parent: master).
changeset:580d273430e7f0d2d327c4ba164ea8b493c931df
comment:6 Changed 13 years ago by angel_il
- Votes for changeset changed from slavazanko to slavazanko angel_il
- severity changed from on review to approved
comment:7 Changed 13 years ago by slavazanko
- severity changed from approved to no branch
- Branch state set to approved
comment:8 Changed 13 years ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset changed from slavazanko angel_il to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master.
changeset:f809e6cf7a8b6584f1500d049f133557152dab6d
comment:9 Changed 13 years ago by andrew_b
- Status changed from testing to reopened
- Resolution fixed deleted
Reverted changeset:f809e6cf7a8b6584f1500d049f133557152dab6d.
changeset:17033652eebef7ba1c095f576ec8a1aedc172cfe
While navigating in main menu (from one submenu to another one) or after closing a dialog, the screen is blinking.
comment:10 Changed 13 years ago by andrew_b
- Keywords stable-candidate removed
- Votes for changeset committed-master deleted
- Branch state changed from merged to no branch
- Milestone changed from 4.8.0-pre1 to 4.8
comment:11 Changed 11 years ago by andrew_b
In 4.8.10 this bug is not reproducible for me.
Does anybody confirm this bug?
This file causes panel corruption after closing viewer