Hi,

by finishing my coffee, I added a few lines to the tabpreview show.
It just fades the tabpreview in with windowOpacity property.

Fading out is not done, since there you usually want to see things behind 
asap.

The patch is rather simple, it does not really affect if you running without 
compositor, since it show then the preview immediately.

Good 0.5 release day!

Johannes
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 2d29032..c366f72 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -189,6 +189,11 @@ void TabBar::showTabPreview()
 
     QPoint pos(tabRect(m_currentTabPreviewIndex).x() , tabRect(m_currentTabPreviewIndex).y() + tabRect(m_currentTabPreviewIndex).height());
     m_previewPopup.data()->show(mapToGlobal(pos));
+
+    QPropertyAnimation *anim = new QPropertyAnimation(m_previewPopup.data(), "windowOpacity", this);
+    anim->setStartValue(0.0);
+    anim->setEndValue(1.0);
+    anim->start(QAbstractAnimation::DeleteWhenStopped);
 }
 
 
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to