[Bugs] #4914 Sugar NORM: jarabe windows are redrawn excessively
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Nov 19 00:08:50 EST 2015
#4914: jarabe windows are redrawn excessively
---------------------+-------------------------------------
Reporter: quozl | Owner:
Type: defect | Status: new
Priority: Normal | Milestone: Unspecified
Component: Sugar | Version: Git as of bugdate
Severity: Minor | Resolution:
Keywords: | Distribution/OS: Unspecified
Bug Status: New |
---------------------+-------------------------------------
Description changed by quozl:
Old description:
> Extra redraws of graphics windows cause performance to degrade. The
> following are some of the extra redraws in Sugar 0.107.0:
> 1. when starting an activity, the pulsing icon is redrawn for the entire
> width of the screen, instead of only the area that has changed,
> 1. in the neighbourhood, friends, and home views, palette popup or
> popdown over buddy icon, access point icon, or activity icons causes
> redraw of entire window,
> 1. in the neighbourhood, friends, and home view, when the search entry
> has focus the entire widget is redrawn on every cursor blink,
> 1. switching to the home list view redraws it twice,
> 1. journal details view redraws the entry name after drawing the entire
> window,
> 1. journal Documents view draws several times on entry,
> 1. switching from journal to home view draws entire window an extra
> time,
> 1. switching from Documents view to Journal view redraws entire window
> twice,
> 1. my settings, about me, nickname redraws after window draws,
> 1. my settings, date & time, list of zones redraws after window draws,
> 1. my settings, network, server and social help server redraw after
> window draws,
> 1. my settings, modem configuration, all fields below the horizontal
> rule redraw,
> 1. invoking the frame redraws the entire neighbourhood, friends, and
> home views, but not the journal view,
> 1. some frame device icons are redrawn even though the amount of change
> is insufficient to show a different icon; such as wireless access point
> signal strength, and battery state of charge.
> 1. even with transition box removed, switching between neighbourhood,
> friends, and home views redraws the final view twice.
>
> Reproducer: change the {{{!__init!__}}} method in
> {{{src/jarabe/desktop/homewindow.py}}} by adding these lines to the end
> of the method:
>
> {{{
> window = self.get_window()
> if window is not None:
> window.set_debug_updates(True)
> }}}
>
> Restart Sugar.
>
> Reference: https://lazka.github.io/pgi-
> docs/Gdk-3.0/classes/Window.html#Gdk.Window.set_debug_updates
New description:
Extra redraws of graphics windows cause performance to degrade. The
following are some of the extra redraws in Sugar 0.107.0:
1. when starting an activity, the pulsing icon is redrawn for the entire
width of the screen, instead of only the area that has changed,
1. in the neighbourhood, friends, and home views, palette popup or
popdown over buddy icon, access point icon, or activity icons causes
redraw of entire window, but only if the search entry is not in focus,
1. in the neighbourhood, friends, and home view, when the search entry
has focus the entire widget is redrawn on every cursor blink,
1. switching to the home list view redraws it twice,
1. journal details view redraws the entry name after drawing the entire
window,
1. journal Documents view draws several times when shown,
1. switching from journal to home view draws entire window an extra time,
1. switching from Documents view to Journal view redraws entire window
twice,
1. my settings, about me, nickname redraws after window draws,
1. my settings, date & time, list of zones redraws after window draws,
1. my settings, network, server and social help server redraw after
window draws,
1. my settings, modem configuration, all fields below the horizontal rule
redraw,
1. invoking the frame redraws the entire neighbourhood, friends, and home
views, but not the journal view, but only if the search entry is not in
focus,
1. some frame device icons are redrawn even though the amount of change
is insufficient to show a different icon; such as wireless access point
signal strength, and battery state of charge.
1. even with transition box removed, switching between neighbourhood,
friends, and home views redraws the final view twice.
Reproducer: change the {{{!__init!__}}} method in
{{{src/jarabe/desktop/homewindow.py}}} by adding these lines to the end of
the method:
{{{
window = self.get_window()
if window is not None:
window.set_debug_updates(True)
}}}
Restart Sugar.
Reference: https://lazka.github.io/pgi-
docs/Gdk-3.0/classes/Window.html#Gdk.Window.set_debug_updates
--
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4914#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list