From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14965 invoked by alias); 22 Mar 2007 17:59:49 -0000 Received: (qmail 14951 invoked by uid 22791); 22 Mar 2007 17:59:47 -0000 X-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Mar 2007 17:59:38 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l2MHxaR3004260 for ; Thu, 22 Mar 2007 13:59:36 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l2MHxZVe009289; Thu, 22 Mar 2007 13:59:35 -0400 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l2MHxYH1009525; Thu, 22 Mar 2007 13:59:34 -0400 Message-ID: <4602C40B.8090809@redhat.com> Date: Thu, 22 Mar 2007 17:59:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: Sami Wagiaalla CC: frysk Subject: Re: Assistant refinement References: <460155B7.8090202@redhat.com> <46017E7D.8090004@redhat.com> <46018607.9050805@redhat.com> In-Reply-To: <46018607.9050805@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00255.txt.bz2 Sami Wagiaalla wrote: > I am suggesting this: > > user starts up frysk: > > [1] > A page pops up with a list of previous sessions the buttons new and > delete to the side. > in the bottom the buttons [next] and [finish]. > clicking [finish] at any point starts the monitor/debugger depending > on was was saved from before. > this enables the user to select the session and start it in two clicks. No. "next" is part of an assistant, and the Session Manager is not an assistant. The Session Assistant is for either creating a "new" session, or picking and [re-]"open"ing an existing session. In the case of re-opening an existing [monitoring] session, the operation is expensive and potentially fatal, the user needs to be presented with a check-point confirming what's about to be monitored so that they can confirm it. That means at minimum of double-click, click. If the desire is just to reduce the mouse-click count then there are better ways of doing this. For instance: - debug session of a "new process" doesn't need process-picker and/or observer-picker. For it "open" jumps to the source code window, starts the process and runs it to main(). - let the user explicitly edit the session so that it skips the p-p window. When combined with specialized logic, it would let the user quickly monitor specific processes based on an arbitrary criteria. For instance, a session to "Monitor the top 2 processes". > > user clicks next/new > > [2] > they see the page currently referred to as the process picker. > In the bottom the buttons [back] [next] [finish] > > user clicks next > > [3] > they see this: > http://sourceware.org/bugzilla/attachment.cgi?id=1629&action=view > (maybe here if they choose "debugging" (should be Debuging Session :)) > then next is disabled) > Assuming the differentiation between debugging and monitoring remains, then I think this question should be asked up front. That way the the first thing the user is presented is: -> a summary of what is happening -> a question as to what they want to be doing initially That way the user gets a warm-fuzzy that frysk "knows" what they want and is being customized for that need. With out that up-front question one is wondering: "where is this going?", "what is this doing?". To give an example, consider connecting a machine to a network. As a user, you have an ethernet cable in one hand and the lap-top in the other. The first question you expect is: "which network type?" "eithernet", "wireless", "modem", ... ;; and not "is this using dhcp?" say - "DHCP for what"? Andrew