Bug 408189

Summary: Inactive window effects do not apply to tab text
Product: [Applications] konsole Reporter: Nate Graham <nate>
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Tab bar text not fading

Description Nate Graham 2019-06-01 21:35:36 UTC
Created attachment 120484 [details]
Tab bar text not fading

STEPS TO REPRODUCE
1. Go to System Settings > Colors
2. Edit the current color scheme
3. Check "Apply Inactive window effects"
4. Go to the "inactive" tab, change "Contrast" to "Fade" and move the slider a ways to the right
5. Open Konsole and add more tabs


OBSERVED RESULT
The tabs' text does not fade when the window becomes inactive


EXPECTED RESULT
The text should fade


ADDITIONAL INFORMATION
This is a blocker for https://phabricator.kde.org/T10201

The fading effect works with standard Qt tab bars in Dolphin and Okular, so I think it's an issue specific to Konsole rather than a generic issue with applying the effect to a QTabBar.


SOFTWARE/OS VERSIONS
Everything from git master
Comment 1 Christoph Feck 2019-06-25 14:20:17 UTC
This is probably caused by the CSS feature (which was used to colorize tab texts depending on state).
Comment 2 Nate Graham 2021-03-12 22:27:58 UTC
Yep, you're right: it's the custom stylesheet for the tabs, which breaks various other things too, such as re-drawing dynamically in response to color and font changes.
Comment 3 Nate Graham 2021-10-24 14:12:39 UTC
Fixed by porting away from the use of a Qt stylesheet.