pgadmin-org / pgadmin-org/pgadmin4

ERD editor: Shift + LMB locks the tables position

Open
#9,890 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

In the ERD table, after I press Shift and drag LMB, I am not able to move tables, nor pan the view. Selection box appears instead, but it doesn't select anything.

To Reproduce

Steps to reproduce the behavior:

  1. Go to ERD editor (web or app)
  2. Press Shift and drag mouse pointer as to select something
  3. Release everything and try to move a table or pan the view

Expected behavior

The tables and the view should still be movable.

Error message

No error, just cannot move anything except nodes.

Screenshots

Here I'm trying to pan the view with the middle mouse button:
Image
Same happens with the LMB.

Desktop (please complete the following information):

  • OS: Linux, Fedora
  • pgAdmin version: 9.14
  • Mode: Desktop
  • Browser (if running in server mode): chrome, vivaldi
  • Package type: rpm

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the ERD editor by reproducing the Shift-drag sequence described in the issue and tracing the selection-box interaction. Done means releasing Shift and the mouse no longer prevents table movement or view panning, including with the middle and left mouse buttons.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.