On Tue Mar 14 09:52:20 2023 +0000, Zhao Yi wrote:
Sorry! My English is a little poor ^v^. Next,I will give an example to explain why we need to modify it this way: a-Fonts folder there are three files:a folder、b folder and 1.jpg,Use the app "2345 View Manager" in Windows can display all the items as shown below: ![图片1](/uploads/6b0f66d81c8bc7836866afdd0a025f08/图片1.png) But use the app "2345 View Manager" in wine cannot display all the items as shown below: ![图片3](/uploads/1ec5fd19feb963f6acb9f2d5d19eabac/图片3.png) After debugging and analysis, it is finally located because the function LISTVIEW_paint logic does not meet the condition infoPtr ->bNoItemMetrics=true, as shown in the figure below: ![图片4](/uploads/0d328dce1c07ac62f5353f25c74317e4/图片4.png) which results in the same calculation of the location of each file, so the phenomenon we finally see is that only one file is displayed
LISTVIEW_DeleteAllItems() function will be triggered when we click a new folder, for example, LISTVIEW_DeleteAllItems() function will be triggered after clicking the folder a-Fonts.