mate-desktop / mate-themes

Official themes for the MATE desktop
https://mate-desktop.org
GNU Lesser General Public License v2.1
75 stars 45 forks source link

Some themes show artifacts in window title bar when title length does not fit window width #308

Open mesov opened 1 year ago

mesov commented 1 year ago

Expected behavior

No artifact should appear at both ends of the window title area, whether it fits in the window title bar or whether title text needs to be truncated.

Actual behaviour

Artefacts appear at both ends of the window title: small squares or rectangles of about the same height as the title text. If Marco is used without a compositor, they are black, if a compositor is used, they are transparent.

Green-submarine

TraditionalOK

TraditionalOK_unfocused

Steps to reproduce

Resize a window until its title text has to be truncated to fit the window width. The MATE themes where the artifacts show are Blue-Submarine, ContrastHigh, Green-Submarine, HighContrastInverse, TraditionalGreen, TraditionalOK, YaruGreen and YaruOK. It is not happening with the BlackMATE, BlueMenta, GreenLaguna and Menta themes, which seem to use a different method to clip titles.

MATE general version

1.26.0

Package version

marco 1.26.0 mate-themes 3.22.23

Linux Distribution

Trisquel 11 Ubuntu 22.04.3

Link to bugreport of your Distribution

https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/108 https://bugs.launchpad.net/ubuntu-mate/+bug/1994170

Issue report against Marco

https://github.com/mate-desktop/marco/issues/595

mesov commented 1 year ago

UPDATE: I was able reproduce this with Intel integrated graphics only.

With a spare GeForce 1050-ti using llvmpipe, with or without compositor, whichever MATE theme is used, the title is correctly truncated with no artifact visible.

raveit65 commented 1 year ago

So can we close the issue if it is graphic card related?

mesov commented 1 year ago

It appears to be a combination of factors involving Intel integrated graphics, Marco, and some MATE themes. More than that I cannot tell, sorry :)

Maybe Marco is the proper place to report? I'll leave it to you.

raveit65 commented 1 year ago

As nvidia driver doesn't cause the issue with marco it's definetly a problem with intel graphic driver. Such glitches are mostly caused by graphic drivers. You should open a report against intel driver from you distro.

mesov commented 1 year ago

You should open a report against intel driver from you distro.

I will do that, thank you.

mesov commented 12 months ago

@raveit65: note that I cannot reproduce this on xfwm4 with the same Intel graphics. See also: https://github.com/mate-desktop/marco/issues/595#issuecomment-595081846 about Cinnamon/Muffin.

raveit65 commented 11 months ago

I am using AMD integrated graphics and i can't reproduce your issue. Without reproducing i can't help. Beside from that i don't think that it isn't a theme issue, reopened so you feels better.......

mesov commented 11 months ago

Yes, much better, thank you.

Let us hope someone will be able to address this competently.

mesov commented 9 months ago

This has now been reported on Ubuntu 22.04 with AMD Radeon: https://github.com/mate-desktop/marco/issues/595#issuecomment-1803503087.