Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Mouse window resizing stops working after opening a Markdown document

Open spirit2020777 opened this issue 2 months ago • 2 comments

Markpad version

2.7.6

How did you install it?

Linux — .deb

OS and version

LinuxMint 22.3 + Cinnamon

What happens, and what you expected instead

After opening a Markdown document, mouse-based window resizing stops working. I can no longer resize the window by dragging its borders or corners.

The window is still resizable using Cinnamon's Alt+F8 keyboard shortcut, so the window itself remains resizable.

I expected mouse-based resizing to continue working after opening a document.

Steps to reproduce

Linux Mint / Cinnamon

  1. Launch Markpad.
  2. Before opening a document, resize the window using the mouse — works.
  3. Open any .md document.
  4. Mouse resizing from window borders/corners no longer works.
  5. Alt+F8 still works and allows resizing the window.
  6. Close the document/window and reopen Markpad — mouse resizing works again until a document is opened.

The Markdown that triggers it

Any Markdown file triggers the issue. The contents of the file do not appear to matter.

Screenshots, and anything else

Mouse window resizing stops working after opening a Markdown document

Environment

  • Markpad 2.7.6
  • Linux Mint
  • Cinnamon
  • Installed from the .deb package

Steps to reproduce

  1. Launch Markpad.
  2. Before opening any document, resize the window by dragging its borders or corners with the mouse. This works normally.
  3. Open any Markdown (.md) document.
  4. Try to resize the window again by dragging its borders or corners.

Actual behavior

After opening a Markdown document, mouse-based window resizing stops working. The resize cursor does not appear when moving the mouse over the window borders/corners.

However, the window is still resizable by the window manager. For example, Alt+F8 (Cinnamon's "Resize Window" action) still works correctly.

Expected behavior

Mouse-based resizing should continue to work after opening a Markdown document.

Additional information

The fact that Alt+F8 still works suggests that the window remains resizable at the window-manager level, but the mouse hit-testing for the resize areas may be getting intercepted or otherwise affected after a document is opened.

The issue appears to be triggered specifically by opening a document: mouse resizing works immediately after launching Markpad, but stops working after opening an .md file.

spirit2020777 avatar Sep 22 '26 11:09 spirit2020777

Thanks for the detailed report. I can't reproduce this on macOS, so I need a bit more from Linux to narrow it down.

Could you check whether resizing still breaks if you open a document and switch it to preview-only (no editor pane showing)? And does it break the same way if you open a document with the editor visible?

That tells us whether the editor or the preview is catching mouse events at the window edges.

PathGao avatar Sep 22 '26 21:09 PathGao

havent be replied for long time so closed

PathGao avatar Oct 05 '26 13:10 PathGao