View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002699 | Far Manager | Interface | public | 2014-06-09 19:40 | 2019-02-22 07:37 |
Reporter | zanyhoneybee | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x64 | OS | Windows | OS Version | 7 |
Product Version | 3.0 | ||||
Summary | 0002699: Console not fully restored after exiting FAR | ||||
Description | When you start FAR from the console, maximize the window and exit FAR, the console window will be resized incorrectly. FAR 3.0.3948 x64 | ||||
Steps To Reproduce | 1. Run CMD.EXE 2. Run FAR.EXE 3. Maximize FAR (either Alt-F9 or window button) 4. Exit FAR 5. The console window will now be 80x25 "maximized" at x,y position -4,-4. If you restore the console window, it will be restored to 78x23 text mode. | ||||
Additional Information | The code resposible can be found in "\unicode_far\interf.cpp", function "CloseConsole()" (line 261 in build 3948). I can think of two possible fixes for this problem: 1. Restore the window to it's original size before exiting FAR. This can be done by executing "SendMessage(Console().GetWindow(),WM_SYSCOMMAND,SC_RESTORE,0);" at the beginning of "CloseConsole()". 2. Do NOT call "Console().SetWindowRect(InitWindowRect);" in "CloseConsole()". This way the console window will stay maximized (the way it worked in FAR2) (3.) Implement some option which lets the user select what should happen when he exits FAR. | ||||
Tags | Console | ||||
Build | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-09 19:40 | zanyhoneybee | New Issue | |
2019-02-22 07:37 | JohnDoe | Tag Attached: Console |