zhuyaliang / user-admin

GNU General Public License v3.0
27 stars 16 forks source link

some warnings in terminal with 1.6.0 #44

Open raveit65 opened 3 years ago

raveit65 commented 3 years ago
[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 commented 3 years ago

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

raveit65 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 :)