#11816 NORM 12.1.0: First Sugar boot - simple welcome screen
Zarro Boogs per Child
bugtracker at laptop.org
Tue May 8 08:55:28 EDT 2012
#11816: First Sugar boot - simple welcome screen
---------------------------------------+------------------------------------
Reporter: martin.langhoff | Owner: godiard
Type: enhancement | Status: new
Priority: normal | Milestone: 12.1.0
Component: sugar | Version: not specified
Resolution: | Keywords:
Next_action: review | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------------+------------------------------------
Comment(by erikos):
There are several visual issues with the current design (see the two
attached screenshots):
When the alert is displayed we do not have a visual indication of the non-
functional background (e.g. greying it out; sadly this is technically out
of question atm). This issue was the same with the naming alert and is the
same with the Control Panel. The Control Panel however has a black
background and a grey border helping that at least a bit. That could be
done here as well.
In the activity we do have the issue that we do show a close button for
the potential dialog and the activity itself. There should be only the
closing button of the activity.
I am in favor of putting the alert before the naming/coloring screen.
Simply because as Daniel pointed out learners do struggle in the intro
screen already and the first thing they need to know is how to use the
keyboard and the trackpad. Secondly it can be done visually more clearly
with the technical limitations we have atm (see above). It would be a
fullscreen alert. It is easy to put the activity in front of the intro
screen. A patch would be:
{{{
diff --git a/bin/sugar-session b/bin/sugar-session
index 40c9db7..6c1d92e 100755
--- a/bin/sugar-session
+++ b/bin/sugar-session
@@ -181,6 +181,16 @@ def setup_window_manager():
shell=True):
logging.warning('Can not disable metacity keybindings')
+def setup_welcome_screen():
+ path = os.path.expanduser('~/.welcome_screen')
+ if os.path.exists(path):
+ welcome_file_flag = open(path, 'r')
+ welcome_file_command = welcome_file_flag.read()
+ welcome_file_flag.close()
+ os.remove(path)
+ if subprocess.call(welcome_file_command.split()):
+ logging.warning('Can not display welcome screen')
+
def bootstrap():
setup_window_manager()
@@ -249,6 +259,10 @@ def main():
# TODO #3204
if subprocess.call('echo $DISPLAY; xsetroot -cursor_name left_ptr',
shell=True):
logging.warning('Can not reset cursor')
+
+ # open welcome window if is the first time
+ setup_welcome_screen()
+
intro.check_profile()
start_ui_service()
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/11816#comment:11>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list