some guessing work/suggestion here, resize_to_standard_width() does
ctx = self.get_style_context()
size = ctx.get_property("font-size", Gtk.StateFlags.NORMAL)
that's likely to create a "changed" event and trigger the loop
the usual way to fix those is to call
GObject.signal_handler_block() before those lines
and
GObject.signal_handler_unblock()
after the lines
you just need to get the right handler in the function to do that
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637180
Title:
"The computer needs to restart" dialog constantly eats CPU
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1637180/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs