code icon indicating copy to clipboard operation
code copied to clipboard

Unable to resize window on top edge

Open Cheos137 opened this issue 2 years ago • 4 comments

Describe the bug

Typically, you can resize a window on all 4 edges, however, it is currently impossible to resize the window on the top edge as it immediately switches to being dragged even when showing the resize cursor.

Steps to reproduce

  1. Open the modrinth app
  2. Move your mouse to the top edge so that the resize cursor is shown
  3. Try to resize the window
  4. Observe the window being dragged around instead of being resized

Expected behavior

I expected the window to be resized instead of dragged around when clicking/dragging the top edge with the resize cursor being shown

Additional context

This issue did not occur in the previous version where both the native and custom title bar were shown. This issue occurs on Windows 10, i don't have any Windows 11 machines or other platforms to test on.

Cheos137 avatar Jul 27 '23 20:07 Cheos137

This occurs on Windows 11

srnyx avatar Jul 27 '23 21:07 srnyx

Enabling native decorations fixes that. Also may be related to https://github.com/modrinth/code/issues/377

Felix14-v2 avatar Aug 29 '24 10:08 Felix14-v2

This issue doesn't occur on Windows 10. I just tested it. Modrinth App 0.10.24 Windows 10.0.19045

snowynguyen avatar Jan 07 '26 19:01 snowynguyen

Yeah it's no longer happening to me, think it was fixed Windows 11 (10.0.26200 Build 26200) Modrinth App 0.10.24

srnyx avatar Jan 07 '26 20:01 srnyx