#929245 Caja screen glitches in multihead setups

Package:
caja
Source:
caja
Description:
file manager for the MATE desktop
Submitter:
Kathryn Tolsen
Date:
2022-02-23 01:21:03 UTC
Severity:
normal
#929245#5
Date:
2019-05-19 21:29:29 UTC
From:
To:
Upon changing displays, such as plugging in a VGA or miniDP->HDMI display
to my laptop, depending on the layout, some portion of one of my screens
will become glitched in that when a window is minimized or moved so that
the caja desktop is visible, the desktop shows what used to be there in the
area that is having the issue.. this does not affect or glitch any other
programs or windows even caja filemanager windows, its only the caja
desktop which is having draw issues.

The issue is resolvable by changing the desktop background which redraws
the desktop, but it reoccurs every time a display is added or removed when
there are multiple displays present. I use a Lenovo Thinkpad T440 with two
additional displays (no dock).

Basically it is as though caja is not redrawing a portion of the desktop
when it becomes visible.

I don't know if this will be easily reproducible or not, as it may be
specific to my hardware somehow.

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/debian-security buster/updates/main i386
Packages
     release o=Debian,a=testing,n=buster,l=Debian-Security,c=main,b=i386
     origin security.debian.org
 500 http://security.debian.org/debian-security buster/updates/main amd64
Packages
     release o=Debian,a=testing,n=buster,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://deb.debian.org/debian buster/contrib i386 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=contrib,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/contrib amd64 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/non-free i386 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=non-free,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/non-free amd64 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/main i386 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=main,b=i386
     origin deb.debian.org
 500 http://deb.debian.org/debian buster/main amd64 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:

00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller
[8086:0a04] (rev 0b)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT
Integrated Graphics Controller [8086:0a16] (rev 0b)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio
Controller [8086:0a0c] (rev 0b)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC
[8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0
[8086:9c3a] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection
I218-LM [8086:155a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller
[8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port
6 [8086:9c1a] (rev e4)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port
3 [8086:9c14] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1
[8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller
[8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller
1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller
[8086:9c22] (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227
PCI Express Card Reader [10ec:5227] (rev 01)
03:00.0 Network controller [0280]: Intel Corporation Wireless 7260
[8086:08b2] (rev 83)

#929245#10
Date:
2019-05-21 08:42:21 UTC
From:
To:
HI Kathryn,

Can you please confirm that this is a variant of upstream bug #945 [1]?

Thanks,
Mike

[1] https://github.com/mate-desktop/caja/issues/945

#929245#15
Date:
2019-05-22 06:49:38 UTC
From:
To:
At first glance it appears not as that issue is related to a highly obscure
remote desktop setup my issue is local on xorg and its not merely failing
to redraw on adding my two ext displays its not drawing desktop at all in
this spot and is keeping any window that is drawn there after the window is
destroyed. I will try the icon test mentioned in comments and see about
giving some visuals.. can i send screenshots or videos or should i just
link to them on my server?

On Tue, May 21, 2019, 4:42 AM Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:

#929245#20
Date:
2019-05-22 07:24:51 UTC
From:
To:
Ok well it might be related.. I attached in this case just my TV to my
minidp->hdmi and it in this instance only failed to draw a small portion to
the far right on my laptop screen, and the first image shows when I
minimized my terminal, the 2nd shows me trying to drop an icon there, the
3rd shows after I've changed the background image.

https://i.imgur.com/2SMcDv9.png
https://i.imgur.com/ygMR9Ih.png
https://i.imgur.com/xRld8Ty.jpg

The icon thing in this scenario however might not be relevant cause in the
last screenshot I am showing one of the screenshot icons being as far right
as it'll let me place it even after the issue is resolved due to a bg
change, and its still not letting me put it in that area.. I will try
generate a situation where it has a larger area.. before it was routinely
doing about 1/3 across the bottom of my 1080p laptop screen with the
configuration I was using which is a larger test area..

in this screenshot I have 3 displays configured with a much larger area
affected and the screenshot icon shown is as low as it'll let me drop it

https://i.imgur.com/dNVRuYS.jpg

and in this last screenshot, I've refreshed the desktop bg and moved that
appearance preferences all around the affected area, and as you can see its
no longer failing to redraw that area as its not showing the appearance
prefs window all over the screen, but it still will not let me drop that
screenshot icon any lower and as you can see the filename is only partially
showing where it is right now.

https://i.imgur.com/GxpidYY.jpg

so idk.. I can perhaps try more testing if someone could come up with more
ideas I tried an strace, it generated about 5mb in a short time and seemed
mostly useless. I think I'd need a special dbg version of caja to use gdb,
idk I've never used those things before but I'm more than happy to help run
this down further if I can get some guidance on how to do it.

On Wed, May 22, 2019 at 2:49 AM Kathryn Tolsen <katybethtolsen@gmail.com> wrote:

#929245#25
Date:
2019-05-22 07:37:49 UTC
From:
To:
I apologize for the quoting, I'm a bit email challenged.

I just wanted to further note that with the setup as it is now, with the
background image cleared up as it was in my last screenshot, when I do
cleanup on the icons which should put them in the top left corner, I dont
see any of my icons anywhere on any of my three screens. Also I cannot
right click the desktop and get a context menu in that area even though its
no longer glitching.

#929245#30
Date:
2019-05-24 20:14:25 UTC
From:
To:
Hi Kathryn,

I cannot promise anything for Caja in Debian 10, but MATE in general
is not handling all XRANDR / XINERAMA events gracefully and glitches
occur (also in the screensaver component).

I hope that I'll be able to spend some time of it over the summer.
Maybe others find time to address this earlier.

Sorry for this vague outlook,
Mike

#929245#35
Date:
2019-05-24 21:13:58 UTC
From:
To:
ok well its not huge deal just would like to see mulihead support improve
which is why i reported it. there is a patch upstream with regard to
desktop icons in caja that was proposed and never merged.. that also is
useful because it allows the icons to go on primary display even if its not
0,0.. which was a big deal when i tried enabling my fathers tv fo use for
video output when his monitor is to the right and his icons wouldnt stay on
right display dven when it was primary.

On Fri, May 24, 2019, 4:14 PM Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:

#929245#40
Date:
2022-02-23 01:16:38 UTC
From:
To:
-- 
Hello .
My name is Emma Ludwig . On two occasions, I have sent an email to you
which you have not responded to. Can you find time to respond to me
now? Please something came up and i really want to discuss with you
urgent and important.
kind Regard
Emma