View Issue Details

IDProjectCategoryView StatusLast Update
0002699Far ManagerInterfacepublic2019-02-22 07:37
Reporterzanyhoneybee Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx64OSWindowsOS Version7
Product Version3.0 
Summary0002699: Console not fully restored after exiting FAR
DescriptionWhen 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 Reproduce1. 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 InformationThe 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.
TagsConsole
Build

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-06-09 19:40 zanyhoneybee New Issue
2019-02-22 07:37 JohnDoe Tag Attached: Console