Page MenuHome

Double click list renaming not working on heavy scenes
Closed, InvalidPublic


Vista64, 2.7a, gtx470
When the scene is heavy, so that interface becomes slightly laggy, double click list rename stops working, especially for fast clicking.

  • Add subdivision modifiers to any mesh until interface becomes laggy.
  • Add a vertex group or UV map.
  • Double click to rename - renaming is not activated.

Event Timeline

Bastien Montagne (mont29) lowered the priority of this task from 90 to 50.May 3 2014, 3:03 PM

@Konstantins Visnevskis (kivig): you can ctrl-click (or ctrl-enter), works fine.

Dev note: looks like in this case, a 'single click' event is processed before a double-one gets generated, which turns to selecting the listrow instead of editing the label (i.e. ui_do_but_LISTROW() never gets the KM_DBL_CLICK event, unless you triple-click, which will then select the item and then edit its label).

Not quite sure we consider this a bug, or a todo of our event system?

@Bastien Montagne (mont29), ideally none of the RNA update should do heavy operations (look into shape key update function, i.e.). But that's also kind of separate issue because you'll need to tag update here anyway which would make first click tagging the object, then object update happens and only them second click is handled which doesn't really help.

What we can do instead is to not activate row if we're single-clicking an active one. Here's a real dirty hack for this Maybe you'll have ideas how to clean it up a bit.

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.May 20 2014, 7:13 PM

This is in fact an “issue” with current event system, you just can’t avoid getting a click first before getting a doubleclick event… More a TODO/internal limitation than a bug, so closing as such (see also our TODO list).