Preferences/About: draw links with a more readable color, improve defs_urls usage#3464
Conversation
|
Sure the link color issue is no bug on our side but (considering myself an advanced user) I couldn't fix it with OS appearance settings or Qt5 Settings so I guess this hack is okay. |
b07dd98 to
610e65e
Compare
|
WIP again. while trying to understand the clazy warnings I decided to move that link formatting utility to new src/util/linkformatter |
b61789c to
fa5dd5f
Compare
|
Okay, done. |
fa5dd5f to
6fe4b17
Compare
…concentrate controller support links, make more use of defs_url.h
6fe4b17 to
13caab2
Compare
|
@Holzhaus Can you check how that looks like with i3wm? |
|
|
|
Waiting for CI. |
all greeeen :) |
|
I'm not sure how I made a0e7911 slip in here... whoopsy! |
|
Regression? https://bugs.launchpad.net/mixxx/+bug/1910906 |
fix the regression from #3464 and merging 2.3 to main
This aims to guarantee readbility of hyperlinks and file links in Preferences and About.
I added some helpers to blend the palette's text color and the link text color. This should give readable links no matter if the user's theme has the link color defined or not.
In the end the color fix was just a very quick fix but I stumbled upon some inconveniences with how links are created.
new class
LinkFormatter,QString coloredLinkStringNote: this moves some tr strings from ui files to cpp, so we may again need to push the tr sources to transifex.
Previously, I could hardly see the controller file links with my (official) dark OS theme. It seems there's no adequate color defined for links and some Qt default is picked (blue):

Now, they're drawn with a blend of the palette's text color / link color:
