Skip to content

Win32: with_dimensions excludes decoration, with_max_dimensions includes them #196

Closed

Description

@LPGhatguy

I have a reproduction case here that works with the latest master.

It looks like, on Win32 at least, with_max_dimensions and with_min_dimensions include the window decorations, but with_dimensions does not. Only including the client area seems like the correct approach here, so this seems like a bug.

I'm taking a look at this.

Activity

  1. BonsaiDen commented on Jun 5, 2017

    @BonsaiDen
    Contributor

    Running into the same issue here, below are a two comparison screenshots.

    Ubuntu (640x480 as set / expected):

    ubuntu

    Windows 10 (Too small ):

    win10

  2. LPGhatguy commented on Jun 9, 2017

    @LPGhatguy
    ContributorAuthor

    After a discussion with @tomaka a few days ago in IRC, it sounds like this behavior just isn't well-defined.

    Someone should propose a documentation update to specify the correct behavior here (probably just including client area, and using client units?) and then update the backends to match it.

  3. Dooskington commented on Nov 28, 2017

    @Dooskington

    I am also having the same issue - any updates?

  4. added
    DS - win32
    on Dec 14, 2017
  5. francesca64 commented on Apr 13, 2018

    @francesca64
    Member

    @Dooskington today is a happy day, for this is now fixed in master.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - win32

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions