gala icon indicating copy to clipboard operation
gala copied to clipboard

Don't calculate shadows while dragging

Open jepotter1-archive opened this issue 7 years ago • 4 comments

I have experienced Gala hanging several times while dragging windows. Window shadows are not necessary while dragging windows, and they may cause extra compositor overhead. Would it make a performance difference if the shadow was disabled while the user is dragging a window?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

jepotter1-archive avatar Oct 23 '18 02:10 jepotter1-archive

This could also apply to maximize/minimize and tiling.

jepotter1-archive avatar Oct 23 '18 02:10 jepotter1-archive

@jwinnie Curious to know what your graphics card / driver configuration is? It's odd that any machine today would have even the slightest issue with this, when an early 2000s 233MHz computer with an 8MB ATI Rage graphics card could draw fast shadows all day long via the Mac OS X compositor. Is it Gala that needs to be tremendously optimized, or some even lower-level aspect of the Linux desktop stack?

eljefuri avatar Nov 08 '18 14:11 eljefuri

I have an Intel HD 5500 graphics card. Every other DE (GNOME, KDE, Budgie) runs fine, but Pantheon constantly hangs.

jepotter1-archive avatar Nov 17 '18 05:11 jepotter1-archive

I am having the same issue with shadows lagging behind when dragging windows quickly. I am on arch linux with a dedicated graphics card (rtx 2060) and nvidia drivers installed. Closing and reopening the window seems to fix the issue, but comes back later.

xinral avatar Feb 03 '22 22:02 xinral

Closing because drawing shadows is out of scope of gala. Mutter does this.

lenemter avatar Aug 27 '23 08:08 lenemter