Skip to content

White border at the bottom of the window. #3064

Closed

Description

Environment

Windows build number: 10.0.18995.0
Windows Terminal version (if applicable): 0.5.2762.0

Steps to reproduce

Open Terminal app.

Expected behavior

Should not show a white border on the bottom of the window.

Actual behavior

Shows a 1 pixel thin white border on the bottom of the window.
grafik

Activity

  1. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Oct 4, 2019
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Oct 4, 2019
  3. added
    Area-UserInterfaceIssues pertaining to the user interface of the Console or Terminal
    Issue-BugIt either shouldn't be doing this or needs an investigation.
    on Oct 8, 2019
  4. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Oct 8, 2019
  5. sourajitk commented on Oct 13, 2019

    @sourajitk

    Can confirm the existence of the issue. Occurs after the update to Windows Insider Preview.

  6. ricardosantos9521 commented on Oct 23, 2019

    @ricardosantos9521

    It also shows a 1 pixel thin white border on the left side of the window. (build 19008)

    Screen Resolution: 2256x1504, Scale: 125%:
    image

    Screen Resolution: 1920x1080, Scale: 100%:
    image

  7. DHowett-MSFT commented on Oct 23, 2019

    @DHowett-MSFT
    Contributor

    Chatted with the DWM team, who owns the API we're using to control our non-client drawing. They've got a solution for us, but it'll take some time to implement.
    I'm tagging this into #1625.

  8. zadjii-msft commented on Oct 25, 2019

    @zadjii-msft
    Member

    (We think that this is going to be closely related to a bucket of things, #3136 #1859 #3064 #1307)

  9. ghost added
    In-PRThis issue has a related PR
    on Nov 1, 2019
  10. 1 remaining item

  11. DHowett-MSFT commented on Nov 3, 2019

    @DHowett-MSFT
    Contributor

    AzpAgarampur (@Arush-Agarampur) Thanks! greg904 actually has a comprehensive fix for this in progress in #3394.

  12. AzAgarampur commented on Nov 3, 2019

    @AzAgarampur

    Ahh OK, sorry I didn't see that. First time contributing to a huge project like this... 😅

  13. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Nov 4, 2019
  14. ghost removed
    In-PRThis issue has a related PR
    on Nov 4, 2019
  15. added a commit that references this issue on Nov 4, 2019
    5dfc021
  16. ghost added
    Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.
    on Nov 4, 2019
  17. danielniccoli commented on Nov 27, 2019

    @danielniccoli
    Author

    That made the issue 4 times worse as you now have 4 white borders: top left right and bottom 😂

    grafik

    I think this issue needs to be reopened.

  18. DHowett-MSFT commented on Nov 27, 2019

    @DHowett-MSFT
    Contributor

    You're going to hate to hear this, but it's actually "by design" -- there's no official way for an application to opt in to match the shell's "dark theme" ☹️. If we trespass on those 1px borders, DWM will give up on us and force us to draw every pixel of our application. We've seen what lies at the end of that road.

  19. saschanaz commented on Nov 27, 2019

    @saschanaz

    You're going to hate to hear this (with all your effort 🙏), but could we roll it back to affect only the bottom border? 🤔

  20. AzAgarampur commented on Nov 27, 2019

    @AzAgarampur

    I don't want to come across as pushy, but I think the best idea is to fall back to the bottom border, and use the layered window attribute I commented earlier. It hides it perfectly, also while resizing.

  21. DHowett-MSFT commented on Nov 27, 2019

    @DHowett-MSFT
    Contributor

    I appreciate your input. On the balance, though: the border pull request fixed at least seven different issues (#3064, #1307, #3136, #1897, #3222, #1859, #2268; this list does not count all the ones we later realized were caused by the same thing).
    I'm willing to take a one-or-two-release regression in how terminal looks--at least until we can get it ironed out--in the name of improving our project's health.

    I know that it's possible to get this right (Firefox manages it, for example), but I'd rather move forward and look for the right solution than move backward and settle on the pretty bad solution we had.

  22. DHowett-MSFT commented on Nov 27, 2019

    @DHowett-MSFT
    Contributor

    Continuing discussion at #3425. We've figured out how to suppress the borders without using a private API. 😁

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

Metadata

Metadata

Labels

Area-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions