ProgerXP / Notepad2e

Word highlighting, simultaneous editing, split views, math evaluation, un/grep, comment reformatting, UAC elevation, complete regexps (PCRE), Lua lexers, DPI awareness and more (XP+)
Other
375 stars 52 forks source link

Make Open dialog resizable #400

Closed Anton-V-K closed 2 years ago

Anton-V-K commented 2 years ago

Open dialog isn't resizable, while many (all?) other file-related dialogs are.

ProgerXP commented 2 years ago

Are you talking about Ctrl+O/S? Both are resizable on my side (Win10).

Anton-V-K commented 2 years ago

The Save dialog (Ctrl+S) is resizable, while the Open dialog (Ctrl+O) is not: image There is no resizable sign in the bottom right corner (Windows 10 21H1 64-bit). Reproducible with Notepad2e-R213-7158575-x86 Same issue in Windows 8.1 64-bit, Windows 7 SP1 32-bit

Is there a option which can tweak the open dialog?

ProgerXP commented 2 years ago

Is there a option which can tweak the open dialog?

Apparently this is caused by the dialog hook that allows opening files by prefix (#165). The hook is only added to the open file dialog so you should see that dialog using old-style controls (Places Bar instead of the directory tree on the left) while the save dialog that is not hooked is modern and has the resize grip.

Therefore it's not a bug. Either disable Notepad 2e's open by prefix or enable Windows' open by prefix (it will automatically disable Notepad 2e's, remove the hook and make the open dialog resizable).

Anton-V-K commented 2 years ago

adding OpenDialogByPrefix=0 to Notepad2e.ini solves the problem :) I wonder whether this custom autocompletion feature is used on modern systems. Should it stay enabled by default in the shipped Notepad2e.ini?