[PATCH] GUI Ordered list needs better doubleclick registration
|Reported by:||elexis||Owned by:||elexis|
|Priority:||Should Have||Milestone:||Alpha 19|
|Component:||UI & Simulation||Keywords:|
In both cases it is a list element, which stupidly inherits the doubleclick logic from the placeholder / parent class
CGUI.cpp. This means that whenever one doubleclicks anywhere inside the rectangle of the list, a doubleclick will be registered.
But this is not the expected behavior:
Reproduce (1): Select one item and then a different one within
SELECT_DBLCLICK_RATE = 0.5 seconds. The second item will be doubleclicked instead of single-clicked, which was not intended as one didn't doubleclick that specific list item.
Reproduce (2): Doubleclick on the column header. It will reorder the list and then execute the doubleclick function.
As we don't want to hack a workaround twice in JS, we should rather make a specific logic for the
COList to register doubleclicks for list items.
Change History (8)
comment:1 by , 5 years ago
|Keywords:||patch review added|
|Milestone:||Backlog → Alpha 20|
|Summary:||GUI Ordered list needs better doubleclick registration → [PATCH] GUI Ordered list needs better doubleclick registration|