hluk / CopyQ

Clipboard manager with advanced features
GNU General Public License v3.0
8.69k stars 441 forks source link

Configured Editor Foreground color is ignored. Always #1c1116, almost black. #2859

Open bedge opened 1 week ago

bedge commented 1 week ago

Describe the bug The color chosen for the "Editor Foreground" is ignored, and defaults to #1c1116, which is basically black. This is a problem for anyone trying to use a dark theme as there is poor contrast with the "always" dark text: image

To Reproduce In preferences change the color of the Editor Foreground. Hit OK. Open a clipboard item in the editor. Note that whatever color is chosen in the preferences. It's always the same #1c1116/dark text in the editor:

image

As an example I chose the same color for fg and bg, which should make it invisible, but it's still using the same dark text: image

Expected behavior The Editor should reflect the configured text foreground color.

Version, OS and Environment

Windows 11

hluk commented 4 days ago

I cannot reproduce this. Can you test it in the latest version?

I think the problem could be that the item has a text/html format with text color set. You can remove the HTML format before editing the item by:

You can also disable storing HTML completely in Preferences - "Items" section, "Text" subsection, option "Save and display HTML".