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

When the caption is hidden - the "Restore" button doesn't restore width #129

Closed
avih opened this Issue May 5, 2015 · 13 comments

Comments

Projects
None yet
2 participants
@avih

avih commented May 5, 2015

When Conemu has a normal caption bar, then double clicking it (either when maximized or not maximized) or using the maximize/unmaximize buttons - correctly toggles between maximized and a un-maximized window size and position.

But when the caption is hidden and ConEmu shows its own custom restore/maximize button at the top right, clicking maximize (or double clicking the top bar) works as expected, but restoring (wither with the restore button or by double clicking the top bar) only restores the window height, while always keeping the window at the width of the desktop (i.e. the width of a maximized window).

The custom restore button should also restore the window width.

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented May 6, 2015

Can't confirm that. Attach via gist your ConEmuXml and show step-by-step screenshots.

@avih

This comment has been minimized.

avih commented May 6, 2015

https://gist.github.com/avih/0055b014e3cd009395b1

  • Open ConEmu.
  • If required, resize/move the window such that it doesn't touch screen edges.
  • Click the maximize button (top right) or double click the "fake" caption bar.
  • (the console is now maximized)
  • Click the restore button (top right) or double click the "fake" caption bar.

Expected result: the widow has the same size and position as before it was maximized.

Actual result: the window restores its original height but has maximum width (touching the screen edges on the left and right)

@avih

This comment has been minimized.

avih commented Jul 16, 2015

ping...

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jul 16, 2015

I have many issues to deal with.

And I do not see the screenshots I've asked you about.

@avih

This comment has been minimized.

avih commented Jul 16, 2015

Just use the attached xml file, double click the "title" bar to maximize, and then double click it again to restore. For me it only restores the original height, but leaves the width as full-screen-width.

If you cannot reproduce this with the attached xml then I'll attach screenshots too.

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jul 16, 2015

Will try today

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jul 16, 2015

Just retried your config. I don't observe any problems with width and height restoration.
So I'm waiting for screenshots.
And I need log files recorded during problem repro:
http://conemu.github.io/en/LogFiles.html

@avih

This comment has been minimized.

avih commented Jul 16, 2015

Thanks for trying it.

Please find screenshots and log files here: http://a.1339.cf/gkxzkt.7z

This 7z archive contains the following files:

  • The current config file (not modified meaningfully since the previous one I posted)
  • Three screenshots: 1. right after opening ConEmu. 2. after clicking maximize (note that while hovering it - the tooltip is still "maximize" eventhough it probably should have been "restore" after the window was maximized). 3. after clicking the "restore" button -> the bug shows.
  • Three log files that were generated after I executed ConEmu64.exe /log
@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jul 16, 2015

Still obscured.
I hope I will release new alpha today. Please check it and redo logs if the problem will persist.

@avih

This comment has been minimized.

avih commented Jul 17, 2015

The issue still exists with the 2015-07-16 build. Attached new log files and the config (unmodified) - after opening+maximize+restore+exit - http://a.1339.cf/qvnxkj.7z

Interestingly, when I open ConEmu again - now the window has the correct size and the width is not maximal (unlike when I closed it - the width was maximal due to the bug).

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jul 17, 2015

Damn! Your taskbar is auto-hidden. That's why I always claim screenshots at first.

@avih

This comment has been minimized.

avih commented Jul 17, 2015

Well, TBH I think missed the request for screenshot on your first comment. Glad you found out why you couldn't reproduce it (assuming you can reproduce it now?).

@avih

This comment has been minimized.

avih commented Jul 25, 2015

Release 2015-07-22 seems to fix the issue for me.

Thank you.

@avih avih closed this Jul 25, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment