ZTree.com  | ZEN  | About...  

 Index   Back

One row SFW seems to be a factor   [Zeta]

By: Ben Kent       
Date: Dec 16,2022 at 10:41
In Response to: Resizing window via dragging frame edge - comments (Laurent Duchastel)

> > >Added - Experimental support for resizing window via dragging
> frame
> You can simply install Windows Terminal from MS store.
> https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701

Another test round, three issues

1. The Window sizing=Proportional caculation needs to be fixed, when resizing using the frame.
2. The crashes seem to occur when making the number of rows smaller, when SFW only has one row.
3. When reducing the height only by the frame, because of the vertical scroll bar, the width is reduced by 3 columns as well.


Investigations

Windows 10
Terminal
Powershell 7.3.0

Start-Process -FilePath "C:\Program Files\ZTree Windows\ZTW64.EXE" -argumentlist '/M /Y /ZB /ZM'

CO-2L Window sizing=Proportional
Split not enabled

Using the mouse reduce the number of rows in steps
Because the content will not fit, there is a vertical scrollbar, which means the act of reducing the console high causes the number of columns to reduce by three.
The crashes seem to occur when reducing the console height when the SFW has only one line

The "Window sizing=Proportional" calculation is reducing the SFW window size too quickly when reducing the console height using the mouse, whereas when using Alt-F9, Proportional does the expected thing.

When the crash happens, there are these in the event log, which explains why the ZTree window disappears, but the process keeps running.


Application event log
============
Error,1000,Source=Application Error
Exception code: 0xc0000409
Faulting application path: C:\Windows\system32\conhost.exe
============

============
Info,1001,Windows Error Reporting
Event Name: BEX64
============

0xc0000409=STATUS_STACK_BUFFER_OVERRUN


Some test runs

cols,rows,list,sfw
129,57,51,
123,49,43,1
120,45,39,
? crash

132,62,56,15
129,57,51,9
126,52,46,4
123,47,41,1
120,41,35,1
117,36,30,1
114,33,27,1
111,28,23,1
108,25,19,1
105,25,19,1 Minimum high limit enforced
102,53,47,29
No crash

132,62,56,15, adjust to SFW=14
129,48,42,1
? crash

Ben

111 views      
 

Messages in this Thread

 
96,194 Postings in 12,153 Threads, 350 registered users, 28 users online (2 registered, 26 guests)
Index | Admin contact |   Forum Time: Jan 27, 2023 - 2:02 am UTC  |  Hits:53,204,374  (1,607 Today )
RSS Feed