In Writer with Groupedbar or Groupedbar compact enabled (View - User interface - Groupedbar):
Press the File button in the first group -> a pop-up menu with the "Close preview" item appears - the item should be called "Open preview" or "Print preview"
Click the "Close preview" item -> groups in the bar changes, one of the new groups is "Slide Layout" - the name should be "Page Layout" as slides related to documents of Impress, not Writer
Confirmed with Ubuntu 18.04 (gnome desktop) and build:
Build ID: a1a46e93e4ecc1b7f7ea34b9953dbc1abbae2588
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-07-11_09:49:39
Locale: en-US (en_US.UTF-8); Calc: group threaded
Thanks for reporting the issue.
This is a dupe of bug 118335
*** This bug has been marked as a duplicate of bug 118335 ***
The second part about "Slide layout" is not in the duplicate -> I reopened this and changed the summary accordingly.
Slide Layout is fixed in groupedbar_compact and will be fixed also in groupedbar when it will come out of experimental.
thanks for reporting the bug.