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

The gap appears on the right of the child GUI window, when scrollbar is set to be always shown #1249

Closed
Velofag opened this issue Sep 10, 2017 · 6 comments

Comments

@Velofag
Copy link

@Velofag Velofag commented Sep 10, 2017

Versions

ConEmu build: 170807 x64 (previous versions have this bug too)
OS version: Windows 7 x64
Used shell version: any GUI child window

Problem description

If in Appearance settings the option to always show scrollbar is set, the following bug appears: when opening new tab with GUI window inside, there is a gap on the right. The width of the gap seems equal to the width of the scrollbar. After resizing ConEmu window or switching tabs, the gap disappears.

This problem doesn't exist if scrollbar is always hidden or set to auto show on mouse over (like it is set in default ConEmu configuration).

The bug can be reproduced with multiple different programs (tested: putty.exe, notepad.exe, speedcrunch.exe) so it is not a bug of child GUI window.

Steps to reproduce

  1. Create task for a GUI window (e.g. putty.exe, notepad.exe, etc).
  2. Change settings in Main >Appearance > Scrollbar to "Show".
  3. Open the task with a GUI window.

Actual results

The child window don't fill ConEmu window completely. There is the gap on the right side. Please see attached screenshots.

Expected results

There should be no gap. The child window should populate all available space.

Additional files

Bug screenshots:
https://www.dropbox.com/sh/owsa5ntht4wopem/AABP8FWcJ4oVWdH66TlAIhbca?dl=0

@Velofag
Copy link
Author

@Velofag Velofag commented Sep 11, 2017

Thank you, @Maximus5. The bug is fixed now.

@Velofag Velofag closed this Sep 11, 2017
@Velofag
Copy link
Author

@Velofag Velofag commented Sep 11, 2017

Upd: I decided to test if Notepad++ could be opened in ConEmu and found that described bug still appears if the child window is notepad++.exe . It may be that Notepad++ shows it's window in some different way than other applications. I can be wrong, but I think Notepad++ opens some hidden splashscreen-like window before opening main window.
Screenshot: https://www.dropbox.com/s/lk7osm63drkw0mu/Notepad%2B%2B.png?dl=0

Putty, Windows Notepad and SpeedCrunch open correctly now.

@Velofag Velofag reopened this Sep 11, 2017
@alexdevero
Copy link

@alexdevero alexdevero commented Sep 27, 2018

I am having the same issue.

Screen:
conemu-issue

ConEmu build: 180626 x64
OS version: Windows 10 x64 (1803)

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Sep 27, 2018

@alexdevero Please read what is this issue about. ChildGui
And report your desired behavior to node.js authors.

@alexdevero
Copy link

@alexdevero alexdevero commented Sep 27, 2018

@Maximus5 Please explain what has node.js do with this issue? The line break is defined by the width of the ConEmu window and rendered also by ConEmu.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Sep 27, 2018

The line break is defined by the width of the ConEmu window and rendered also by ConEmu.

Definitely not. ConEmu is terminal, it shows what your node.js prints, and it's node.js choice when to do line break.
That is NOT a gap defined by scrollbar
The reported bug (this issue) for ChildGui was fixed year ago.
You problem is related to node.js (configuration or anything) and is offtopic here.

@Maximus5 Maximus5 closed this Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.