Control Panel needs a position check on startup
Posted: 16. January 2023 12:10
Sometimes when starting the XAMPP Control Panel, the position of the Control Panel is of the screen and therefore can't be accessed.
In this case, in the xampp-control.ini file, the parameter Left has a negative value:
[WindowSettings]
Left=-439
I assume this happens because of using the control panel with two screens and then starting it after that with only one screen.
I'm a long time xampp user (sind around 2005) and come accross this problem every once in a while. I then have to open up the xampp-control.ini and change the parameter from negative to positive and start the panel again.
For me this workaround - although annoying - works. But I can imagine that new users can't figure out what to do in this case.
I think the fix would be quite simple - on startup just check that the parameter Left is not negative and if it is, make it positive (or even 0 would work).
Is there a way, I can help to implement this solution? I looked around a bit but I didn't find the git repo - even though my gutfeeling is that it should be available somewhere, cause it's open source. Can someone maybe point me to the according GitHub-repo and I would be happy to create a pull request.
In this case, in the xampp-control.ini file, the parameter Left has a negative value:
[WindowSettings]
Left=-439
I assume this happens because of using the control panel with two screens and then starting it after that with only one screen.
I'm a long time xampp user (sind around 2005) and come accross this problem every once in a while. I then have to open up the xampp-control.ini and change the parameter from negative to positive and start the panel again.
For me this workaround - although annoying - works. But I can imagine that new users can't figure out what to do in this case.
I think the fix would be quite simple - on startup just check that the parameter Left is not negative and if it is, make it positive (or even 0 would work).
Is there a way, I can help to implement this solution? I looked around a bit but I didn't find the git repo - even though my gutfeeling is that it should be available somewhere, cause it's open source. Can someone maybe point me to the according GitHub-repo and I would be happy to create a pull request.