Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not move window #1529

Open
finntenzor opened this issue Apr 6, 2022 · 10 comments
Open

Can not move window #1529

finntenzor opened this issue Apr 6, 2022 · 10 comments

Comments

@finntenzor
Copy link

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?

@finntenzor
Copy link
Author

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.

@sarbian
Copy link
Contributor

sarbian commented Apr 6, 2022

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

@finntenzor
Copy link
Author

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

@finntenzor
Copy link
Author

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

@anthonyjolson87
Copy link

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

@sarbian
Copy link
Contributor

sarbian commented Sep 20, 2022

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

@blazingangel214263
Copy link

blazingangel214263 commented Sep 28, 2022

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.

@sarbian
Copy link
Contributor

sarbian commented Sep 28, 2022

what code ?

@blazingangel214263
Copy link

what code ?

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

@adammelancon
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants