-
-
Notifications
You must be signed in to change notification settings - Fork 203
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What were you trying to do?
- Create a new Laravel project
- Add NativePHP
- Install NativePHP
- Open the main window maximized while having maximizable disabled
- Start development server
- Double-click the title bar or hit window+arrowdown
- Window should remain maximized
What happened?
- Window gets unmaximized (resized to the default width & height)
- Window cannot be maximized again
How to reproduce the bug
- In a fresh Laravel installation
- Add/Install NativePHP
- Update
NativeAppServiceProvider->boot
with:
Window::open('main')
->maximized()
->maximizable(false)
->showDevTools(false);
- Run
php artisan native:serve
- Double-click the title bar or hit window+arrowdown
Debug Output
{
"Environment": {
"PHP": {
"Version": "8.4.11",
"Path": "C:\\Users\\Raoof\\.config\\herd\\bin\\php84\\php.exe"
},
"Laravel": {
"Version": "12.20.0",
"ConfigCached": false,
"RoutesCached": false,
"DebugEnabled": true
},
"Node": {
"Version": "v22.17.1",
"Path": "C:\\Program Files\\nodejs\\node.exe"
},
"NPM": {
"Version": "10.9.2",
"Path": "C:\\Program Files\\nodejs\\npm\r\nC:\\Program Files\\nodejs\\npm.cmd"
},
"OperatingSystem": "WINNT"
},
"NativePHP": {
"Versions": {
"nativephp/electron": "1.1.1.0",
"nativephp/laravel": "1.1.2.0",
"nativephp/php-bin": "1.0.3.0"
},
"Configuration": {
"Provider": "App\\Providers\\NativeAppServiceProvider",
"BuildHooks": {
"Pre": [],
"Post": []
},
"NotarizationEnabled": false,
"CustomPHPBinary": false
}
}
}
Which operating systems have you seen this occur on?
Windows
Notes
OS
Windows 11
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working