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

some warnings in terminal with 1.6.0 #44

Open
raveit65 opened this issue Apr 1, 2021 · 4 comments
Open

some warnings in terminal with 1.6.0 #44

raveit65 opened this issue Apr 1, 2021 · 4 comments

Comments

@raveit65
Copy link
Contributor

raveit65 commented Apr 1, 2021

[rave@mother ~]$ LANG=C
[rave@mother ~]$ mate-user-admin 
(mate-user-admin:120575): GLib-GObject-WARNING **: 18:34:59.639: invalid unclassed pointer in cast to 'UserGroupWindow'
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): GLib-GObject-WARNING **: 18:34:59.639: invalid unclassed pointer in cast to 'GtkWidget'
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): GLib-GObject-WARNING **: 18:34:59.639: invalid unclassed pointer in cast to 'UserGroupWindow'
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): GLib-GObject-WARNING **: 18:34:59.639: invalid unclassed pointer in cast to 'GtkWidget'
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): GLib-GObject-WARNING **: 18:34:59.639: invalid unclassed pointer in cast to 'UserGroupWindow'
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(mate-user-admin:120575): GLib-GObject-WARNING **: 18:34:59.639: invalid unclassed pointer in cast to 'GtkWidget'
(mate-user-admin:120575): Gtk-CRITICAL **: 18:34:59.639: gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

Steps to reproduce:

  1. start mate-user-admin from terminal
  2. unlock dialog
  3. open group-dialog
  4. look in all tabs of group-dialog (not sure it this is needed for reproducing)
  5. close group-dialog
  6. lock mate-user-admin dialog
  7. Wondering about warnings in terminal :)

I don't know if this is an new or an already existing issue. I stumbled about during testing new release.
Any way, i will update all fedora branches with new releases.

@zhuyaliang
Copy link
Owner

This problem has been fixed.Thank you for your update in fedora

@raveit65
Copy link
Contributor Author

raveit65 commented Apr 2, 2021

Thanks, for the quick update. I can confirm that the warnings are gone when locking the dialog.
But now there is another little problem with the lock button.
When you lock the dialog and you want to unlock the dialog again, you need to click twice on the button, before the polkit-dialog displays.
Steps to reroduce:

  1. unlock dialog --> polkit-dialog pops up.
  2. lock the dialog
  3. unlock dialog again with a mouse click --> no polkit-dialog pops up.
  4. Click on more time on the unlock-button --> polkit-dialog pops up.

@zhuyaliang
Copy link
Owner

I fixed this interesting problem, and now the result is: Some settings must be unlocked before they can be changed popovers will be displayed only once, and will be closed forever after unlocking

@raveit65
Copy link
Contributor Author

raveit65 commented Apr 2, 2021

I think it is OK when the popover only displays one time as long mate-user-admin GUI is open. Because the user have already read the popover.
And it will display again when mate-user-admin is started again.
my 2 cents :)

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

2 participants