@kovid: this seems to be caused by the adjustment for dark theme when painting highlighted (hovered) tag browser labels done in gui2.library.views.paint_text at line 70. According to my experiments (on Windows) the painter must have a correct dark mode pen set if the item is not being highlighted. If the pen is not set then Qt seems to use a black pen, which is replaced later the correct color.
I pushed a PR with my fix. I freely admit that I might have broken something, but I don't see anything. It is also possible that the non-hover pen should be something other than Qt.GlobalColor.white. Finally, it is possible that this should be done in a style sheet somewhere instead of in code.
|