Phpmyadmin: WRT Ctrl navigation in grid editor #6068

Created on 16 Sep 2016  Â·  3Comments  Â·  Source: phpmyadmin/phpmyadmin

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

enhancement

Most helpful comment

We currently don't have an option to disable it, but it seems it might make sense to provide a config option to disable it for those who would want to use regular operations of Ctrl+Arrow keys inside a textbox/textarea.

Another option is to think of replacing Ctrl with some other key which might not interfere with other operations.

All 3 comments

We currently don't have an option to disable it, but it seems it might make sense to provide a config option to disable it for those who would want to use regular operations of Ctrl+Arrow keys inside a textbox/textarea.

Another option is to think of replacing Ctrl with some other key which might not interfere with other operations.

The option $cfg['CtrlArrowsMoving']=false became ignored because (as far as I remember a brief discussion) the developers could not imagine that any user who has to edit longer texts frequently would prefer navigating quickly in the edited text, rather than between database fields, thus prefer being able to disable this feature.

SourceForge Feature Request #1548 - created 2014-10-15

No PHP code exists anymore which would recognize this option and disable this feature.

6188

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChrisHSandN picture ChrisHSandN  Â·  3Comments

mauriciofauth picture mauriciofauth  Â·  3Comments

Imrulkais picture Imrulkais  Â·  3Comments

williamdes picture williamdes  Â·  3Comments

saulotoledo picture saulotoledo  Â·  3Comments