mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
184 stars 115 forks source link

Windows List Buttons are not flasing when there is a notification. #469

Open danielbgto opened 8 years ago

danielbgto commented 8 years ago

Windows List Buttons are not flashing when there is a notification (a background app wants to inform for an event - like pidgin message received, skype and etc.). If the gtk3 theme is using a bold text for the windows buttons, there is practically no notification. Usually is blue or other colour telling that something happened. Tested on F24 with latest packages from your repo. Tested also with different themes - the same behaviour. Both platforms i686 and x86_64.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36773899-windows-list-buttons-are-not-flasing-when-there-is-a-notification?utm_campaign=plugin&utm_content=tracker%2F314880&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F314880&utm_medium=issues&utm_source=github).
raveit65 commented 8 years ago

All mate themes don't use bold fonts for windows-list-applet. Looks like a theme issue with your theme.

danielbgto commented 8 years ago

Hi! Thank you for your reply! I'm uploading a screenshot below and there you may see "Mate Terminal" is with bold text and should "flashing". Like on that example: yo09q The problem is that there is no flashing - only the text became bold with no any additional colour signs. screenshot at 2016-08-17 12-40-51

raveit65 commented 8 years ago

I know what you mean, maybe that's droped by gtk+3? But which theme use bold fonts there :)

danielbgto commented 8 years ago

Non of the official ones :) Dropped by gtk+3? That's not good idea from the team of the gtk3+ but make sense for them cause GNOME 3 is not using such a type of notifications. It died with GNOME 2.

Is there a way to recover that functionality because I'm thinking that many MATE lovers will miss it when MATE GTK+3 only builds became official with Fedora 25 (maybe 26) and Ubuntu MATE 16.10.

I did a customisation for one theme to make the text bold by default because of the readability and the my "mess" started. :)

quite commented 7 years ago

I also have an issue with this. I gather that it entirely depends on the theme then? I'm using arc-theme https://github.com/horst3180/arc-theme and the only difference when a window list item has a notification (an urgency hint on the window (client), right?) is that the text is bold -- not much of a notification. What would be a proper selector to use in the gtk.css to affect this?

lukefromdc commented 7 years ago

tasklist-button:checked is the active button, .mate-panel-menu-bar button:checked will also identify it. For the other windows, #tasklist-button or .mate-panel-menu-bar button will theme them. They will accept the usual background colors or images and if not themed will follow the default for buttons.

The focussed window is normally the active ( :checked) one, not sure the selector for one with a notification. You can use Gtkinspector to find out if you can get a window to trigger a notification, to point it at the panel, right.click the handle or any button in the window list to bring up a menu, then fire up GtkInspector with ctrl-shift-d and use its widget selector to pick the button in question.