https://bugs.winehq.org/show_bug.cgi?id=22440
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielopcode@gmail.com
--- Comment #8 from Gabriel Ivăncescu gabrielopcode@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.