Opened 8 years ago

Closed 8 years ago

#3379 closed defect (fixed)

Tag list loses focus while being edited when pointer moves in map

Reported by: StellanL Owned by: potlatch-dev@…
Priority: minor Milestone:
Component: potlatch2 Version: 2.0
Keywords: Cc:

Description

This is annoying and leads to truncated tags. It is especially likely when you start a tag with the = shortcut and the mouse pointer is already in the map window. It then needs to move just a pixel to affect the tag edit.

Change History (2)

comment:1 Changed 8 years ago by Richard

This seems pretty unfathomable. It appears that any popup-type component will close when there's a rollover event on the main map Canvas.

It applies to AutoComplete? (of which the tag entry fields are instances), but also PopUpMenus?: the Background, Style and GPS menus are the same, as are the various dropdowns in the simple tag editors. I think this may be something to do with FocusManagers?, but they're pretty abstruse even by Flex standards.

One possibility would be to replace the current AutoComplete? component (a modified version of Adobe's own, which in turn extends ComboBox?) with Hillel Coren's version (http://hillelcoren.com/flex-autocomplete/ , which doesn't extend ComboBox?). That said, the latter has a lot of "un-Potlatchy" behaviour which would need to be patched before we could use it.

comment:2 Changed 8 years ago by Richard

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r24667. :)

Note: See TracTickets for help on using tickets.