mate-desktop / mate-control-center

Utilities to configure the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
68 stars 59 forks source link

Dual Monitor Setup #273

Open willysr opened 7 years ago

willysr commented 7 years ago

Hi,

one Slackware user reported this issue while testing MATE 1.17.0

I am using dual monitor setup. Going to the Display Settings and moving the monitors to the correct layout yields graphical artifacts

screenshot_displays

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/42964669-dual-monitor-setup?utm_campaign=plugin&utm_content=tracker%2F559197&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F559197&utm_medium=issues&utm_source=github).
willysr commented 7 years ago

@lukefromdc and @XRevan86 : can you test this on 3.18.x ?

lukefromdc commented 7 years ago

On a quick replacment of GTK 3.22 with GTK 3.18.0, restarting mate-settings-daemon, and opening display settings I did not get that graphical corruption. Window manager is compiz. A more extensive test is difficult because I have a lot of stuff installed that depends on GTK 3.20 or later

jsane-h8ms commented 5 years ago

Confirming. Is there any hope this will be fixed before GTK 3.24(+)?

raveit65 commented 5 years ago

I fixed this a while ago with https://github.com/mate-desktop/mate-control-center/commit/d06a1d3b8abc4d42c745ef1a3782473e3150ea9f which is released with mate-control-center-1.20.3. And for Blue/Green-Submarine and GreenLaguna themes with https://github.com/mate-desktop/mate-control-center/commit/d06a1d3b8abc4d42c745ef1a3782473e3150ea9f All other themes from us doesn't have this problem. Using our themes will give you a warranty that you don't have glitches like this ;)

Create ~/.config/gtk-3.0/gtk.css with that content.

foo-scroll-area:selected,
foo-scroll-area:selected:focus,
foo-scroll-area:selected:backdrop {
    background-color: @theme_selected_bg_color;
}

This will fix the problem with Adwaita theme and copies of them, and other themes.

PS: IHMO, this not a problem with gtk+ version

zaps166 commented 4 years ago

I think the paint area should be cleared in source code instead of doing it in CSS (https://github.com/mate-desktop/mate-control-center/commit/d06a1d3b8abc4d42c745ef1a3782473e3150ea9f). Why not draw a filled rect before painting to clear the area?

raveit65 commented 4 years ago

Pull request is welcome.

chmeeedalf commented 3 years ago

I see this on FreeBSD/powerpc64 as well, with MATE 1.24. Did not see it with MATE 1.22, but do not recall the GTK version at the time 1.22 was in use. Current gtk3 version in use, which sees the artifacts with MATE 1.24, is 3.24.23.

mbkma commented 2 years ago

I get the same issue with Debian testing, marco window manger and MATE 1.26. @lukefromdc do you get the issue if you switch from compiz to marco?

lukefromdc commented 2 years ago

No I do not, compiz or marco same results: dragging monitors works, no redraw issues

N0rbert commented 2 years ago

Seen this bug yesterday on Ubuntu MATE 22.04 LTS daily ISO installed on old Lenovo SL500 with old Intel:

$ lspci -k | grep VGA -A3
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
 Subsystem: Lenovo Mobile 4 Series Chipset Integrated Graphics Controller
 Kernel driver in use: i915
 Kernel modules: i915

with internal LCD and HDMI 1920x1200 monitor. Using default Adaptive Marco. Our downstream bug-report is at https://bugs.launchpad.net/ubuntu/+source/ubuntu-mate-meta/+bug/1934752 .