[SCM] ktp-contact-applet packaging branch, master, updated. debian/15.12.1-1-966-gde83ac5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:19:04 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-desktop-applets.git;a=commitdiff;h=4bd96b7

The following commit has been merged in the master branch:
commit 4bd96b7e9fd12d2d08b6236f88da638b5227691b
Author: Aleix Pol <aleixpol at kde.org>
Date:   Fri Jun 14 01:15:37 2013 +0200

    Fix hovering the delegate button
    
    This patch solves/workarounds a bug with PlasmaCore.ToolTip that would make
    it not to forward properly the hover event to the button thus not making it
    render properly on hover.
    
    REVIEW: 110948
---
 .../contents/ui/ConversationDelegateButton.qml               | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegateButton.qml b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegateButton.qml
index 619b19a..4033714 100644
--- a/chat/org.kde.ktp-chat/contents/ui/ConversationDelegateButton.qml
+++ b/chat/org.kde.ktp-chat/contents/ui/ConversationDelegateButton.qml
@@ -45,10 +45,14 @@ PlasmaComponents.ToolButton
 
         Behavior on opacity { SmoothedAnimation { duration: 250; velocity: 0.01 } }
     }
-    
-    PlasmaCore.ToolTip {
-      id: tooltip
-      target: icon
+    //The MouseArea is just a workaround because otherwise the ToolTip steals the mouse hover events
+    //and the button doesn't get painted properly
+    MouseArea {
+        PlasmaCore.ToolTip {
+            id: tooltip
+            target: parent
+        }
+        acceptedButtons: null
     }
     
     DnD.DropArea {

-- 
ktp-contact-applet packaging



More information about the pkg-kde-commits mailing list