pgadmin-org / pgadmin-org/pgadmin4

On Create - Trigger Function, cursor jumps to beginning of text field

Open
#10,357 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

Window: Create - Trigger Function
Tab: Code

Issue: Whenever i'm trying to code a trigger and I accidentally press two keys on the keyboard at the same time, the cursor jumps to the beginning of the text field.

This forces me to constantly reposition the cursor or type much more slowly.

  • OS: Windows 11 Pro
  • pgAdmin version: 9.12
  • Mode: Desktop

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 Create - Trigger Function window on the Code tab and reproduce the cursor jump by pressing two keys simultaneously. Trace the code-editor input handling to identify why the caret moves to the beginning; done means normal typing keeps the cursor at the intended position in this form.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.