[Bugs] #4912 Sugar LOW: background control panel alpha level may set wrongly
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Nov 11 04:13:40 EST 2015
#4912: background control panel alpha level may set wrongly
-------------------------------+--------------------------------
Reporter: quozl | Owner:
Type: defect | Status: new
Priority: Low | Milestone: Unspecified
Component: Sugar | Version: Git as of bugdate
Severity: Minor | Keywords:
Distribution/OS: Unspecified | Bug Status: New
-------------------------------+--------------------------------
Reproducer: instrument the model.py to log changes to alpha level, then
use the alpha level buttons on the background control panel.
The calls to the model are inconsistent with user actions.
Sometimes the saved alpha level is not what the user intended.
* the _set_alpha_cb in the view is called twice for every click, once for
the radio button which was active, and once for the radio button which is
now active; widget.get_active() could be used to filter the calls to
ignore the deactivated button.
* the _set_alpha_cb in the view is called when the alpha level buttons
are being created; connect() could be called after all the buttons are
created instead of after each button is created.
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4912>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list