phpmyadmin / phpmyadmin/phpmyadmin

[shortcuts] WRT Ctrl navigation in grid editor #6068

Open
#12,559 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
PHP
Stars
7.9k
Forks
3.6k
Avg merge
4d 18h
Merged PRs (30d)
36

Description

Hi there,

With regards to Issue #6068

How do I disable what this issue implemented? With 4.5.3.1, I can't use my ctrl-shift+[left|right] arrows to highlight words or ctrl-shift+[left|right] arrows to move from word to word. With 4.0.10.7 I can. Do I need to downgrade? Is there a configuration setting I can add? Is there a line in the code I can comment out?

My search: While having phpMyAdmin running, I checked the navigation bar options (upper-left), the server bar options (upper-right), the Console options (lower left), the configuration file (config.inc.php), the phpMyAdmin documentation, and have combed Google and StackOverflow. I cannot find anything on disabling or turning off the keyboard navigation controls on the edit page.

The documentation's changelog led me to the issue here, which I commented, but realized it's a closed issue so opened this new one.

Thanks!

  • Keith
Steps to reproduce
  1. Using phpMyAdmin 4.5.3.1, edit a record.
  2. With the cursor inside an input or textarea field:
    • Try to navigate from word to word using Ctrl-Left or Ctrl-Right.
    • Try to select words using Shft-Ctrl-Left or Shft-Ctrl-Right.
Expected behaviour

Using either the Ctrl-Arrow or Shft-Ctrl-Arrow keyboard shortcuts I would expect natural word navigation and word selection.

Actual behaviour

Using either the Ctrl-Arrow or Shft-Ctrl-Arrow keyboard shortcuts will move you from field to field, left to right, unless you're at the right- or left-most columns, in which case the keyboard action does nothing.

Server configuration

Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-95-generic x86_64)

Web server:
Apache

Database:
MySQL

PHP version:
PHP 5.5.9-1ubuntu4.19 (cli)

phpMyAdmin version:
4.5.3.1

Client configuration

Browser:
Chrome 52.0.2743.116 m

Operating system:
Windows 7 Professional SP1

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

The issue concerns Ctrl-Arrow and Shift-Ctrl-Arrow handling in the grid editor, but it names no source file or test. Reproduce the behavior in an editable record using the listed steps, then locate the keyboard-navigation entry point and verify that native word navigation and selection work without breaking movement between fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.