Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
None
-
95c9a0376e6e27e46ea5ad67349af0089bd2f981
Description
See the summary – basically a movable QTabBar will create a dummy widget to animate the tab that it's being dragged. That dummy widget gets rendered using non-hidpi factors resulting in blurry icons and text. Relevant code from qtabbar.cpp:
QPixmap grabImage(grabRect.size()); grabImage.fill(Qt::transparent); QStylePainter p(&grabImage, q); p.initFrom(q); QStyleOptionTab tab; q->initStyleOption(&tab, pressedIndex); tab.rect.moveTopLeft(QPoint(taboverlap, 0)); p.drawControl(QStyle::CE_TabBarTab, tab); p.end();
Perhaps some devicePixelRatio call is missing?