Skip to content

Mouse window resizing stops working after opening a Markdown document #822

Description

@spirit2020777

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.

Activity

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

    bugSomething isn't workingneeds infoWaiting on the reporter to confirm or supply detail

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions