Skip to content

[Win32] Text field double as high as it should be (regression) #2011

@tmssngr

Description

@tmssngr

Describe the bug
In SmartGit, "Standard" window, [+] tab, the filter input field is as double as high as it should be.

Image

To Reproduce

  • start an installed SmartGit 25.1 preview (smartgit.exe)
  • open the "Standard" window
  • select the [+] tab

This problem is not reproducible when launching from IDEA or smartgitc.exe.
This problem is independent from the zoom level of the display - I can reproduce it with 100%, 150% and 200%.

Note, SmartGit sets the system property swt.autoScale to false to work around drawing bugs.

Expected behavior
This input field should have the half height.

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)
    Windows 11

Version since
This problem was introduced by commit 0edc5bd.

Workaround (or) Additional context
Comment line Widget:2716 (line number from commit 0edc5bd).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions