Merge branch 'main' of github.com:noctalia-dev/noctalia-shell

This commit is contained in:
LemmyCook 2025-09-04 10:16:39 -04:00
commit 2793863689
4 changed files with 8 additions and 4 deletions

View file

@ -200,11 +200,13 @@ Variants {
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
// Start avatar aligned with body (below the summary) // Start avatar aligned with body (below the summary)
anchors.topMargin: textContent.childrenRect.y anchors.topMargin: textContent.childrenRect.y
imagePath: Icons.iconFromName(model.appIcon, "application-x-executable") // Prefer notification-provided image (e.g., user avatar) then fall back to app icon
imagePath: (model.image && model.image !== "") ? model.image : Icons.iconFromName(
model.appIcon, "application-x-executable")
fallbackIcon: "apps" fallbackIcon: "apps"
borderColor: Color.transparent borderColor: Color.transparent
borderWidth: 0 borderWidth: 0
visible: imagePath && imagePath !== "" visible: (imagePath && imagePath !== "")
} }
Column { Column {

View file

@ -378,6 +378,7 @@ NBox {
if (targetWidget) { if (targetWidget) {
const targetCenterX = targetWidget.x + targetWidget.width / 2 const targetCenterX = targetWidget.x + targetWidget.width / 2
if (mouseX > targetCenterX) { if (mouseX > targetCenterX) {
// Mouse is to the right of target center, insert after // Mouse is to the right of target center, insert after
//Logger.log("BarSectionEditor", "Inserting after widget at index:", targetIndex) //Logger.log("BarSectionEditor", "Inserting after widget at index:", targetIndex)
} else { } else {

View file

@ -75,7 +75,7 @@ Singleton {
} }
fontsLoaded = true fontsLoaded = true
Logger.log("FontService", "Loaded", availableFonts.count, "fonts:" , monospaceFonts.count, "monospace,", Logger.log("FontService", "Loaded", availableFonts.count, "fonts:", monospaceFonts.count, "monospace,",
displayFonts.count, "display") displayFonts.count, "display")
} }

View file

@ -52,7 +52,8 @@ Loader {
property alias isClosing: hideTimer.running property alias isClosing: hideTimer.running
readonly property real barHeight: Math.round(Style.barHeight * scaling) readonly property real barHeight: Math.round(Style.barHeight * scaling)
readonly property bool barAtBottom: Settings.data.bar.position === "bottom" readonly property bool barAtBottom: Settings.data.bar.position === "bottom"
readonly property bool barIsVisible: (screen !== null) && (Settings.data.bar.monitors.includes(screen.name) || (Settings.data.bar.monitors.length === 0)) readonly property bool barIsVisible: (screen !== null) && (Settings.data.bar.monitors.includes(screen.name)
|| (Settings.data.bar.monitors.length === 0))
signal opened signal opened
signal closed signal closed