CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

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

Open bedge opened this issue 1 year ago • 1 comments

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

  • Application Version (for example 7.1.0) image

  • OS (for example Windows 11, Ubuntu 22.04, macOS Sonoma 14.4)

  • Desktop environment, window manager (if applicable)

bedge avatar Oct 12 '24 15:10 bedge

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:

  • selecting an item
  • selecting Show Content from context menu (or pressing F4)
  • selecting text/html in the dialog
  • pressing Del key to delete the format

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

hluk avatar Oct 16 '24 15:10 hluk