[Bugs] #4915 Write HIGH: Write redraws excessively - heats my lap
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Aug 17 02:29:14 EDT 2017
#4915: Write redraws excessively - heats my lap
--------------------------+-------------------------------------
Reporter: SAMdroid | Owner:
Type: defect | Status: closed
Priority: High | Milestone: Unspecified
Component: Write | Version: Git as of bugdate
Severity: Major | Resolution: notsugar
Keywords: | Distribution/OS: Fedora
Bug Status: Unconfirmed |
--------------------------+-------------------------------------
Changes (by quozl):
* status: new => closed
* resolution: => notsugar
Comment:
I've fixed it in AbiWord and made a custom build.
The problem was in AbiWord; the caret cursor blinked more than it should,
calling `Gtk.Widget.queue_draw()` on each blink, passing the whole drawing
area, thus causing many `Gtk.Widget.draw` events.
Most critical change was to call `Gdk.flush()` instead of
`Gtk.Widget.queue_draw()`.
The problem was difficult to reproduce for some people because it was
caused by a race between a 10ms timer and the event queue.
So I'll close this now as ''notsugar''.
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4915#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list