- scrolling would be restricted (usually, if the object to be renamed is in view, this prevents scrolling away without finishing the renameoperation)
- renaming by typing and confirming with Enter was not possible (you would have to escape, scroll to the object and use F2 again)
- other shortcuts like A and H are still active instead of being handled as text input
Avoid all these issue by forcing the item into view using outliner_show_active / outliner_scroll_view.
note: since rB6bc6d016c5e7 scrolling to an item after opening relevant parents can go wrong if said parent e.g. the last in the list [as in: then the Outliner does not scroll down all the way]
This is a separate topic though [it stems from the fact that region->v2d.tot.ymin is not up-to-date in outliner_scroll_view afteroutliner_show_active opens up parents...] and is also present in outliner_show_active_exec.