Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The preview sql button tabindex is never refreshed #17111

Closed
Jir4 opened this issue Sep 16, 2021 · 5 comments
Closed

The preview sql button tabindex is never refreshed #17111

Jir4 opened this issue Sep 16, 2021 · 5 comments
Assignees
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete help wanted ui Issues relating to the user interface
Milestone

Comments

@Jir4
Copy link
Contributor

Jir4 commented Sep 16, 2021

Describe the bug

Adding more rows in the form on tbl_change.php didn't change the tabindex of the preview sql button. (default tabindex seems to be 2*number of column + 6 ). If you have more fields than this field, your focus will jump onto the preview button.

To Reproduce

CREATE TABLE `tabindex` ( `field1` INT NOT NULL , `field2` INT NOT NULL , `field3` INT NOT NULL ) ENGINE = InnoDB; 

Steps to reproduce the behavior:

  1. Create a table with the query above
  2. Go to the insert page
  3. Scroll down to 'Continue insertion with'
  4. Add 4 rows
  5. Go to the 9th field ( last field of the 3rd row)
  6. Press tab

Expected behavior

The focus should be in the first field of the 4th row

Server configuration

  • Operating system: Debian 10
  • Web server: Apache/2.4.38
  • Database version: 10.3.29-MariaDB-0+deb10u1
  • PHP version: 7.4.23
  • phpMyAdmin version: 5.0.4deb2~bpo10+1

Client configuration

  • Browser: Firefox 93.0b4 (64 bits)
  • Operating system: macOS bêta 12.0 (21A5506j)

Additional context

An extension like this one help a lot.

The behavior can be easly fixed but i'm not aware of what it involves so i create an issue instead of a PR :

  • add a control_at_footer class to the preview sql button here
  • or update the rule here
@Jir4
Copy link
Contributor Author

Jir4 commented Oct 8, 2021

Any news ?

@williamdes
Copy link
Member

Hi @Jir4

I am sorry for the time this got for you to have an answer, we will be looking in to this soon.

Maybe you could try to update to phpMyAdmin 5.1 I uploaded to Debian bullseye backports or use our Ubuntu PPA, see: Wiki for install methods on Ubuntu/Debian

@williamdes williamdes added Bug A problem or regression with an existing feature help wanted ui Issues relating to the user interface labels Feb 4, 2022
@williamdes williamdes modified the milestones: 5.2.0, 5.1.3 Feb 4, 2022
@ibennetch ibennetch modified the milestones: 5.1.3, 5.1.4 Feb 11, 2022
@Jir4
Copy link
Contributor Author

Jir4 commented Mar 7, 2022

Hi thanks for your answer, the problem is still present, i checked the code to suggest a way to patch this in my first message.

I can still make the PR if someone can validate me my way to fix that.

@williamdes
Copy link
Member

Hi thanks for your answer, the problem is still present, i checked the code to suggest a way to patch this in my first message.

I can still make the PR if someone can validate me my way to fix that.

Sure, feel free to create a branch from QA_5_1 branch and push your fix or the branch and make a PR for it :)
I will review it
Merci

@Jir4
Copy link
Contributor Author

Jir4 commented Mar 9, 2022

@williamdes done.

@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Mar 10, 2022
@MauricioFauth MauricioFauth self-assigned this Mar 16, 2022
MauricioFauth added a commit that referenced this issue Mar 16, 2022
Updates PHPStan and Psalm baselines

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete help wanted ui Issues relating to the user interface
Projects
None yet
Development

No branches or pull requests

4 participants