From e5938f7e82f5099da7beee6a48d74769e6b2c413 Mon Sep 17 00:00:00 2001 From: IChooseYou Date: Fri, 6 Mar 2026 09:45:23 -0700 Subject: [PATCH] fix: enable hover on dock tab bars via WA_Hover attribute --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 4f37574..7509157 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1733,6 +1733,7 @@ void MainWindow::setupDockTabBars() { // No stylesheet — painting handled by MenuBarStyle tabBar->setStyleSheet(QString()); + tabBar->setAttribute(Qt::WA_Hover, true); tabBar->setElideMode(Qt::ElideNone); tabBar->setExpanding(false); // Set editor font so tab width sizing matches our label painting @@ -2316,6 +2317,7 @@ void MainWindow::applyTheme(const Theme& theme) { if (tabBar->parent() == this) { // No stylesheet — painting handled by MenuBarStyle (CE_TabBarTabShape/Label) tabBar->setStyleSheet(QString()); + tabBar->setAttribute(Qt::WA_Hover, true); tabBar->setElideMode(Qt::ElideNone); tabBar->setExpanding(false); // Set editor font so tab width sizing matches our label painting