[PATCH] kcms/feedback: remove little hover icons
authorNate Graham <nate@kde.org>
Fri, 20 Jun 2025 14:38:03 +0000 (08:38 -0600)
committerAurélien COUDERC <coucouf@debian.org>
Mon, 21 Jul 2025 16:21:10 +0000 (18:21 +0200)
These icons have an unclear purpose since they have no text, and the
same icons are not repeated elsewhere in the KCM's UI to provide some
clue as to their meaning or purpose. They only appear on hover and
can't be accessed on touch at all; let's just remove them to prevent
user confusion.

The backend code providing icons in the model is preserved in case we
ever want to do something else with icons in the future.

BUG: 505761
FIXED-IN: 6.4.1

(cherry picked from commit 3c277146c4ec44cde54988dcd6c70b17442ad5e9)

Co-authored-by: Nate Graham <nate@kde.org>
Gbp-Pq: Name upstream_a4e153b3_kcms-feedback-remove-little-hover-icons.patch

kcms/feedback/ui/main.qml

index bb565169ead46ca298d4e4b5ef26c503db8a209c..839b8ed3ad484995a3a984d7f84b159f03c68b19 100644 (file)
@@ -145,27 +145,6 @@ SimpleKCM {
                         text: "· " + modelData.description
                         textFormat: Text.PlainText
                         Layout.fillWidth: true
-
-                        MouseArea {
-                            anchors.fill: parent
-                            hoverEnabled: true
-                            QQC2.ToolTip {
-                                width: iconsLayout.implicitWidth + Kirigami.Units.largeSpacing * 2
-                                height: iconsLayout.implicitHeight + Kirigami.Units.smallSpacing * 2
-                                visible: parent.containsMouse
-                                RowLayout {
-                                    id: iconsLayout
-                                    Repeater {
-                                        model: modelData.icons
-                                        delegate: Kirigami.Icon {
-                                            implicitHeight: Kirigami.Units.iconSizes.medium
-                                            implicitWidth: Kirigami.Units.iconSizes.medium
-                                            source: modelData
-                                        }
-                                    }
-                                }
-                            }
-                        }
                     }
                 }
             }