Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: StellanL
[Submitted to the original trac issue database at 8.19pm, Tuesday, 7th December 2010]

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.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 1.50am, Wednesday, 8th December 2010]

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.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 2.47pm, Thursday, 9th December 2010]

Fixed in r24667. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant