Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.1, 6.5.2
-
-
3965d52ad (dev), ec4b9503e (6.6), 73d8115ee (6.5)
Description
The very simple testcase attached (QTabWidget, 2 tabs, the first one with a very short title, the second one with a longer title, and setCurrentIndex(1) before show) shows only one tab instead of two. This worked in 6.5.0 and before.
The regression comes from commit e851d4c06154bf02b23030ff1f7024a8b9edf874 "QTabBar: don't scroll when laying out the tabs"
If I revert aef2486775497903a1d5 and e851d4c06154bf02 in my v6.5.1 build, it works again.
Attachments
Issue Links
- duplicates
-
QTBUG-114204 QTabBar tabs above current index not visible if current index is set before the tabbar is drawn
-
- Closed
-
- is duplicated by
-
QTBUG-115137 QTabBar: Adding button to tab and making tab current "fake scroll" tab bar
-
- Closed
-
For Gerrit Dashboard: QTBUG-115109 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
497170,2 | QTabBar: don't make current tab visible while tab bar is invisible | dev | qt/qtbase | Status: MERGED | +2 | 0 |
497235,2 | QTabBar: don't make current tab visible while tab bar is invisible | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
497236,2 | QTabBar: don't make current tab visible while tab bar is invisible | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |