Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.55k stars 571 forks source link

Windows size is changed after close / reopen ConEmu #2327

Open schittli opened 3 years ago

schittli commented 3 years ago

Versions

ConEmu build: 210422 preview (there is no info in About about x32/x64) OS version: Windows 10 20H2 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): PowerShell 5.1.19041.610

Problem description

  1. In the Settings, I configure: Windows size, height: 100% » The ConEmu Window height has the right size.
  2. I save the Settings ;-)
  3. I close and reopen ConEmu » The ConEmu Window height is too small.
  4. The Settings now have 98% or 99%

Interesting

Steps to reproduce

  1. Open ConEmu settings and set the Window size height to 100% image
  2. Close and reopen ConEmu
  3. Open ConEmu settings and read the Window size height. It is 98% or 99% image

Actual results

The ConEmu Window size settings automatically change

Expected results

The ConEmu Window size settings don't change

Maximus5 commented 3 years ago

Try to uncheck the Align ConEmu window size to cells

Maximus5 commented 3 years ago

https://conemu.github.io/blog/2021/06/20/Build-210620.html

schittli commented 3 years ago

Try to uncheck the Align ConEmu window size to cells

Thank you for your help!, yes, disabling [Align ConEmu window size to cells] solved it :-)

Now, I'm going to test the release with https://github.com/Maximus5/ConEmu/issues/2327

schittli commented 3 years ago

Hello @Maximus5 thank you very much for your great work and support.

I don't know what https://github.com/Maximus5/ConEmu/issues/2327 is doing, the new release behaves identically to the previous release:

Therefore, gh-2327 does not change this behaviour. I can't tell if this is good or bad, but it's great to be able to disable the Align ConEmu window size to cells property 😃

Maximus5 commented 3 years ago

Please attach LogFiles with reproduction when the "Align" checkbox is enabled. https://conemu.github.io/en/LogFiles.html#Why_they_are_needed

So, please check "Internal LogFiles location" https://conemu.github.io/en/SettingsFeatures.html#id3031 save settings and try to reproduce with "100%" height. I need log files and (preferable) screenshots of full screen.

yannickbt commented 2 years ago

Same issue here. Trying to put relative height size to 80%, then saving settings works. But when exiting conemu and relaunching it, size is 100%. Relative size also varies 1% each time I click "reload config" after saving the config. Absolute size in px works well.

This shouldn't be an issue if absolute size in px works perfectly fine. Simply get the screen resolution on which conemu is active and then apply absolute.x=relative_size.x screen.x, absolute.y = relative_size.y screen.y. Right now it looks like this isn't what is done.