Ah, that's a bug in gedit actually. gedit/gedit-window.c declares the "state" 
property as GFlags:
……………………g_object_class_install_property (object_class,
………………………………………………………………………………………………………… PROP_STATE,
………………………………………………………………………………………………………… g_param_spec_flags ("state",
……………………………………………………………………………………………………………………………………………………     "State",
……………………………………………………………………………………………………………………………………………………     "The window's 
state",
……………………………………………………………………………………………………………………………………………………     
GEDIT_TYPE_WINDOW_STATE,
……………………………………………………………………………………………………………………………………………………     
GEDIT_WINDOW_STATE_NORMAL,
……………………………………………………………………………………………………………………………………………………     G_PARAM_READABLE |
……………………………………………………………………………………………………………………………………………………     
G_PARAM_STATIC_STRINGS));

But gedit_window_get_property() calls g_value_set_enum() on the GValue;
it should be g_value_set_flags().

** Also affects: gedit (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gedit (Ubuntu)
       Status: New => Triaged

** Project changed: autopilot-gtk => gedit

** Bug watch added: GNOME Bug Tracker #721730
   https://bugzilla.gnome.org/show_bug.cgi?id=721730

** Changed in: gedit
   Importance: Undecided => Unknown

** Changed in: gedit
       Status: Confirmed => Unknown

** Changed in: gedit
 Remote watch: None => GNOME Bug Tracker #721730

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1283966

Title:
  Looping while selecting the same object is causing the application to
  die raising a dbus no reply exception

Status in Light-Weight Text Editor for Gnome:
  Unknown
Status in “autopilot-gtk” package in Ubuntu:
  Triaged
Status in “gedit” package in Ubuntu:
  Fix Committed

Bug description:
  This bug seems to have raised it's head again. While trying to
  reproduce the ubiquity crash I came across this bug.

  I'm not sure if it's the cause of bug 1267116 since in that test we
  are doing the same but we get a crash file which is what I cannot
  reproduce. So I have filed it as a seperate bug.

  It occurs when polling on the same/couple of objects, eventually the
  app hangs and a dbus blocking no reply exception is raised

  I have attached a simple testcase using gedit that reproduces it

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/1283966/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to