[Bugs] #4915 Write HIGH: Write redraws excessively - heats my lap
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Jul 6 19:00:04 EDT 2016
#4915: Write redraws excessively - heats my lap
--------------------------+-------------------------------------
Reporter: SAMdroid | Owner:
Type: defect | Status: new
Priority: High | Milestone: Unspecified
Component: Write | Version: Git as of bugdate
Severity: Major | Resolution:
Keywords: | Distribution/OS: Fedora
Bug Status: Unconfirmed |
--------------------------+-------------------------------------
Comment (by quozl):
Also occurs with Abiword 3.0.1 on Ubuntu 16.04.
When the *draw* signal is connected on the Abi.Widget, normal calls occur
until the first character is typed, then a continuous stream of signals is
received, with a cairo clip rectangle corresponding to the document body.
Method:
{{{
def __init__(self, handle):
...
self.abiword_canvas.connect('draw', self.__draw_cb)
def __draw_cb(self, widget, cr):
logger.error('__draw_cb cr=%r' % cr.copy_clip_rectangle_list())
}}}
Result:
{{{
1467794524.658957 ERROR write-activity: We are creating an activity
1467794524.729933 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1024.0,
768.0)
1467794524.746117 ERROR write-activity: __draw_cb cr=(1009.0, 0.0, 15.0,
633.0)
1467794526.992213 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.010463 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.027780 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.045404 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.062891 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.080091 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.098255 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.115963 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.132660 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.149889 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
1467794527.168202 ERROR write-activity: __draw_cb cr=(0.0, 0.0, 1009.0,
768.0)
}}}
My guess is that this is a regression in Abiword or Gtk. It also occurs
with /usr/bin/abiword started from Terminal in Sugar and Terminal in
Gnome. So it isn't a problem with Write itself.
See also https://bugs.launchpad.net/ubuntu/+source/abiword/+bug/1574278
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4915#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list