Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed inactive tab text with Qt6 #1116

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Fixed inactive tab text with Qt6 #1116

merged 1 commit into from
Apr 29, 2024

Conversation

tsujan
Copy link
Member

@tsujan tsujan commented Apr 25, 2024

Due to a change (or bug?) in Qt6, using a stylesheet for setting the font of active/inactive tabs doesn't work as it did with Qt5.

Here, QStyle is used directly, which is always the best approach because stylesheets can interfere with the widget style in bad ways.

Fixes #1112

Due to a change (or bug?) in Qt6, using a stylesheet for setting the font of active/inactive tabs doesn't work as it did with Qt5.

Here, `QStyle` is used directly, which is always the best approach because stylesheets can interfere with the widget style in bad ways.

Fixes #1112
@tsujan tsujan requested a review from yan12125 April 25, 2024 18:50
@tsujan
Copy link
Member Author

tsujan commented Apr 25, 2024

@yan12125
This is needed before releasing Qt6 QTerminal.

@luis-pereira
Copy link
Member

Works as described with 6.6.2.

@yan12125
Copy link
Member

Thanks! Although I don't fully understand QStyle, I trust your expertise.

@yan12125 yan12125 merged commit adb8db4 into master Apr 29, 2024
0 of 2 checks passed
@yan12125 yan12125 deleted the fix_tab_font branch April 29, 2024 05:24
@tsujan
Copy link
Member Author

tsujan commented Apr 29, 2024

@yan12125,
Any estimation about when QTerminal 2.0.0 can be released? I haven't found any performance issue so far, but it may be better to silence compilation warnings before releasing.

@yan12125
Copy link
Member

I have some local changes for minor fixes and improvements, which should be finished in one or two days. Besides that, I'm waiting for #1110 and lxqt/qtermwidget#540.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in Qt6: inactive tab may have elided text
3 participants