Right-clicking a ChoiceEdit activates it

Bug #399236 reported by Matthew Paul Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAZR Javascript Library
Fix Released
High
Eleanor Berger

Bug Description

1. In any bug report, double-click the status value or the importance value.

What happens: The value is changed to something else.
What should happen: Nothing.

Like bug 399233, this could be fixed by using a real <select> menu instead of an HTML+CSS overlay. A more difficult way to fix it would be to position the overlay such that the current value is directly under the cursor when the overlay opens (as GTK option menus already do).

Revision history for this message
Данило Шеган (danilo) wrote :

Menu is shown also when right clicking or middle clicking, which I'd say is broken. Perhaps worthy of another bug report though.

Revision history for this message
Eleanor Berger (intellectronica) wrote : Re: Double-clicking or right-clicking a ChoiceEdit activates it

Yes, using native controls would give us many behaviours for free and will immediately increase the usability of the ui, but it affords us much less stylistic control. On the up side, once we fix all bugs of this nature we will have a reusable widget that looks great and behaves in a usable way.

summary: - Double-clicking status or importance value usually changes it
+ Double-clicking and right-clicking a ChoiceEdit activates it
summary: - Double-clicking and right-clicking a ChoiceEdit activates it
+ Double-clicking or right-clicking a ChoiceEdit activates it
affects: malone → lazr-js
Changed in lazr-js:
assignee: nobody → Tom Berger (intellectronica)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Eleanor Berger (intellectronica) wrote :

Nothing can be done about double clicking (except, perhaps, for disabling the list widget for a short time after it opens) but right clicking is fixed

Changed in lazr-js:
status: In Progress → Fix Committed
Revision history for this message
Eleanor Berger (intellectronica) wrote :

Fixed in toolchain r109

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

If you were under the impression that "Nothing can be done about double clicking", then whatever you did, it wasn't fixing the reported bug.

There are at least three ways to fix the double-clicking issue. I suggested two of them in the initial report: to use a native <select>, or to position the menu so that the currently selected item is positioned over the initial control. You suggested a third: disabling the menu briefly after it opens.

Changed in lazr-js:
status: Fix Committed → New
Graham Binns (gmb)
Changed in lazr-js:
status: New → Won't Fix
status: Won't Fix → Triaged
Revision history for this message
Eleanor Berger (intellectronica) wrote :

I'm repurposing this bug and will track the positioning of the overlay elsewhere (it is blocked because of a YUI3 bug).

summary: - Double-clicking or right-clicking a ChoiceEdit activates it
+ Right-clicking a ChoiceEdit activates it
Changed in lazr-js:
status: Triaged → Fix Committed
Revision history for this message
Eleanor Berger (intellectronica) wrote :
Stuart Langridge (sil)
Changed in lazr-js:
status: Fix Committed → Invalid
status: Invalid → Fix Committed
Curtis Hovey (sinzui)
Changed in lazr-js:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.