Skip to content

Close button can be clicked with just mouseup (wayland only) #117

Description

@anton-z-s

When showing a close button at the top-right corner, it can be accidentally clicked when scrolling, by dragging a scroll bar and releasing the mouse button on the close button.

Here are the details:

  1. I want to scroll the page, I hold the mouse button on the scrollbar.
  2. I drag the scrollbar to the top, my cursor is now on the close button (it's not intentional, it's just faster to move it to the top of the screen), I release the mouse button, the window closes unintentionally.
    It's very disturbing and happens only on wayland.
    image

It would be great if a close button would only be triggered if both button-press-event and button-release-event occur on it. Currently, on wayland, if you press mouse button elsewhere, then release it on the close button, it would trigger.

By the way, it's one of my favorite gnome extension, thanks for the work!

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions