pgadmin-org / pgadmin-org/pgadmin4
ERD editor: Shift + LMB locks the tables position
Nobody has claimed this yet.
- 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:
- Go to ERD editor (web or app)
- Press Shift and drag mouse pointer as to select something
- 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:
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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