Skip to content

Commit

Permalink
Merge pull request #7618 from nextcloud/backport/7566/stable-3.15
Browse files Browse the repository at this point in the history
[stable-3.15] gui/tray: Fix tray window corners
  • Loading branch information
mgallien authored Dec 9, 2024
2 parents d9c2a92 + bd203fe commit dbd035f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/gui/tray/MainWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ ApplicationWindow {
width: Systray.useNormalWindow ? Style.trayWindowHeight : Style.trayWindowWidth
height: Style.trayWindowHeight
flags: Systray.useNormalWindow ? Qt.Window : Qt.Dialog | Qt.FramelessWindowHint
color: "transparent"

readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth

Expand Down Expand Up @@ -63,7 +64,7 @@ ApplicationWindow {
radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius
border.width: Style.trayWindowBorderWidth
border.color: palette.dark
color: palette.base
color: palette.window
}

Connections {
Expand Down Expand Up @@ -221,7 +222,7 @@ ApplicationWindow {
}
}

Item {
Rectangle {
id: trayWindowMainItem

property bool isUnifiedSearchActive: unifiedSearchResultsListViewSkeletonLoader.active
Expand All @@ -234,6 +235,9 @@ ApplicationWindow {
anchors.margins: Style.trayWindowBorderWidth
clip: true

radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius
color: palette.base

Accessible.role: Accessible.Grouping
Accessible.name: qsTr("Nextcloud desktop main dialog")

Expand Down

0 comments on commit dbd035f

Please sign in to comment.