linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 744 forks source link

Crash when testing the experimental blur effect on themes #11822

Open anaximeno opened 1 year ago

anaximeno commented 1 year ago

Distribution

Mint 21.2

Package version

Cinnamon 5.8.4

Graphics hardware in use

No response

Frequency

Always

Bug description

I've been testing the experimental blur effect a bit and it worked well for most of the places I applied it:

Screenshot from 2023-08-10 23-00-19

The only place I had a problem was when trying to apply the blur effect with the component with the #overview id:

Screenshot from 2023-08-10 23-00-48

Then Cinnamon would crash when trying to access the scale/overview mode.

Steps to reproduce

Add a background blur effect to #overview in cinnamon.css, reload Cinnamon, and try to open the scale view, Cinnamon will probably crash.

Expected behavior

Cinnamon should not crash even if it is not expected to be applied a background blur effect to that component.

Additional information

  1. Crash Trace ==> https://termbin.com/vj4j
  2. I tested the blur effect with the CBlack theme, that can be installed in the theme settings.
fredcw commented 1 year ago

I've also found that cinnamon crashes if the blur effect is used in other circumstances:

When blur is applied to the panel and the panel is on the left or right side of the screen but not on top or bottom.

When blur is applied to the menu applet background (and Cinnamenu applet, but I haven't tested other applets) and the menu applet is opened and touches the left or right hand side of the screen when opened from a bottom panel or touches the bottom edge of the screen when opened from a side panel.

.xsession-errors: ``` munmap_chunk(): invalid pointer Exception in thread Thread-1 (wait_for_process): Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/usr/bin/cinnamon-launcher", line 88, in wait_for_process os.execvp(FALLBACK_COMMAND, (FALLBACK_COMMAND,) + FALLBACK_ARGS) File "", line 574, in execvp File "", line 616, in _execvpe File "", line 607, in _execvpe FileNotFoundError: [Errno 2] No such file or directory (nm-applet:886): Gdk-CRITICAL **: 05:16:46.470: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed (xapp-sn-watcher:864): GLib-GObject-CRITICAL **: 05:17:13.452: g_object_set: assertion 'G_IS_OBJECT (object)' failed (xapp-sn-watcher:864): GLib-GIO-CRITICAL **: 05:17:13.452: g_dbus_interface_skeleton_flush: assertion 'G_IS_DBUS_INTERFACE_SKELETON (interface_)' failed (xapp-sn-watcher:864): GLib-GObject-CRITICAL **: 05:17:13.452: g_object_set: assertion 'G_IS_OBJECT (object)' failed (xapp-sn-watcher:864): GLib-GIO-CRITICAL **: 05:17:13.452: g_dbus_interface_skeleton_flush: assertion 'G_IS_DBUS_INTERFACE_SKELETON (interface_)' failed (xapp-sn-watcher:864): GLib-GObject-CRITICAL **: 05:17:13.452: invalid (NULL) pointer instance (xapp-sn-watcher:864): GLib-GObject-CRITICAL **: 05:17:13.452: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed cinnamon-session[598]: WARNING: t+32.86363s: Detected that screensaver has left the bus mutter-Message: 05:17:26.003: Enabling experimental feature 'x11-randr-fractional-scaling' (cinnamon:1241): mutter-WARNING **: 05:17:26.133: Property 'libinput Accel Profile Enabled Default' for device 'PixArt USB Optical Mouse' returned 3 items, expected 2 (cinnamon:1241): mutter-WARNING **: 05:17:26.133: Property 'libinput Accel Profiles Available' for device 'PixArt USB Optical Mouse' returned 3 items, expected 2 (cinnamon:1241): mutter-WARNING **: 05:17:26.145: Property 'libinput Accel Profile Enabled Default' for device 'PixArt USB Optical Mouse' returned 3 items, expected 2 (cinnamon:1241): mutter-WARNING **: 05:17:26.146: Property 'libinput Accel Profiles Available' for device 'PixArt USB Optical Mouse' returned 3 items, expected 2 ```
anaximeno commented 1 year ago

I also noticed the visual artifacts you said in the other issue, and also some times when you over certain applets in the panel (having transparence and blur applied applied) some blemishes are left in the painting of that section. I haven't tested the bumpmaps yet to see how they are working.

JosephMcc commented 1 year ago

I tried the blur effect out awhile ago after it was merged. My conclusion was that in it's current state it was basically unusable. While I haven't tried to reproduce the issues shown here, just the amount of visual artifacts it causes when actually trying to use made me give up on it.