Description: change action when mouse move on desktop icon 
Author: Loongson <service@loongnix.cn>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2026-06-05

--- plasma-desktop-6.3.6.orig/containments/desktop/package/contents/ui/FolderItemDelegate.qml
+++ plasma-desktop-6.3.6/containments/desktop/package/contents/ui/FolderItemDelegate.qml
@@ -163,6 +163,7 @@ Item {
                 id: toolTip
 
                 active: (Plasmoid.configuration.toolTips || label.truncated)
+			&& !model.selected	
                         && popupDialog === null
                         && !model.blank
                 interactive: false
@@ -171,14 +172,9 @@ Item {
                 onContainsMouseChanged:  {
                     if (containsMouse && !model.blank) {
                         if (toolTip.active) {
-                            toolTip.icon = model.decoration;
+                            toolTip.icon = "";
                             toolTip.mainText = model.display;
-
-                            if (model.size !== undefined) {
-                                toolTip.subText = model.type + "\n" + model.size;
-                            } else {
-                                toolTip.subText = model.type;
-                            }
+                            toolTip.subText = "";
                         }
 
                         main.GridView.view.hoveredItem = main;
@@ -321,7 +317,7 @@ Item {
                                 target: label
                                 anchors.topMargin: Kirigami.Units.smallSpacing
                                 width: parent.width - Kirigami.Units.smallSpacing
-                                maximumLineCount: Plasmoid.configuration.textLines
+				maximumLineCount: model.selected ? Infinity : Plasmoid.configuration.textLines
                                 horizontalAlignment: Text.AlignHCenter
                             }
                         },
