diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 7f22dc694..edc5523ba 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -41,6 +41,7 @@ Changed a performance and stability improvement. - The `url.incdec_segments` option now also can take `port` as possible segment. - QtWebEngine: `:view-source` now uses Chromium's `view-source:` scheme. +- Tabs now show their full title as tooltip. Fixed ~~~~~ diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py index 28cfac0fb..ac3a34581 100644 --- a/qutebrowser/mainwindow/tabwidget.py +++ b/qutebrowser/mainwindow/tabwidget.py @@ -148,7 +148,10 @@ class TabWidget(QTabWidget): fields['index'] = idx + 1 title = '' if fmt is None else fmt.format(**fields) - self.tabBar().setTabText(idx, title) + tabbar = self.tabBar() + + tabbar.setTabText(idx, title) + tabbar.setTabToolTip(idx, title) def get_tab_fields(self, idx): """Get the tab field data."""