Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.18.4] Clock applet does not have transparency with transparent background for panel #670

Closed
epgfm opened this issue Oct 12, 2017 · 6 comments

Comments

@epgfm
Copy link

epgfm commented Oct 12, 2017

Expected behaviour

The clock applet should have a transparent background when the panel background is transparent

Actual behaviour

screenshot at 2017-10-12 11-06-33

Steps to reproduce the behaviour

Install Ubuntu MATE 17.10 Beta 2 and set a transparent background color for the top panel in the default layout.

MATE general version

1.18

Package version

1.18.4

mate-panel:
Installed: 1.18.4-2
Candidate: 1.18.4-2
Version table:
*** 1.18.4-2 500
500 http://archive.ubuntu.com/ubuntu artful/universe amd64 Packages
100 /var/lib/dpkg/status

Linux Distribution

Ubuntu MATE 17.10

Link to downstream report of your Distribution

https://bugs.launchpad.net/ubuntu/+source/mate-panel/+bug/1723066


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@monsta
Copy link
Contributor

monsta commented Oct 12, 2017

Probably a theme issue, because it works with TraditionalGreen for me.

@lukefromdc
Copy link
Member

lukefromdc commented Oct 12, 2017

Also works (edit: meaning transparency works fine) with UbuntuStudio_Legacy(my theme), with top or bottom panel. Which theme are you using? Any theme drawing a background on a widget that does not get the .mate-custom-panel-background and accepts a background (such as the button) will cause this, and if this was not so you would lose the tasklist button backgrounds on setting a custom panel background.

@epgfm
Copy link
Author

epgfm commented Oct 12, 2017

You guys are correct, this is a problem with ubuntu-mate-artwork.

Edit: to answer @lukefromdc 's question, the themes are Ambiant-MATE and Ambiant-MATE Dark

@epgfm epgfm closed this as completed Oct 12, 2017
@raveit65
Copy link
Member

LOL, this is a collateral damage by maintainer whish.
ubuntu-mate/ubuntu-mate-artwork#2
ubuntu-mate/ubuntu-mate-artwork#14
ubuntu-mate/ubuntu-mate-artwork@be552f9
We wanted to make the clock-applet similar to main menubar.
For this reason i set up a background on
.mate-panel-menu-bar #PanelApplet #clock-applet-button.flat.toggle {}

@monsta
Copy link
Contributor

monsta commented Oct 12, 2017

@flexiondotorg: you might want to look at this...

@lukefromdc
Copy link
Member

I don't see any easy way to fix this in those themes, as the menubar can styled by .mate-panel-menu-bar and this is replaced by .mate-custom-panel-background when a custom background is set, but the clock button is not inside any widget that gets .mate-custom-panel-background, nor does any widget within it get .mate-custom-panel-background.

Normally the menu bar is themed transparent to match the background on the rest of the panel, and I don't see any way to set the clock button and the main menubar to something different than the panel background, match eatch other, and yet have the clock button background get out of the way for a custom background with our current code.

Normally they match each other by being transparent and showing the background of the panel itself, and keeping any background not intended to be retained when a custom panel background is in use off the applet widgets is necessary to support custom panel backgrounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants