Jean-Sébastien Gosselin
Jean-Sébastien Gosselin
@ccordoba12 I've looked a little bit into it and I think this is going to be hard to fix. This is occurring in private methods on the Qt side and...
I agree this is irritating for me too. I will take a look at it again with a fresh eye and see if I can find a solution.
And if I can't find a solution, I think option 2 is the one I prefer.
For the sake of documenting this Issue, here are some relevant links: https://bugreports.qt.io/browse/QTBUG-2360 https://bugreports.qt.io/browse/QTBUG-45381 https://stackoverflow.com/questions/32211741/qtabbar-to-preserve-tab-position https://github.com/qutebrowser/qutebrowser/issues/3579
> I thought we could see if changing the text color would force a redraw. Yellow for modified, red for read only This would work and my vote goes to...
Ah well... of course it doesn't work for qdarkstyle. It seems like [QTabBar.setTabTextColor](https://doc.qt.io/qt-5/qtabbar.html#setTabTextColor) has no effect, probably because it is ignored by qdarkstyle during the painting.
> > Ah well... of course it doesn't work for qdarkstyle. > > It seems like [QTabBar.setTabTextColor](https://doc.qt.io/qt-5/qtabbar.html#setTabTextColor) has no effect, probably because it is ignored by qdarkstyle during the painting....
Excellent! thanks
> > Ok, found an article that explains this @jnsebgosselin > > https://wiki.qt.io/Dynamic_Properties_and_Stylesheets > > We could define a property like `'dirty'` or `'unsaved'` and add this custom stylesheet and...
> We should probably remove any Style that QdarkStyle applies to text color and see if that way we can still control the color with the method. I have try...