Opened 9 years ago
Closed 8 years ago
#4861 closed defect (fixed)
Brightness does not work during first startup
Reported by: | quozl | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | Unspecified |
Component: | Sugar | Version: | Git as of bugdate |
Severity: | Major | Keywords: | |
Cc: | martin.abente.lahaye@… | Distribution/OS: | Ubuntu |
Bug Status: | New |
Description
While choosing colour, gender, and age, the brightness keys do not work. The keys only start working once the home view is rendered.
When logging in, the brightness is changed to the saved value very close to the end of the startup of Sugar. It should be changed at the earliest opportunity.
Sugar 0.105.2 on Ubuntu Trusty 14.04.2.
Change History (2)
comment:1 in reply to: ↑ description Changed 9 years ago by tch
comment:2 Changed 8 years ago by SAMdroid
- Resolution set to fixed
- Status changed from new to closed
The patch was merged as https://github.com/sugarlabs/sugar/commit/3555f5d2db71d61683979178bdf52c20c7675e8c
Note: See
TracTickets for help on using
tickets.
Replying to quozl:
I tested and confirmed this happens.
The reason is that sugar's keyhandler is setup only after the intro screen is done [1,2] and the keyhandler depends on the existence of the frame [3], but the frame is also created after the intro [4]. This is also true for all other keys functions.
I will need more research to understand why exactly this is being done at this point.
I have sent a PR to address this issue [5].
Refs: