For comctl v5 the height also sets how many drop down elements are visible
From: Fabian Maurer dark.shadow4@web.de
For comctl v5 the height also sets how many drop down elements are visible
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58593 --- programs/explorer/explorer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c index 3811d6cae5b..185414417c9 100644 --- a/programs/explorer/explorer.c +++ b/programs/explorer/explorer.c @@ -40,7 +40,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(explorer); #define EXPLORER_INFO_INDEX 0
#define NAV_TOOLBAR_HEIGHT 30 -#define PATHBOX_HEIGHT 24 +#define PATHBOX_HEIGHT 240 static int nav_toolbar_height; static int pathbox_height;
For comctl v5 the height also sets how many drop down elements are visible
We should not be using v5 for explorer.exe, right?
On Fri Oct 10 15:14:24 2025 +0000, Nikolay Sivov wrote:
For comctl v5 the height also sets how many drop down elements are visible
We should not be using v5 for explorer.exe, right?
Yeah, I just noticed. It's because ComboBoxEx always uses the `CBS_NOINTEGRALHEIGHT` flag.
This hack confirms that ComboBoxEx with short height also shows fewer elements on windows: [0001-t.patch](/uploads/1d5a509d82bb9fd71c3e59db9b5c190c/0001-t.patch)
So we need to fix explorer, either removing that flag or setting a height like I proposed.