View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003327 | Far Manager | Editor | public | 2016-10-12 20:19 | 2016-10-13 20:42 |
Reporter | NightRoman | Assigned To | zg | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Summary | 0003327: ECTL_REDRAW does not redraw during processing | ||||
Description | Plugin FarNet, module PowerShellFar. - open some file in the editor, e.g. a new empty - F11 \ PowerShellFar \ Invoke commands - paste the following command: 0..9 | %{$Far.Editor.InsertText($_); Start-Sleep 1; $Far.Editor.Redraw()} - press Enter As a result, in about 10 seconds the editor shows the added text "0123456789". But it is expected that after each elapsed second an added digit is shown in the editor. What is "broken" from a user point of view. In PowerShellFar interactive editor "slow" commands with some output do not show anything, as it used to be. It looks like a command hangs. In fact, it works and outputs text to the editor, it is just not shown until the command is completed. This is a regression, so I consider the severity major. You may change it to whatever you want. | ||||
Tags | No tags attached. | ||||
Build | 4823 | ||||
|
Could you tell then a Far build number that did that properly? |
|
@shmuel, thank you for your interest. Unfortunately, I cannot tell when it happened, presumably quite a while ago. I am rather confident that it used to work. And some of my code has indicators of this fact. For example, https://github.com/nightroman/FarNet/blob/master/PowerShellFar/OutputWriters.cs#L346 EditorOutputWriter2 writes output to the editor and uses Stopwatch in order to avoid too frequent Redraw() on many fast writes. Without Stopwatch it worked much slower. That means that Redraw() did actually work. |
|
It happened in 4097 or 4098 (I don't have 4097 available to tell for sure). |
|
4823. |
|
4823 works as expected |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-12 20:19 | NightRoman | New Issue | |
2016-10-13 11:55 | shmuel | Note Added: 0014902 | |
2016-10-13 12:35 | NightRoman | Note Added: 0014903 | |
2016-10-13 13:13 | shmuel | Note Added: 0014904 | |
2016-10-13 15:18 | zg | Note Added: 0014906 | |
2016-10-13 20:12 | NightRoman | Note Added: 0014909 | |
2016-10-13 20:42 | zg | Build | => 4823 |
2016-10-13 20:42 | zg | Status | new => closed |
2016-10-13 20:42 | zg | Assigned To | => zg |
2016-10-13 20:42 | zg | Resolution | open => fixed |