Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update to 1.28 Sticky Notes stopped working #668

Open
kotoyants opened this issue Apr 2, 2024 · 10 comments
Open

After update to 1.28 Sticky Notes stopped working #668

kotoyants opened this issue Apr 2, 2024 · 10 comments

Comments

@kotoyants
Copy link

kotoyants commented Apr 2, 2024

Expected behaviour

New note windows when double-clicking icon or using menu

Actual behaviour

Nothing happens, error in journal

stickynotes-app[227298]: gtk_window_set_decorated: assertion 'GTK_IS_WINDOW (window)' failed
stickynotes-app[227298]: gtk_window_set_skip_taskbar_hint: assertion 'GTK_IS_WINDOW (window)' failed
stickynotes-app[227298]: gtk_window_set_skip_pager_hint: assertion 'GTK_IS_WINDOW (window)' failed
stickynotes-app[227298]: gtk_widget_add_events: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_add_events: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed
stickynotes-app[227298]: gtk_widget_add_events: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_add_events: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_add_events: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_set_direction: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_window_stick: assertion 'GTK_IS_WINDOW (window)' failed
stickynotes-app[227298]: gtk_window_resize: assertion 'GTK_IS_WINDOW (window)' failed
stickynotes-app[227298]: gtk_image_set_from_icon_name: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_image_set_pixel_size: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_image_set_from_icon_name: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_image_set_pixel_size: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_image_set_from_icon_name: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_image_set_pixel_size: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_window_set_title: assertion 'GTK_IS_WINDOW (window)' failed
stickynotes-app[227298]: gtk_label_set_text: assertion 'GTK_IS_LABEL (label)' failed
stickynotes-app[227298]: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_background_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_color: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_font: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_widget_override_font: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_text_view_set_editable: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed
stickynotes-app[227298]: gtk_text_view_set_cursor_visible: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed
stickynotes-app[227298]: gtk_image_set_from_icon_name: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_widget_set_tooltip_text: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: gtk_image_set_pixel_size: assertion 'GTK_IS_IMAGE (image)' failed
stickynotes-app[227298]: gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed
stickynotes-app[227298]: gtk_widget_realize: assertion 'GTK_IS_WIDGET (widget)' failed
stickynotes-app[227298]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed
stickynotes-app[227298]: invalid (NULL) pointer instance
stickynotes-app[227298]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
stickynotes-app[227298]: gtk_window_present_with_time: assertion 'GTK_IS_WINDOW (window)' failed
stickynotes-app[227298]: gtk_window_stick: assertion 'GTK_IS_WINDOW (window)' failed```

#### Steps to reproduce the behaviour
Update mate-applets to 1.28

#### MATE general version
1.28

#### Package version
1.28

#### Linux Distribution
Arch Linux
@lukefromdc
Copy link
Member

lukefromdc commented Apr 2, 2024 via email

@kotoyants
Copy link
Author

I am not sure about mate-applets build in-process or out process, how to check it?
I can found applet process using ps:
none 227298 780 0 17:53 ? 00:00:02 \_ /usr/lib/mate-applets/stickynotes-applet

@lukefromdc
Copy link
Member

lukefromdc commented Apr 2, 2024 via email

@kotoyants
Copy link
Author

kotoyants commented Apr 2, 2024

Can't find any .so files in package

pacman -Qlp mate-applets-1.28.0-1-x86_64.pkg.tar.zst|grep stickynotes|grep -v -e '/usr/share/locale' -e '/usr/share/icons' -e '/usr/share/help'
mate-applets /usr/lib/mate-applets/stickynotes-applet
mate-applets /usr/share/glib-2.0/schemas/org.mate.stickynotes.gschema.xml
mate-applets /usr/share/mate-applets/icons/hicolor/48x48/apps/stickynotes-stock-close.png
mate-applets /usr/share/mate-applets/icons/hicolor/48x48/apps/stickynotes-stock-locked.png
mate-applets /usr/share/mate-applets/icons/hicolor/48x48/apps/stickynotes-stock-resize-se.png
mate-applets /usr/share/mate-applets/icons/hicolor/48x48/apps/stickynotes-stock-resize-sw.png
mate-applets /usr/share/mate-applets/icons/hicolor/48x48/apps/stickynotes-stock-unlocked.png

@lukefromdc
Copy link
Member

lukefromdc commented Apr 2, 2024 via email

@tari01
Copy link

tari01 commented May 13, 2024

I can confirm the above on Manjaro MATE, just updated to 1.28. I have several sticky notes on the desktop and the applet in my panel. None of these show up as the applet crashes just as the panel is loaded.

@lukefromdc
Copy link
Member

lukefromdc commented May 21, 2024

Same issue at

#664 (comment)
includes this report at the bottom:
PS: replacing GtkSourceBuffer with GtkTextBuffer and GtkSourceView with GtkTextView in sticky-notes-note.ui and removing the max_undo_levels property makes the applet work again.

@kotoyants
Copy link
Author

I have made this changes and recompiled applet. Notes appeared but does not work properly. Icons are missing, hide notes option does not work, etc
Will this bug be resolved in near future?

@lukefromdc
Copy link
Member

I will not be able to fix this myself, and at the moment a lot of team members are busy elsewhere. We don't have any paid staffers whatsoever.

We had a similar issue with 1.26 at #664 (comment) (noted above) and that has NOT been fixed either.

Might be a GtkSourceView issue on this one (was for sure on the other one with
stickynotes.c:122 builder=0x667190 res=0 error=(6,.:7:1 Invalid object type 'GtkSourceBuffer')
Unfortunately, I know very little about working with and debugging GtkSourceView. Someone more familiar with the applet will need to work on it.
I was wondering if
8c06942 played any role in this, but it's not in 1.26 only 1.28 so if it's the same crash with the same errors it is not likely to be the offender.

@lukefromdc
Copy link
Member

This should be at least partially fixed by
#671
which was actually necessary because if someone with mate-applets build in-process added stickynotes to their panel, the crash would take the panel down and prevent it from relaunching by crashing again on startup. The only way out was to find and remove the applet from the panel config by dconf-editor or run mate-panel --reset and trash the rest of a user's configuration. Fixing this was an emergency.

I don't know that applet well and do not use it. To bring back anything that is now missing, I will need help. I cannot fully maintain all of MATE solo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants