diff --git a/src/python/image_provider.py b/src/python/image_provider.py index c3394f1f..ebc54935 100644 --- a/src/python/image_provider.py +++ b/src/python/image_provider.py @@ -112,8 +112,6 @@ class ImageProvider: def get(self, image_id: str, requested_size: Size) -> ImageData: - print("Get image:", image_id, "with size", requested_size) - width = 128 if requested_size[0] < 1 else requested_size[0] height = width if requested_size[1] < 1 else requested_size[1] thumb = Thumbnail(self, image_id, width, height) diff --git a/src/qml/Base/HAvatar.qml b/src/qml/Base/HAvatar.qml index aefe07a5..aa0ed438 100644 --- a/src/qml/Base/HAvatar.qml +++ b/src/qml/Base/HAvatar.qml @@ -52,6 +52,7 @@ Rectangle { id: imageMouseArea anchors.fill: parent hoverEnabled: true + propagateComposedEvents: true } HToolTip { diff --git a/src/qml/Base/HToolTip.qml b/src/qml/Base/HToolTip.qml index cc729aed..833c62f7 100644 --- a/src/qml/Base/HToolTip.qml +++ b/src/qml/Base/HToolTip.qml @@ -15,4 +15,10 @@ ToolTip { exit: Transition { HNumberAnimation { property: "opacity"; from: 1.0; to: 0.0 } } + + MouseArea { + anchors.fill: parent + propagateComposedEvents: true + onClicked: { toolTip.close(); mouse.accepted = false } + } }