Skip to content

Right click on a resizer opens context menu and triggers resizer #20105

@jaller94

Description

@jaller94

Your use case

Peek 2021-12-08 14-49

What would you like to do?

When right clicking on a resizer, it shouldn't trigger both the context menu and the resizer.

Why would you like to do it?

In most cases I wanted just the context menu and was confused when the resizer started following my cursor.

How would you like to achieve it?

Alternatives:

  1. Don't start the resizer's behaviour on any click but a main click. This is what I expect in a webapp.
  2. Prevent the context menu from opening. This is what the XFCE window manager does for native window borders.

The button that was clicked can be tested with event.button.

Have you considered any alternatives?

Maybe the React Re-Resizer does this properly already?. Looks like we want(ed) to migrate to this. #15083

Additional context

Left sidebar is affected too

Peek 2021-12-08 14-48

Right sidebar is affected too

Peek 2021-12-08 14-49_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedExtra attention is neededO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Enhancementgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions