Bug 408189 - Inactive window effects do not apply to tab text
Summary: Inactive window effects do not apply to tab text
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: tabbar (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-01 21:35 UTC by Nate Graham
Modified: 2021-10-24 14:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Tab bar text not fading (201.71 KB, image/gif)
2019-06-01 21:35 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
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.