re #8995. Ensure slice is given only when enabled
Merge branch 'feature/8995_hide_event_gui' into develop