Add notch opacity and colour; open plugin panels from the notch strip

- Settings → Notch → Look: opacity (0% glass to 100% solid) and colour
  for the notch, the open notch and the notch-mode launcher.
- Bar popouts and plugin panels add the open notch's screen offset, so
  tooltips and panels from the strip land under their module.
- Opening a plugin panel keeps the notch open; the notch hands keyboard
  focus to the panel and takes it back when it closes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-11-12 17:18:58 +01:00
1 parent 73de4b06a8
commit e4ca1f5d9c
12 files changed
+98 -14

No files matched your search

@@ -83,7 +83,10 @@ PanelWindow {
readonly property point anchorScreenPos: {
root.open
if (!anchorItem || !anchorWindow) return Qt.point(0, 0)
return anchorItem.mapToItem(anchorWindow.contentItem, 0, 0)
const p = anchorItem.mapToItem(anchorWindow.contentItem, 0, 0)
// Centred layers (the open notch) report their screen offset.
const offset = anchorWindow.screenOffsetX !== undefined ? anchorWindow.screenOffsetX : 0
return Qt.point(p.x + offset, p.y)
}
readonly property real anchorW: anchorItem ? anchorItem.width : 0
readonly property real anchorH: anchorItem ? anchorItem.height : 0