public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@redhat.com>
To: Sami Wagiaalla <swagiaal@redhat.com>,
	        Kris Van Hees <kris.van.hees@oracle.com>
Cc: Frysk List <frysk@sourceware.org>
Subject: Re: Question on CLI vs GUI, and today's call
Date: Fri, 23 Feb 2007 16:14:00 -0000	[thread overview]
Message-ID: <45DF12D8.4060801@redhat.com> (raw)
In-Reply-To: <45DEFB7B.9050503@redhat.com>

Sami Wagiaalla wrote:
>> Mixing them up tends to lead to inconsistencies in UI between e.g. CLI
>> and GUI.
>>   
> Agreed, if UI get too thick code should be matured, rewritten more 
> generically, and then pushed down to core.

Yes, for instance the step engine was prototyped as part of the gnome 
code, but then pushed down into the run-time model where both the gnome 
and hpd interfaces could share it.  Importantly, this made possible 
common interaction such as  a HPD step being reflected in the UI.

>> I do agree that the discussions are very positive and constructive.  I
>> do however feel that there is a tendency (as it always happens) to mix
>> the areas quite a bit.  And that can be quite dangerous.
>>
>> Your example of the 'advance-a-line' function is a good one for this.
>> As you state, there was confusion as to the exact semantics of specific
>> operations, like "step" vs "advance".  The decision was to enable
>> "advance" but not 'step" when a non-inner frame is selected.
> This is a good example. The discussion was about what the goal of the 
> user is after they have filtered through a stack of calls which they 
> are not interested in, and he or she clicks "step". Do they mean go 
> down to that frame which I have already dismissed and step one line ? 
> Or transparently finish all those frames, arrive to the one they are 
> "looking at" and step one line ? Does the use really need to be 
> presented with both "step" and "advance" or can the need for both be 
> eliminated by improving the concept of " the frame the user is looking 
> at"
>>   However,
>> does that mean this will be implemented as a UI change?  Or a change in
>> the core?  Or both?
>>   
> I might not be the person to answer this, but I would guess core :) In 
> order to maintain the thinness of UI's, and consistency of behavior 
> between them.

It's actually both :-)

-> the core will need to be tweeked so that an "advance" request 
specifies the frame it is being applied to
This change will occure in what's become known as the "middle-end" - 
frysk.rt here - that is built over lower level primatives.

-> the graphical component needs to be tweaked so step is disabled when 
the frame is non-inner - thus preventing the user from initiating a step 
(of course "step" is still there and will apply to the inner most frame).

I think an occasional brief dally into the middle-end - so that the 
developers understand broadly the implementation and at least that it is 
feasable - is ok; but taking your point on board, we need to be careful 
that we don't stray into low-level core details.

Andrew

      reply	other threads:[~2007-02-23 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 18:39 Kris Van Hees
2007-02-22 21:46 ` Andrew Cagney
2007-02-23  0:33   ` Kris Van Hees
2007-02-23 14:37     ` Sami Wagiaalla
2007-02-23 16:14       ` Andrew Cagney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DF12D8.4060801@redhat.com \
    --to=cagney@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=kris.van.hees@oracle.com \
    --cc=swagiaal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).