diff --git a/debian/changelog b/debian/changelog index 3930ce96191ef1909c7193351884edbd3bedefdc..40b29a9cd6a236885ab1a94f3a419d32fae2b70d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +ukui-menu (4.10.2.7-ok0) nile; urgency=medium + + * Issue: + - I9SG56: 部分位置悬浮不现实缩略内容 + * 其他改动:无 + * 其他改动影响域:无 + + -- youdiansaodongxi Wed, 17 Jul 2024 14:14:29 +0800 + ukui-menu (4.10.2.6-ok1) nile; urgency=medium * Issue:无 diff --git a/qml/AppUI/AppLabelPage.qml b/qml/AppUI/AppLabelPage.qml index 0be89a5de03d144a6e3250560524d19f68eb0c5a..d6e0297b1a7f20b04bc5c8f704c58ea124e214ef 100644 --- a/qml/AppUI/AppLabelPage.qml +++ b/qml/AppUI/AppLabelPage.qml @@ -43,6 +43,13 @@ GridView { focus: true hoverEnabled: true + UkuiItems.Tooltip { + anchors.fill: parent + mainText: modelData.label + posFollowCursor: true + active: labelArea.showTooltip + } + onClicked: { GridView.view.labelSelected(modelData.label); GridView.view.currentIndex = model.index @@ -55,6 +62,9 @@ GridView { } UkuiItems.StyleBackground { + id: labelArea + property bool showTooltip: labelText.visible ? labelText.truncated : false + anchors.fill: parent radius: Platform.Theme.normalRadius @@ -66,6 +76,7 @@ GridView { borderColor: Platform.Theme.Highlight UkuiItems.StyleText { + id: labelText anchors.fill: parent visible: modelData.type === LabelItem.Text text: modelData.display diff --git a/qml/AppUI/FullScreenAppItem.qml b/qml/AppUI/FullScreenAppItem.qml index 4aa1b71418814454c9795f7c436bb2dcea74db41..6c35bd8f8849a9a80987c388a27d8cb5b1253ffd 100644 --- a/qml/AppUI/FullScreenAppItem.qml +++ b/qml/AppUI/FullScreenAppItem.qml @@ -33,6 +33,13 @@ MouseArea { hoverEnabled: true + UkuiItems.Tooltip { + anchors.fill: parent + mainText: text.text + posFollowCursor: true + active: text.truncated + } + UkuiItems.StyleBackground { id: styleBackground anchors.fill: parent