mate-desktop / mate-applets

Applets for use with the MATE panel
http://www.mate-desktop.org
GNU General Public License v2.0
79 stars 67 forks source link

[GTK+3] Sticky Notes - Text selection not visible #260

Open oliver-joos opened 7 years ago

oliver-joos commented 7 years ago

Expected behaviour

Selected text should have another background color than unselected text.

Actual behaviour

If "Use color from the system theme" is disabled (for current note or globally), then a selected text looks exactly like unselected text.

Steps to reproduce the behaviour

  1. Add the StickyNotes applet to the panel at the bottom
  2. Create a new note by double-clicking the StickyNotes icon
  3. Enter some text and select a part of it
  4. Right-click titlebar of note or the StickyNotes icon and then click "Properties"
  5. Disable "Use color from the system theme"
  6. Repeat step 4

Package version

mate-applets 1.18.1

Linux Distribution

Linux Mint 18.2 MATE

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/47527027-gtk-3-sticky-notes-text-selection-not-visible?utm_campaign=plugin&utm_content=tracker%2F517519&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F517519&utm_medium=issues&utm_source=github).
oliver-joos commented 7 years ago

According to muktupavels the problem is that gtk_widget_override_background_color function overrides both backgrounds - text and selection. See https://github.com/mate-desktop/mate-applets/issues/236#issuecomment-317280304

monsta commented 7 years ago

Confirmed, though it looks like the fix would be bigger than the one for #236:

https://git.gnome.org/browse/gnome-applets/commit/?id=a48212eb3af54d64b75eeadfe29f84d66074c76a

rkw-inspiron commented 5 years ago

Hello I wonder if there is any activity with this?

lukefromdc commented 5 years ago

Still valid here on Debian Unstable with mate 1.21 from git master.

rkw-inspiron commented 5 years ago

I don't know how to program but I want to fix it

lukefromdc commented 1 year ago

As of mate-applets 1.27 from git master this problem is gone: Stickynotes

lukefromdc commented 1 year ago

Closing, we can reopen this if anyone reports they still get this with 1.26 or later.