Page 1 of 1

Inadvertent checkbox clicking

Posted: Sat Mar 31, 2012 1:59 pm
by rasar
While on the NoScript Options setting screen, I found myself inadvertently selecting and de-selecting some checkboxes, and not realizing it.

It seems that the active area for a checkbox covers the entire line, including the blank area of the window on that line. This is true only for those checkboxes which don't have another element after the checkbox text. (Sorry, I'm not very savvy with GUI terminology, but the following examples should clarify what I mean.)

No Script Options -> Notifications Tab -> Hover anywhere to the right of the "Place message at the bottom" line
The checkbox is highlighted, and can be inadvertently checked/unchecked. This is not expected.

No Script Options -> Notifications Tab -> Hover anywhere on the "XSS" line to the left of the "?"
or
No Script Options -> Notifications Tab -> Hover anywhere on the "Hide after xxx seconds" line to the left of the list box
The checkbox is highlighted, and can be checked/unchecked. This is what one would expect.

No Script Options -> Notifications Tab -> Hover anywhere on the "XSS" line to the right of the "?"
or
No Script Options -> Notifications Tab -> Hover anywhere on the "Hide after xxx seconds" line to the right of the list box
The checkbox is not highlighted, and cannot be inadvertently checked/unchecked. This is intuitively what one would expect.

It would be nice if you could limit the active area for checkbox selection to the text portion.

Re: Inadvertent checkbox clicking

Posted: Sat Mar 31, 2012 2:49 pm
by therube
> the active area for a checkbox covers the entire line, including the blank area of the window on that line

True. I think its wrong, but ...

Re: Inadvertent checkbox clicking

Posted: Sat Mar 31, 2012 3:30 pm
by Giorgio Maone
Unfortunately this is not a NoScript bug, but a limit in the platform UI toolkit.
Just test any checkbox in Firefox's own options window.

Re: Inadvertent checkbox clicking

Posted: Mon Apr 02, 2012 5:54 pm
by rasar
Giorgio Maone wrote:Unfortunately this is not a NoScript bug, but a limit in the platform UI toolkit.
Just test any checkbox in Firefox's own options window.
I agree. Could I suggest that you work around the problem by adding an extra little element at the end of affected lines....something like the "?" at the end of the XSS line. Just a thought...

-RKA

Re: Inadvertent checkbox clicking

Posted: Wed Apr 04, 2012 5:44 am
by Tom T.
I don't get the highlighting by mere hovering, in either Fx 3.6.28 or Fx 11.0, but indeed, clicking on the line checks/unchecks (and highlights).

What I do get -- more often in Fx 11 -- is that clicking Embeddings, Appearance, or Notifications tabs *usually* highlights the first entry on that page.
Agree that it's not ideal.
rasar wrote:
Giorgio Maone wrote:Unfortunately this is not a NoScript bug, but a limit in the platform UI toolkit.
Just test any checkbox in Firefox's own options window.
I agree. Could I suggest that you work around the problem by adding an extra little element at the end of affected lines....something like the "?" at the end of the XSS line. Just a thought...
And a rather clever one! :ugeek:

Here's a golden opportunity to increase access (and frequency of access?) to FAQ: Have a ? pointing to the FAQ pertinent to that checkbox, even if several ? point to the same FAQ.
Kills two birds with one stone.

Giorgio?