-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Marco with compositor disabled and Marco+Compton miss windows borders with some themes #533
Comments
This might be an issue in compton and not marco, I don't have compton installed (just marco and compiz-reloaded plus ICEWM and metacity available on my setup) and I have not had this happen. Note that the screenshot shows a known mate-screenshot bug |
@lukefromdc I've tried to use pure Marco, but the borders are still missing, only Marco+Compositing works. Then I've tried to change themes and seems like only Mint-Y/Mint-Y-Dark/Mint-Y-Darker are affected. So this is theme related. Where should I report it? |
We do not control those themes, probably it's a problem with their metacity themes. Report it to Linuxmint's bugtracker. |
Thank you! |
@lukefromdc: isn't mate-desktop/mate-themes#249 related to this...? |
@monsta JFYI I've opened issue in mint-themes: linuxmint/mint-themes#224 |
That I do not know, I don't have the Mint themes installed, so I don't know what those themes are doing wrong. |
Yes, the problem is that these fixes apparently don't work w/o Marco's compositing... |
Any way marco could (EDIT: be made to) explicity check for compton and then treat that as a compositing case? I've never used it (I have compiz here) but it's supposed to work with many window managers. |
@lukefromdc - huh, never actually thought of that, but the compositor code is setup in a plugin-like architecture. Xrender is just the only plugin, but no reason why we couldn't add others... Good idea, will give it some thought :) |
That still leaves one case where Marco is without any compositor at all... |
How do those themes behave with marco set not to use compositing? BlackMATE (border width 1px) works fine and renders the borders, though it is very touchy aligning the mouse with those borders to resize (thus the BlackMATE-border variation that fixes that). |
Same as reported here. No resize cursor is shown at all. Windows can be resized only via their titlebar. You can check it with Arc theme, for example. |
I guess it started with metacity-theme-3 support addition. |
Just tested with Metacity - apparently it adds 1px border to borderless (?) windows with Arc theme, so it's possible to resize them if I turn Metacity's compositor off. |
OK, that makes it clear what is going on: those themes set a zero-width border, which with the noncompositing codepath in marco gives a zero px width the mouse must be aligned with, therefore no possible alignment. Finding metacity's commit to add 1px to borderless windows and applying it so it only is used when marco's internal compositing is not used would fix this, as would modifying the offending themes (were they meant for Cinnamon maybe?) to include a border. |
I don't think Arc theme does that for Cinnamon; probably just a design decision. Anyway, we can't control all such themes out there, so we'll have to use a workaround. Either we do the same as Metacity, or try to load only metacity-theme-2 when compositor is off (no idea if it's technically possible though). |
Expected behaviour
Windows have borders and can be resized with mouse.
Actual behaviour
Window borders are missing with marco + compton, available with marco + compositing.
Screenshots of window (alt+prtscn) are attached.
compton screenshot shows empty/transparent area where compositing screenshot shows underlying windows.
Steps to reproduce the behaviour
Upgrade 19.0 -> 19.1 -> 19.2
MATE general version
Host: dmk-mint Kernel: 4.15.0-55-generic x86_64 bits: 64 compiler: gcc v: 7.4.0
Desktop: MATE 1.22.0 wm: marco dm: LightDM Distro: Linux Mint 19.2 Tina
base: Ubuntu 18.04 bionic
Package version
Package: marco
Version: 1.22.2-1+tina
Linux Distribution
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=19.2
DISTRIB_CODENAME=tina
DISTRIB_DESCRIPTION="Linux Mint 19.2 Tina"
Link to downstream report of your Distribution
The text was updated successfully, but these errors were encountered: