Skip to content

GE Unresponsive after clicking Commit (on Laptop screen only!) #11589

@brianjlacy

Description

@brianjlacy

Environment

  • GitExtensions version: 4.2.1.17611
  • GIT version: 2.41.0.windows.1
  • OS version: Windows 11 (NT 10.0.22000.0)
  • .NET version: 6.0.26
  • DPI: 144dpi (150% scaling)
  • Portable: No

Issue description


20240215-git-extensions-commit-bug

BUG:
When I click the "Commit" button in the Git Extensions toolbar (doesn't matter if files have been modified):

  • The Commit dialog does not pop up.
  • The Commit button turns Gray; and changes from "Commit (n)" (where n is the number of modifications) changes to simply "Commit". In other words the parentheses and the number disappear.
  • The application becomes completely unresponsive. Clicking anywhere on the program window is useless -- cannot click interactive elements, cannot drag the window, cannot Max/Minimize.

HOWEVER:

  • I CAN right-click the icon on the Windows task bar and close the application, -OR-
  • I CAN click on the program window and press Alt-F4. The program becomes responsive again and the Commit button looks correct.

I believe what's happening is that the Commit dialog is "opening" but is invisible. I'm not able to get access to the dialog in any way, other than to close it (if indeed that's what's happening) by pressing Alt-F4.

MORE CLUES:

  • This only occurs while the window is on my laptop screen. I have a large 4K monitor connected; while the window is on the monitor, the program behaves correctly; the Commit dialog pops up as expected.
  • I tried moving the window so it overlaps onto both screens, the laptop screen and the 4K monitor. The scaling is different on each, so I can tell exactly when the window "jumps" to being managed by one screen vs the other as the window resizes accordingly. As long as the window scaling is managed by the 4K monitor, the Commit button/dialog work properly. If the window is managed by the laptop screen this bug occurs.
  • I tried making the GE program window as small as possible (while still being able to access the Commit button via the toolbar dropdown. The bug still occurs on the laptop screen:
image

Steps to reproduce

See above.

Did this work in previous version of GitExtensions?

This only started a few days ago. I'm not sure if I updated Git Extensions, although it is possible. Not sure what version I had before... 4.x something.

Diagnostics

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: hdpiIssues related to scaling on high DPI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions