Select individual database does not work on Database Permissions page

If you go to Webmin > Servers > MySQL Database Server > Database Permissions and try to select individual database then it won't let you do so. Instead it will behave like you clicked on the database name. Using "Select All" works fine, but sometimes you just want to select just several databases (not all!) to delete them with single "Delete Selected" button.

Status: 
Closed (fixed)

Comments

Ilia's picture
Submitted by Ilia on Wed, 02/03/2016 - 03:29

In order to do this, you have two options:

  1. Click on the checkbox on the left
  2. Right click on the row

Left clicking on the row is a shortcut to clicking on the link.

All seems fine. It's expected behavior across the theme.

It is true that the checkbox on the left is clicking, however it was supposed to be selecting, not clicking. Please test it on your end.

Ilia - I wonder if it would make sense for the Authentic theme to only treat columns that are actually a link as links, and for other columns to just select the checkbox.

Ilia's picture
Submitted by Ilia on Thu, 02/04/2016 - 00:24

I remember we discussed this with Joe and he asked me to make a row behave more like GMail-like. It took a lot of efforts to work it the way it is now. I personally find this very convenient to select a row using right click and clicking on the row open its link.

Why would change it?

Clicking on the checkbox should select a row and toggle chechbox?

Ilia's picture
Submitted by Ilia on Thu, 02/04/2016 - 06:22

@yngens I have doubled checked and it works as expected in both Chrome and Safari? What browser are you using? What theme version?

Ilia's picture
Submitted by Ilia on Thu, 02/04/2016 - 06:23

@yngens ..by as expected I mean that if I click directly on the checkbox it marks the row and toggles checkbox. Is this what you expect?

Perhaps the theme could make it clearer that the whole row is a link?

Ilia's picture
Submitted by Ilia on Fri, 02/05/2016 - 06:29

Jamie, perhaps. I'm opened to proposals of how it could be done clearer?

Underlining, maybe? However, that might look ugly..

Ilia's picture
Submitted by Ilia on Fri, 02/05/2016 - 23:59

I will add help button with theme's full feature list (on edit themes page, where settings are). Their it will be the description of this feature too. Is this ok?

Sorry guys for not replying to this sooner.

@yngens ..by as expected I mean that if I click directly on the checkbox it marks the row and toggles checkbox. Is this what you expect?

That's exactly what I expected, but unfortunately it is not marking the checkbox, but redirecting to another page as if I clicked on it instead of selecting.

But if you right click on the row, on click on the checkbox

Wait, why right click? Everybody will use left clicks...

Ilia's picture
Submitted by Ilia on Sun, 02/07/2016 - 23:19

You're saying that you left click on the checkbox and it doesn't mark the checkbox but takes you too the link? I couldn't reproduce it? What browser are you using?

I am now on MBP, Google Chrome Version 48.0.2564.97 (64-bit).

Ilia's picture
Submitted by Ilia on Mon, 02/08/2016 - 04:29

Not sure what MBP but I've made a video screencast for you in the same Chrome version. Maybe you have some extensions installed that break theme functionality (which I doubt), however you could also try Incognito Tab.

Other than that, I don't know how to help you with that. Did you try Firefox on the same machine?

MBP is Mac Book Pro. Somehow I am able to select individual databases on Database Permissions. I don't know if it is after I upgraded the theme to the latest version. Anyway this can be considered as closed. Thank you!

Status: Active » Closed (fixed)

Closing the ticket.

Status: Closed (fixed) » Active

Actually, the issue is still there. Ilia, could you please compare two pages: on User Permissions everything works as expected and you can check individual users on the same page without being redirected to another page, however that's not the case with Database Permissions page as the checkboxes there are simply not selectable.

Ilia's picture
Submitted by Ilia on Sat, 04/23/2016 - 00:51

@yngens I'm in the middle of releasing version 18.00. It will be hugely reworked. There will be no more JavaScript checkboxes/radios, script that is responsible for that is also reworked.

Theme size will be reduced almost by half, lightened and optimised. Dependencies will loaded targeted for each window, leaving much less footprint.

All of this will make theme work faster and in more natural way.

I recently could reproduce unclickable checkbox on very large pages. (In Firefox and Safari but not in Chrome).

@Jamie, I will try to make the rows without links selectable by single click.

Ilia's picture
Submitted by Ilia on Thu, 06/02/2016 - 13:05

Status: Active » Closed (fixed)