#4444: My Settings panel drops out of the screen after the screen is rotated
------------------------------------------+---------------------------------
Reporter: manuq | Owner: erikos
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 1.0
Component: sugar | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by manuq):
Walter's patch fixes the issue.
The only thing I see is that the table that contains the section icons
does not update its columns number after the screen rotate, having the CP
panel open. Even with the conditional that Walter added, that calls table
resize() . I logged the table size after that call with:
{{{
_logger.debug("TABLE SIZE %r", self._table.get_size())
}}}
And it is always 3. Maybe this is because set_size() is deprecated:
http://developer.gnome.org/gtk3/stable/GtkTable.html#gtk-table-resize
What works for me is removing the table elements and add them again.
Patch attached.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4444#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system