Hi Mark,
You've just discovered a long standing limitation and perhaps a good candidate for future improvement.
With published activities, we force the page layout to embedded for student launches, and this works fine. With courses, we don't do this (we never have, even going back to before I ported the tool/provider to LTI1.3) so we'll fall back on the default 'course' layout in those cases (and yes, the header is shown in the course layout). FYI, you can see layouts here: https://docs.moodle.org/dev/Page_API#Base_theme_page_layouts.
I think, ideally, we'd have a layout that we could use for course publishing, which excluded site nav, but I don't think a layout like that exists yet. Might be one to create a tracker issue for (using "Publish as LTI tool" as the component, if you do).
Cheers,
Jake
Thanks Jake, that's good to know! I have spent so much time trying to work out what was going on. I shall just work around this limitation then.
Tracker issue has been raised. https://tracker.moodle.org/browse/MDL-85314
Thanks,
Mark
Tracker issue has been raised. https://tracker.moodle.org/browse/MDL-85314
Thanks,
Mark