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

"Maximum real console size was reached" on locking the Screen [Win10] #224

Open
greg-dryke opened this issue Jul 23, 2015 · 17 comments
Open

Comments

@greg-dryke
Copy link

Hi,

I have an issue with the scaling of the console on Win10, ConEmu 150722.

Whenever I lock the screen, I get a toast notification of

Maximum real console size was reached
Decrease font size in the real console properties

On unlock, the console is scaled incorrectly, taking up only a portion of the actual area. This also seems to happen on some other actions, but is 100% repeatable on screen lock.

I have one log with the error here:
http://pastebin.com/D4FadPTz

Let me know if there's anything else I can get you to help! Thanks!

@Maximus5
Copy link
Owner

This is a log from ConEmuC64.exe only. But I need all logs at once.

@greg-dryke
Copy link
Author

Sure! This is after scrubbing the logs, launching ConEmu as Admin with /log, and then locking the screen.

Three log files:
ConEmuC64-size-13148.log
ConEmu-gui-28324.log
ConEmu-input-13148.log

http://pastebin.com/cmCKd7jc

You can Ctrl-F for each file, let me know if you'd like the raw files zipped up and dumped somewhere, or if this works!

@Maximus5
Copy link
Owner

Please reveal RealConsole (Ctrl+Win+Alt+Space) and do full-screen screenshots before Lock and after Unlock.

@greg-dryke
Copy link
Author

Before
image

After
image

Definitely some change...Let me know if this is most likely just some weird configuration on my end, I can hack at my powershell defaults and such. Thanks!

@ei06009
Copy link

ei06009 commented Aug 5, 2015

I have this problem as well on windows 10. This is because I have a 2 monitor setup and my 2nd monitor has a bigger screen resolution than my 1st monitor. If I have conemu on my 2nd monitor taking the whole height and when I lock the screen (Win + L), the message appears.

If, however, I reduce the height to something smaller than my 1st monitor (even if it is on my 2nd), the error won't occur. It will occur again if I then resize (to something bigger than my 1st monitor height) the window after re-entering the system from the lock screen.

If I don't lock the screen, then no error occurs independent of windows size and resizes.
It may be because windows shuts the 2nd monitor off and it didn't on windows 8 (never happened there) forcing a move to the 1st and causing the error.

@ilyapas
Copy link

ilyapas commented Aug 8, 2015

I had the same problems and it looks like I've been able to fix them.

Fire up your normal cmd.exe (or use Ctrl+Win+Alt+Space to open the real console from conemu), go to properties, activate the checkbox "use legacy console" and then relaunch.

New conhost.exe "improvements" really seem to be the problem here.

@Maximus5
Copy link
Owner

Maximus5 commented Aug 8, 2015

As temporary workaround - may be... (SystemMenu / Debug / RealConsole properties is a faster way)

But you'll lose ability to wrap lines on resizing...

@ei06009
Copy link

ei06009 commented Aug 17, 2015

It is fixed for me using 150816. Same conditions I described above. Thanks!

@SOSANA
Copy link

SOSANA commented Oct 12, 2015

@Maximus5 1+ thank you, this worked for me on windows 10 as I was getting this error and could not figure out why

@conan
Copy link

conan commented Dec 17, 2015

I have this problem on my Windows 10 laptop, no external monitor. I notice it particularly because Windows 10 has a habit of auto-locking when I'm in the middle of working sigh. I suspect it's a resolution problem, because when I unlock, the conemu window is still full-screen but the actual console in each section (i usually have split console windows) is about half its size. I run at 3200x1800.

@Maximus5
Copy link
Owner

@conan Build number!

@conan
Copy link

conan commented Dec 17, 2015

150913, sorry!

@Maximus5
Copy link
Owner

151210 is far newer

@conan
Copy link

conan commented Dec 17, 2015

oh of course, i was reading the "no newer stable version" as "no newer version". updated and checked with a manual lock, problem fixed. thanks!

@davidbridgeinteractive
Copy link

I'm having this same issue with 180626.

@Maximus5
Copy link
Owner

LogFiles please

@davidbridgeinteractive
Copy link

ConEmu-con-11476.log
ConEmu-gui-9148.log
ConEmu-srv-11476.log

Hopefully this is what you asked for. This is only after using the -log switch, if you need another level (-log1 -log4 etc) let me know. I grepped the log files, and found the error message:

ConEmu-con-11476.log:10:20:54.331 [17848] Maximum real console size {116,36} was reached, lesser size {116,36} was applied than requested {256,59}

AFAIK I haven't changed any of the default settings. Let me know if you need anything else.

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

7 participants