Call getType on selection to determine its type in clipboard command state update procedure.
Merge branch 't/9851b'
Minor code style fix.
Put initial selection on first editable focus.
Revert #5156 completely (to put focus before open dialog) as it's not reproducible anymore.
Addedd missing argument.
Changelog entry.