[Bugs] #4914 Sugar NORM: jarabe windows are redrawn excessively
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Nov 20 06:06:42 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 |
---------------------+-------------------------------------
Comment (by godiard):
Very interesting.
Some ideas, without looking too much at the code:
* Maybe you can use set_can_focus(False) in the neighborhood, friends, and
home views, to avoid them grab the focus. Not sure if that will affect
keyboard interactions.
* extensions/deviceicon/battery.py __battery_properties_changed_cb do
always the self.emit('updated') triggering the redraw, even if the values
didn't changed.
* deviceicon/network.py, should check previous states to try avoid change
color and other icon properties if not needed.
* Journal: I remember cases where the first time we switch to the journal,
we see the window resizing to full screen. I don't know why and if is
needed, and if the next switches do a resize too.
* View switches: desktop/homewindow.py remove the view widget, add a
transition box (to show the kid icon anumation), and add the new view
widget. Not sure if that trigger unneeded resizes. Maybe we can use a
Gtk.Notebook and just change pages? (And/Or remove the transition box step
at all)
[1] https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-set-
can-focus
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4914#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list