MechJeb2

MechJeb2

4M Downloads

Can not move window

finntenzor opened this issue ยท 10 comments

commented

All the windows of MJ2 are pinned at left top corner. I can not move them and most of them shows noting to me but a right bottom border.
If I try to pull them from left top corner very fast, the window come out very shortly and then back to the left top corner.
I'm using KSP 1.12 and maybe this is the problem? Is there any way to solve it?

commented

I fix this problem by add some log code and rebuild this plugin. Very strange.
image

After adding this piece of code, the window position error occurred only once. After open any function, the window moves to the correct position, and all function windows can be moved.
I had tried 2 or 3 times before to compile and load the game without removing any code. MJ2's window does not move correctly.

I don't know why this code can fix window position problem.
Maybe the "GetComputerModules" method contains some write/set behaviors?
Anyway, logging behavior should not be the cause of fixing this problem.

commented

Instead of commenting the code that generate the error you may want to post a log so we see what is the actual issue.

commented

What information should I provide? I didn't find any suitable logs.

commented

Perhaps a video would better describe my problem. Is it possible to upload video clips on Github?

commented

I found it was the AntennaHelper and Kronometer mods that were causing the MechJeb menu to lock to the upper left AND the causing the settings and rover autopilot windows to be disabled. They also caused problems with window persistence

commented

Thanks. I will see if I can work around it now that I can duplicate it.

commented

i am having the same issue here, id try custom code that flinntenzor wrote, but im afraid my knowledge of how to do so is...sub par at best. has anyone found a solution? and for the record I do not have the AntennaHelper or the Kronometer mods installed.

commented

what code ?

commented

what code ?

the author of this forum post. they posted it at the top of the screen in the second window with the picture

commented

I had this same issue. I was able to solve it by removing the 4KSP plugin.