[Bug 22440] Total Commander: The panels showing Brief are not resized vertically when the application window is resized vertically

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 20 10:53:00 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=22440

Gabriel Ivăncescu <gabrielopcode at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gabrielopcode at gmail.com

--- Comment #8 from Gabriel Ivăncescu <gabrielopcode at gmail.com> ---
Created attachment 62101
  --> https://bugs.winehq.org/attachment.cgi?id=62101
Update the size in SetColumnWidth unconditionally

Total Commander's Brief View is a multi-column listbox, and I found quite a few
bugs with such listboxes, my guess is nobody tested them that extensively.

In this case, when the listbox receives a WM_WINDOWPOSCHANGED message and calls
DefWindowProc on it, which then ends up sending a WM_SIZE to the window, Total
Commander swallows that up and won't pass the WM_SIZE to the listbox. However,
it does pass a LB_SETCOLUMNWIDTH, even when the column width did not change at
all. So this patch unconditionally updates the size itself (not just the page)
when that message is received.

It fixes it for me, and I tried a lot of weird resizing on it that would
totally crap out before. I also sent it to the mailing list.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list