mate-desktop / caja

Caja, the file manager for the MATE desktop
https://mate-desktop.org/
Other
271 stars 145 forks source link

Drag and Drop Screen Corruption #888

Open ifthatisyourdensity625 opened 6 years ago

ifthatisyourdensity625 commented 6 years ago

Expected behaviour

Drag and drop to move or copy files between local or remote volumes should work.

Actual behaviour

Sometimes, when dragging fast, the cursor seems to fail to change to a + for copy or arrow for move and then the entire screen will be corrupted, looking shredded paper pieces put in the wrong order. Just before the screen becomes corrupted an unusable, it seems the mouse stops responding to movement.

Steps to reproduce the behaviour

Drag fast between file manager windows. Sometimes it happens, sometimes not. When it happens, the cure is the switch to a text console with ctrl-alt F1, then switch back ctrl-alt F7. The screen will come back and the file operation will have succeeded. dmesg shows nothing about this. This even happened first thing after an update (to see if it would cure it) and a reboot.

MATE general version

1.18.0-1+sonya Using nvidia387 driver, 2 screens, 1 video card.

Package version

According to Software Manager: 1.18.5-1-sonya

Linux Distribution

Linux Mint 18.2 Sonya

Link to downstream report of your Distribution

lukefromdc commented 6 years ago

Are you using Marco, Compiz, (if using compiz the 0.8 or 0.9 series) or another WM? This sounds like compiz bugs I've seen before with other causes, this time maybe only with the Nvidia driver.

I cannot duplicate this no matter how fast I drag a file between two test folders. I am on AMD r600g open video drivers, Debian Unstable, and MATE 1.19 (git master builds) over GTK 3.22.26 and Debian Unstable.

ifthatisyourdensity625 commented 6 years ago

HI, thank you for your reply. I don't know the etiquette for forums, so let me know if I should also post this to the forum.

I use Marco+Compton and as far as I can tell, desktop effects are all off. I was using the Nvidia 387 driver with a GeForce 630 (no fans) video card with Linux Mint Mate 18.2. I use the Nvidia driver to allow me to watch video without tearing. I tried a comparable ATI video card, but couldn't get good enough performance out of the drivers. One driver even booted up to a blank screen.

I have just installed Linux Mint Mate 18.3 and have not used the system extensively yet and have not seen that phenomenon so far.

It seems to me that something was happening as Caja is trying to change the cursor shape, or update the window with the new file entries. Sometimes, the skewed checkerboard pattern, which consists of rectangles from the wall paper and open windows, would first appear around the mouse cursor, maybe even following the mouse for a couple of seconds, efore spreading quickly to fill both screens entirely.

Let me take this chance to tell you that Caja is the best among the file managers for its aesthetic and choices made.

Thanks for not dismissing this issue. jy

On Sun, Dec 31, 2017 at 3:28 PM, lukefromdc notifications@github.com wrote:

Are you using Marco, Compiz, (if using compiz the 0.8 or 0.9 series) or another WM? This sounds like compiz bugs I've seen before with other causes, this time maybe only with the Nvidia driver.

I cannot duplicate this no matter how fast I drag a file between two test folders. I am on AMD r600g open video drivers, Debian Unstable, and MATE 1.19 (git master builds) over GTK 3.22.26 and Debian Unstable.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mate-desktop/caja/issues/888#issuecomment-354627927, or mute the thread https://github.com/notifications/unsubscribe-auth/AdYfPEmoSNLyItXqow4paCL4QCGidC8Qks5tGBiSgaJpZM4RL4eS .

lukefromdc commented 6 years ago

I am guessing this is a bug in Compton, again possibly only with Nvidia drivers. I do not use closed drivers and have never used compton myself so no surprise I haven't seen this. If you still have a test system with the older Linux Mint Mate 18.2 available and with the same drivers, see if this happens with Marco running by itself. Marco does not use the GPU at all, so if you see it without compton running that would rule out the Nvidia driver as the cause.

Also test temporarily turning off desktop icons ( uncheck org>mate>desktop>background>show-desktop-icons in dconf-editor) and then see if the corruption still covers the whole screen. If it does, Caja is not the cause, though by using an expected cursor feature it may be triggering a bug elsewhere.

If the newer Linux Mint Mate 18.3 does not have this problem, than some change may have prevented this bug from being triggered. No idea where it would be, but this may have been fixed so far as MATE is concerned. That might not mean there is no problem in compton, but as you would not be hitting it anymore it would not matter until some other application or another DE hits it again. If you don't see the screen corruption again in MATE this can be closed.

Question: have you reinstalled the Nvidia driver into the new install, or are your current tests with Nouveau (the open driver for Nvidia and plenty powerful for compiz or compton)? If not and reinstalling it brings the issue back, the bug is either in compton or the nvidia drivers. If so, an update to Xorg or the nvidia driver could be what fixed the problem as easily as any change in MATE.

As for AMD, I've had great results with my old HD5000/6000 series cards and r600g but everyone's usage is different.

ifthatisyourdensity625 commented 6 years ago

OK, I'll take your suggestions into account and test them out as I go with this new install. I just turned off Compton and videos still play OK.

I am using Nvidia's driver for now.

Thanks, and Happy New Year, jy

On Sun, Dec 31, 2017 at 5:29 PM, lukefromdc notifications@github.com wrote:

I am guessing this is a bug in Compton, again possibly only with Nvidia drivers. I do not use closed drivers and have never used compton myself so no surprise I haven't seen this. If you still have a test system with the older Linux Mint Mate 18.2 available and with the same drivers, see if this happens with Marco running by itself. Marco does not use the GPU at all, so if you see it without compton running that would rule out the Nvidia driver as the cause.

Also test temporarily turning off desktop icons ( uncheck org>mate>desktop>background>show-desktop-icons in dconf-editor) and then see if the corruption still covers the whole screen. If it does, Caja is not the cause, though by using an expected cursor feature it may be triggering a bug elsewhere.

If the newer Linux Mint Mate 18.3 does not have this problem, than some change may have prevented this bug from being triggered. No idea where it would be, but this may have been fixed so far as MATE is concerned. That might not mean there is no problem in compton, but as you would not be hitting it anymore it would not matter until some other application or another DE hits it again. If you don't see the screen corruption again in MATE this can be closed.

Question: have you reinstalled the Nvidia driver into the new install, or are your current tests with Nouveau (the open driver for Nvidia and plenty powerful for compiz or compton)? If not and reinstalling it brings the issue back, the bug is either in compton or the nvidia drivers. If so, an update to Xorg or the nvidia driver could be what fixed the problem as easily as any change in MATE.

As for AMD, I've had great results with my old HD5000/6000 series cards and r600g.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mate-desktop/caja/issues/888#issuecomment-354632264, or mute the thread https://github.com/notifications/unsubscribe-auth/AdYfPOQWC7sg6w42p1DJyOm9V6QOLMdFks5tGDUSgaJpZM4RL4eS .