---
id: change/bcapps/10134
type: change
title: "#10134 [Bug 646487] Composite layout: focus fix, body-layout gating, and setup UI"
summary: Multiple bugs in composite layout management are fixed, including focus handling, multi-select deletion, configuration key conflicts, and layout subtype restrictions. UI labels are clarified and a Details FactBox replaces the Theme and Header/Footer Box.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit composite layout lookup helper
  - page header/footer theme assignment
  - page layout theme and header/footer
  - page report layout factbox
  - page report layout new dialog
  - page report layouts
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:08:08.512Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 28e273ddbd161a8d9ff56884f0604876585aa8a6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10134
    title: "microsoft/BCApps#10134: [Bug 646487] Composite layout: focus fix, body-layout gating, and setup UI"
    date: "2026-08-21"
    commit: 28e273ddbd161a8d9ff56884f0604876585aa8a6
    t: null
    quote: focus not moved to the newly created part.
links:
  learn: []
  objects:
    - object/codeunit/9665
    - object/page/9667
    - object/page/9670
    - object/page/9669
    - object/page/9662
    - object/page/9660
    - object/page/9666
    - object/page/9663
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10134
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10134
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-21T09:33:45Z"
author: v-mortenr
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 10
  additions: 1484
  deletions: 159
  al: 9
apps:
  - Base Application
objects_touched:
  - key: codeunit/9665
    page: codeunit/9665
    type: codeunit
    id: 9665
    name: Composite Layout Lookup Helper
    app: Base Application
    status: modified
  - key: page/9667
    page: page/9667
    type: page
    id: 9667
    name: Header/Footer Theme Assignment
    app: Base Application
    status: modified
  - key: page/9670
    page: page/9670
    type: page
    id: 9670
    name: Layout Theme and Header/Footer
    app: Base Application
    status: modified
  - key: page/9669
    page: page/9669
    type: page
    id: 9669
    name: Report Layout FactBox
    app: Base Application
    status: added
  - key: page/9662
    page: page/9662
    type: page
    id: 9662
    name: Report Layout New Dialog
    app: Base Application
    status: modified
  - key: page/9660
    page: page/9660
    type: page
    id: 9660
    name: Report Layouts
    app: Base Application
    status: modified
  - key: page/9666
    page: page/9666
    type: page
    id: 9666
    name: Report Theme and Header/Footer
    app: Base Application
    status: modified
  - key: page/9663
    page: page/9663
    type: page
    id: 9663
    name: Tenant Report Layout Cfg
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/W1/BaseApp/Foundation/Reporting/ThemeandHeaderFooterBox.Page.al
    status: removed
    reason: removed
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 646487
systems:
  - platform
  - development
quote: focus not moved to the newly created part.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10134 [Bug 646487] Composite layout: focus fix, body-layout gating, and setup UI

> Multiple bugs in composite layout management are fixed, including focus handling, multi-select deletion, configuration key conflicts, and layout subtype restrictions. UI labels are clarified and a Details FactBox replaces the Theme and Header/Footer Box.

[Pull request](https://github.com/microsoft/BCApps/pull/10134) · merged into `main` (BC30) on 2026-08-21 by v-mortenr · 10 files (+1484 -159), 9 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Focus now moves to the newly created theme or header/footer part
- Multi-select delete now removes all selected parts and skips out-of-box parts
- Configuration rows are keyed by the composite layout reference and created with a complete key, so they no longer collide or get rejected
- Theme and header/footer assignment is limited to body layouts in the UI
- A new Details FactBox replaces the Theme and Header/Footer Box, and the configuration page explains each row's scope in words
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 9665 "Composite Layout Lookup Helper"](../../objects/codeunit/9665.md), Base Application: modified
- [Page 9667 "Header/Footer Theme Assignment"](../../objects/page/9667.md), Base Application: modified
- [Page 9670 "Layout Theme and Header/Footer"](../../objects/page/9670.md), Base Application: modified
- [Page 9669 "Report Layout FactBox"](../../objects/page/9669.md), Base Application: added
- [Page 9662 "Report Layout New Dialog"](../../objects/page/9662.md), Base Application: modified
- [Page 9660 "Report Layouts"](../../objects/page/9660.md), Base Application: modified
- [Page 9666 "Report Theme and Header/Footer"](../../objects/page/9666.md), Base Application: modified
- [Page 9663 "Tenant Report Layout Cfg"](../../objects/page/9663.md), Base Application: modified
- `src/Layers/W1/BaseApp/Foundation/Reporting/ThemeandHeaderFooterBox.Page.al`: removed

## Context

- Work items: AB#646487
- Labels: Team: Integrations
- Systems: platform, development
- From the description: "focus not moved to the newly created part."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
