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

ConEmu not saving window position #412

Closed
cobrabr opened this Issue Nov 9, 2015 · 7 comments

Comments

Projects
None yet
3 participants
@cobrabr
Copy link

cobrabr commented Nov 9, 2015

ConEmu x64 build 151101.

This used to work perfectly until a couple of weeks ago. Currently, however, whenever I close and reopen ConEmu, it always reopens on the top-left corner of my main monitor, regardless of where I left it before closing.

I've tried several different things to try and pinpoint the root cause -- putting it in a different position in the main monitor, putting it in a different position in the second monitor, enabling and disabling Quake-style slide down, saving the config in an XML file, saving the config in the Registry -- but they all produce the same results: the X position configuration goes back to 0, even though the XML file shows that the value was saved correctly.

Here's a screenshot of my Settings screen, with the relevant bits highlighted:
image

I can also provide the XML config file, if it helps.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Nov 9, 2015

Yes, please.
Also, I need LogFiles where you run "ConEmu -log", move it to another monitor and close it. After that run "ConEmu -log" again and close it.
https://conemu.github.io/en/LogFiles.html

@cobrabr

This comment has been minimized.

Copy link
Author

cobrabr commented Nov 9, 2015

The log files and the XML config can be found here.

FYI, for the first run with the logs, I opened, disabled Quake-style slide down, moved to the second monitor and then closed, just in case you see extra stuff there in the log. :)

Let me know if you need anything else.

@martinhartmann

This comment has been minimized.

Copy link

martinhartmann commented Nov 19, 2015

Same issue for me after I updated to the latest Alpha (151115) the window position resets every time I reopen ConEmu.

Short: negative values won't be saved in DWORD reg keys (ConWnd X).

Long story:

I have a horizontal triple monitor setup running. The primary screen is the centered one, so (0;0) is the top left edge of the centered screen. The top left edge of the left screen (where I want ConEmu to be running at) is (-1920;0). Moving ConEmu to this position and closing it (to update the position in the registry) changes the value of ConWnd X not to -1920 as expected but 0xfffff8ef or rather 4294965487. After reopening ConEmu the window will be at the last "valid" position. I'm also not allowed to enter negative values into the X: textbox in the screenshot above.

Maybe this is also the case for cobrabr...?! I don't know the version which I run last, but it did work properly in the past!

@cobrabr

This comment has been minimized.

Copy link
Author

cobrabr commented Nov 20, 2015

For me (as the screenshot shows), the values that reset aren't negative -- in fact, I'm pretty sure Y remains at -3 (that value is negative in this case because of the Quake-style slide down, I believe).

But like @Claw0 said, it used to work in the past -- I've had my ConEmu on my second monitor since the first day of using it, and it always saved the position properly.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Nov 20, 2015

@cobrabr

This comment has been minimized.

Copy link
Author

cobrabr commented Nov 20, 2015

Just tested it, works fine. Thanks, @Maximus5! 👍

@Maximus5 Maximus5 closed this Nov 20, 2015

@martinhartmann

This comment has been minimized.

Copy link

martinhartmann commented Nov 21, 2015

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.