[[ Bug 12006 ]] Buttons of menu type can't be inspected if first created object.
Merge branch 'release-6.6.2'