Notepad3 window size

Created on 2 May 2018  路  12Comments  路  Source: rizonesoft/Notepad3

Hello @RaiKoHoff,
Tests done with "_develop_3.18.502.1009"

Display: 1920x1080:

  • "Out-of-the-Box": The NP3 window occupies more than half of the screen ! 馃
1920x1080 HighDpiToolBar=0
1920x1080 PosX=896
1920x1080 PosY=16
1920x1080 SizeX=1008
1920x1080 SizeY=1008
1920x1080 Maximized=0
  • Snap to Default Position (Ctrl+Shift+P : The NP3 window is resized just half of the screen ! 馃
1920x1080 HighDpiToolBar=0
1920x1080 PosX=944
1920x1080 PosY=16
1920x1080 SizeX=960
1920x1080 SizeY=1008
1920x1080 Maximized=0

Exactly the same behavior with : Display: 1366x768

  • "Out-of-the-Box": The NP3 window occupies more than half of the screen ! 馃
1366x768 HighDpiToolBar=0
1366x768 PosX=654
1366x768 PosY=16
1366x768 SizeX=696
1366x768 SizeY=696
1366x768 Maximized=0
  • Snap to Default Position (Ctrl+Shift+P : The NP3 window is resized just half of the screen ! 馃
1366x768 HighDpiToolBar=0
1366x768 PosX=667
1366x768 PosY=16
1366x768 SizeX=683
1366x768 SizeY=696
1366x768 Maximized=0
change request configuration 馃悶 bug

Most helpful comment

Please test development beta _TinyExpr_4.18.901.1077:
Reworked Windows Placement:

  • New: Menu/Accel-Key for positioning:

    • F11 : Toggle current position vs. expanded window (Screen Working Area)

    • Ctrl-F11 : Snap to initial (saved) position (save settings my renew

    • (Old: Ctrl+Shift+P : Snap to default position (right half of screen)

    • Removed ( former F11 & Ctrl-F11: Change Lexer to XMP & HTML )

    • (Still in charge: Shift+F11 : switch to default (settings) Lexer)

All 12 comments

From the source code, there are different "default" positions:
If nothing is specified within the .ini-file (section [Window]) on NP3 window creation time, the Windows API value CW_USEDEFAULT is used to get a "default" window position from the operating system assiged.
On the other hand Notepad3 has internal default positions :

  • call: Notepad3.exe /PD == (Ctrl+Shift+P)
    or
    /P0 or (/PS == /PD) or /PDL or /PL or /PR or /PT or /PB or /PF or /PM
    I don't like to have Accelerator-Keys for all of them 馃槻

Hi @RaiKoHoff,
I think you misunderstood me? 馃
I thought that the size of the Notepad3 window after a new installation (Out-of-the-box) would be at least as the same size as the RESET size proposed by Snap to Default Position (Ctrl+Shift+P) ? 馃槒

Please test development beta "_develop_3.18.503.1011".
Initial default should be same as /PD = /PS = Ctrl+Shift+P

Check with Notepad3 (64-bit) develop v3.18.503.1012
Issue resolved, ready to close. 馃槂

I am guess a new feature born from this Feature-request/Issue-Ticket is causing my problem...

All of my newly opened windows go to a specific window size and shape that IS NOT what I have set in the ini file for the optimal starting size I recorded years ago...

present in builds
Notepad 3 (v3.18.503.1012)(Portable)(DevBuild)(x64) was using when I noticed it...
Notepad 3 (v3.18.503.1013)(Portable)(DevBuild)(x64) as well

so Idk why this is happening... :-(

notepad3_window size bug_screenshot

Sorry, :disappointed:

Please test development beta "_develop_3.18.504.1014".

All of my newly opened windows go to a specific window size and shape that IS NOT what I have set in the ini file for the optimal starting size I recorded years ago...

Hello @MelchiorGaspar,
You are right, definitely Noptepad3 must retain user defined positions 馃

Your issue seems fixed with Notepad3 (64-bit) develop v3.18.504.1014 馃槂

ok thx ;^_^;
I was sleeping...
I'm awake now, so I will grab a copy of build_1014 now...

:D :D OK, NP3 is working normally again! THX @RaiKoHoff

some nice new features :D :D
better statusbar :D etc

Check with Notepad3 (64-bit) develop v3.18.504.1014
Issue resolved, ready to close. 馃槂

Please test development beta _TinyExpr_4.18.901.1077:
Reworked Windows Placement:

  • New: Menu/Accel-Key for positioning:

    • F11 : Toggle current position vs. expanded window (Screen Working Area)

    • Ctrl-F11 : Snap to initial (saved) position (save settings my renew

    • (Old: Ctrl+Shift+P : Snap to default position (right half of screen)

    • Removed ( former F11 & Ctrl-F11: Change Lexer to XMP & HTML )

    • (Still in charge: Shift+F11 : switch to default (settings) Lexer)

Hello @RaiKoHoff ,
Much better, the new "NP3 windows settings" and the new affectation of "F11" / "Ctrl+F11. 馃憤
Now, two NP3 windows side by side can perfectly occupy a full screen. 馃槂

Was this page helpful?
0 / 5 - 0 ratings