[PATCH 0/1] MR9157: explorer: Increase height for pathbox to show dropdown elements
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 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9157
From: Fabian Maurer <dark.shadow4(a)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; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9157
For comctl v5 the height also sets how many drop down elements are visible
We should not be using v5 for explorer.exe, right? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9157#note_118282
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9157#note_118283
participants (3)
-
Fabian Maurer -
Fabian Maurer (@DarkShadow44) -
Nikolay Sivov (@nsivov)