Re: gEDA-user: Message and Library windows

2010-02-24 Thread Peter Clifton
On Tue, 2010-02-23 at 22:32 -0800, Jared Casper wrote:
 On Tue, Feb 23, 2010 at 3:53 PM, Peter Clifton pc...@cam.ac.uk wrote:
  I can't help but feel that some log messages are important enough to
  bother the user about - and others are not.. we'll have to see what
  people actually using it think, I'm not doing any PCB design work at the
  moment myself.
 
 
 Maybe add a Warn function along side Message (or something along those
 lines), and add a flag to HID.log that says whether or not to bring
 the log window to the foreground?  Or go all out and add an enum for
 severity.  It'd be easy to add the plumbing, the hard part would be to
 go through and decide what Message()s should be Warn()s, etc.
 
 I'm sure different severities could be displayed differently in the
 log quite easily as well...

Sounds good. gschem has different message warning levels, but in
practice you rarely see them. (Especially as it looses that info if the
message window isn't on-screen when the message is logged!)

 The functionality I saw someplace (was it in your repo?) to
 attach/embed the log window to the main window will help out with this
 problem as well I think.

Not mine.. I recall the one you're talking about, but I can't remember
the location of it.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Peter TB Brett
On Wed, 24 Feb 2010 10:30:20 +, Peter Clifton pc...@cam.ac.uk wrote:
 On Tue, 2010-02-23 at 22:32 -0800, Jared Casper wrote:
 On Tue, Feb 23, 2010 at 3:53 PM, Peter Clifton pc...@cam.ac.uk wrote:
  I can't help but feel that some log messages are important enough to
  bother the user about - and others are not.. we'll have to see what
  people actually using it think, I'm not doing any PCB design work at
  the
  moment myself.
 
 
 Maybe add a Warn function along side Message (or something along those
 lines), and add a flag to HID.log that says whether or not to bring
 the log window to the foreground?  Or go all out and add an enum for
 severity.  It'd be easy to add the plumbing, the hard part would be to
 go through and decide what Message()s should be Warn()s, etc.

Why not have a bar (in a warning colour) that pops up at the top of the
layout window, and disappears after a short interval (say, 2 seconds).
Clicking the bar would bring up the message window.  This is what my phone
(N900, runs Linux) uses for displaying transient warning/notification
messages, and it works really nicely.

Peter


 I'm sure different severities could be displayed differently in the
 log quite easily as well...
 
 Sounds good. gschem has different message warning levels, but in
 practice you rarely see them. (Especially as it looses that info if the
 message window isn't on-screen when the message is logged!)
 
 The functionality I saw someplace (was it in your repo?) to
 attach/embed the log window to the main window will help out with this
 problem as well I think.
 
 Not mine.. I recall the one you're talking about, but I can't remember
 the location of it.

-- 
Peter Brett pe...@peter-b.co.uk
Remote Sensing Research Group
Surrey Space Centre


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Peter Clifton
On Wed, 2010-02-24 at 11:48 +, Peter TB Brett wrote:
 On Wed, 24 Feb 2010 10:30:20 +, Peter Clifton pc...@cam.ac.uk wrote:
  On Tue, 2010-02-23 at 22:32 -0800, Jared Casper wrote:
  On Tue, Feb 23, 2010 at 3:53 PM, Peter Clifton pc...@cam.ac.uk wrote:
   I can't help but feel that some log messages are important enough to
   bother the user about - and others are not.. we'll have to see what
   people actually using it think, I'm not doing any PCB design work at
   the
   moment myself.
  
  
  Maybe add a Warn function along side Message (or something along those
  lines), and add a flag to HID.log that says whether or not to bring
  the log window to the foreground?  Or go all out and add an enum for
  severity.  It'd be easy to add the plumbing, the hard part would be to
  go through and decide what Message()s should be Warn()s, etc.
 
 Why not have a bar (in a warning colour) that pops up at the top of the
 layout window, and disappears after a short interval (say, 2 seconds).
 Clicking the bar would bring up the message window.  This is what my phone
 (N900, runs Linux) uses for displaying transient warning/notification
 messages, and it works really nicely.
 
 Peter

Neat idea.. and also seems to be a growingly common idiom in other apps
due to the recognition that focus-stealing and popping up dialogs when
the user isn't expecting them is poor interaction design, resulting in
bad usability if it happens often.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Bert Timmerman
Hi all, 

 -Original Message-
 From: geda-user-boun...@moria.seul.org 
 [mailto:geda-user-boun...@moria.seul.org] On Behalf Of Peter Clifton
 Sent: Wednesday, February 24, 2010 11:30 AM
 To: gEDA user mailing list
 Subject: Re: gEDA-user: Message and Library windows
 
 On Tue, 2010-02-23 at 22:32 -0800, Jared Casper wrote:
  On Tue, Feb 23, 2010 at 3:53 PM, Peter Clifton 
 pc...@cam.ac.uk wrote:
   I can't help but feel that some log messages are 
 important enough to 
   bother the user about - and others are not.. we'll have 
 to see what 
   people actually using it think, I'm not doing any PCB 
 design work at 
   the moment myself.
  
  
  Maybe add a Warn function along side Message (or something 
 along those 
  lines), and add a flag to HID.log that says whether or not to bring 
  the log window to the foreground?  Or go all out and add an 
 enum for 
  severity.  It'd be easy to add the plumbing, the hard part 
 would be to 
  go through and decide what Message()s should be Warn()s, etc.
  
  I'm sure different severities could be displayed differently in the 
  log quite easily as well...
 
 Sounds good. gschem has different message warning levels, but 
 in practice you rarely see them. (Especially as it looses 
 that info if the message window isn't on-screen when the 
 message is logged!)
 
  The functionality I saw someplace (was it in your repo?) to 
  attach/embed the log window to the main window will help 
 out with this 
  problem as well I think.
 
 Not mine.. I recall the one you're talking about, but I can't 
 remember the location of it.
 

Maybe it was the geany app used for coding stuff by some (including me).

http://www.geany.org/Documentation/Screenshots

Kind regards,

Bert Timmerman.



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Vanessa Ezekowitz
On Wed, 24 Feb 2010 11:48:14 +
Peter TB Brett pe...@peter-b.co.uk wrote:

 Why not have a bar (in a warning colour) that pops up at the top of the
 layout window, and disappears after a short interval (say, 2 seconds).
 Clicking the bar would bring up the message window.

I like this idea, but with one caveat:  If the warning/error level that spawned 
the bar is high enough (i.e. fatal errors such as shorted nets), leave the bar 
visible until it is clicked, rather than fading it out.

-- 
There are some things in life worth obsessing over.  Most
things aren't, and when you learn that, life improves.
http://starbase.globalpc.net/~ezekowitz
Vanessa Ezekowitz vanessaezekow...@gmail.com


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Kai-Martin Knaak
On Tue, 23 Feb 2010 23:53:13 +, Peter Clifton wrote:

 I can't help but feel that some log messages are important enough to
 bother the user about

I suggest, that gschem (and pcb for that matter) stick to the way most 
unix applications handle this issue: Truely important messages should be 
presented as pop-up dialogs. All the rest should be emitted on stdout. If 
there needs to be a log, this log should be written to a file. 

---(kaimartin)---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Frank Bergmann
On Tue, 23 Feb 2010 22:32:20 -0800, Jared Casper wrote:
 Maybe add a Warn function along side Message (or something along those
 lines), and add a flag to HID.log that says whether or not to bring the
 log window to the foreground?  Or go all out and add an enum for
 severity.  It'd be easy to add the plumbing, the hard part would be to
 go through and decide what Message()s should be Warn()s, etc.
 
 I'm sure different severities could be displayed differently in the log
 quite easily as well...
 
 The functionality I saw someplace (was it in your repo?) to attach/embed
 the log window to the main window will help out with this problem as
 well I think.

Maybe it was in this thread:

http://thread.gmane.org/gmane.comp.cad.geda.user/27394

You find the patch(es) in the sf tracker:

http://sourceforge.net/tracker/?func=detailaid=2779826group_id=73743atid=538813

The second patch displays a little icon in the status bar when the log is 
not visible to inform the user about new messages. But the patches still 
lack of some functionality e.g. remembering the last status of the log-
gui when the user leaves the application.

Later in the thread mentioned above Peter C. suggest gdl (gnome docking 
library) for such a change. So I spend the last weeks (unfortunately I 
was very busy with my b-o-t-job) fighting against a bug in the ubuntu
libgdl package. Now some things are clearer and I'am planing to rework
my patch with libgdl. And the opportunity for different severities
(different colors or little icons, filters, ...) are also in my mind.

Frank Bergmann.



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Jared Casper
On Wed, Feb 24, 2010 at 12:15 PM, Frank Bergmann
frank.g...@frajasalo.de wrote:
 On Tue, 23 Feb 2010 22:32:20 -0800, Jared Casper wrote:
 The functionality I saw someplace (was it in your repo?) to attach/embed
 the log window to the main window will help out with this problem as
 well I think.

 Maybe it was in this thread:

 http://thread.gmane.org/gmane.comp.cad.geda.user/27394

 You find the patch(es) in the sf tracker:

 http://sourceforge.net/tracker/?func=detailaid=2779826group_id=73743atid=538813


Yup, that's what I was thinking of.  I think it'd be cool to see this
or something like it worked into the mainline.

Jared


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-24 Thread Kai-Martin Knaak
On Mon, 22 Feb 2010 23:42:32 +, Peter Clifton wrote:

 gschem's log window can be persuaded not to appear with this rhune in a
 gschemrc. (I have it in ~/.gEDA/gschemrc)
 
 (log-window later)

I added this to the gschem-FAQ

---(kaimartin)---
-- 
Kai-Martin Knaak
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-23 Thread Peter Clifton
On Mon, 2010-02-22 at 20:02 -0800, Jared Casper wrote:
 On Mon, Feb 22, 2010 at 3:42 PM, Peter Clifton pc...@cam.ac.uk wrote:
  I'm tempted to pay someone a bounty to kill those with fire ;)
 
  (or certainly fix the message window's focus-stealing, attention
  grabbing - behaviour. The same is true of the netlist window when you
  press F on a net.)
 
 
 Patch attached.  Here's the commit message (comments welcome):

Committed (removing a few minor trailing white-space issues).

Thank you for the patch!

We'll see how everyone (using git HEAD) finds the new behaviours, and
see if we need to adjust it at all.


I can't help but feel that some log messages are important enough to
bother the user about - and others are not.. we'll have to see what
people actually using it think, I'm not doing any PCB design work at the
moment myself.


Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-23 Thread Jared Casper
On Tue, Feb 23, 2010 at 3:53 PM, Peter Clifton pc...@cam.ac.uk wrote:
 I can't help but feel that some log messages are important enough to
 bother the user about - and others are not.. we'll have to see what
 people actually using it think, I'm not doing any PCB design work at the
 moment myself.


Maybe add a Warn function along side Message (or something along those
lines), and add a flag to HID.log that says whether or not to bring
the log window to the foreground?  Or go all out and add an enum for
severity.  It'd be easy to add the plumbing, the hard part would be to
go through and decide what Message()s should be Warn()s, etc.

I'm sure different severities could be displayed differently in the
log quite easily as well...

The functionality I saw someplace (was it in your repo?) to
attach/embed the log window to the main window will help out with this
problem as well I think.

Jared


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: Message and Library windows

2010-02-22 Thread Vanessa Ezekowitz
Is there a way to disable the Message Log and Library windows by default, in 
PCB?  I'm finding I keep these either hidden or closed a lot more than I keep 
them open.

-- 
There are some things in life worth obsessing over.  Most
things aren't, and when you learn that, life improves.
http://starbase.globalpc.net/~ezekowitz
Vanessa Ezekowitz vanessaezekow...@gmail.com


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-22 Thread Peter Clifton
On Mon, 2010-02-22 at 17:03 -0600, Vanessa Ezekowitz wrote:
 Is there a way to disable the Message Log and Library windows by
 default, in PCB?  I'm finding I keep these either hidden or closed a
 lot more than I keep them open.

I'm tempted to pay someone a bounty to kill those with fire ;)

(or certainly fix the message window's focus-stealing, attention
grabbing - behaviour. The same is true of the netlist window when you
press F on a net.)



I know it isn't what you asked, but if it is any small consolation,
gschem's log window can be persuaded not to appear with this rhune in a
gschemrc. (I have it in ~/.gEDA/gschemrc)

(log-window later)


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-22 Thread gene glick



(or certainly fix the message window's focus-stealing, attention
grabbing - behaviour. The same is true of the netlist window when you
press F on a net.)

That one burns me often :D



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Message and Library windows

2010-02-22 Thread Vanessa Ezekowitz
On Mon, 22 Feb 2010 20:02:43 -0800
Jared Casper jaredcas...@gmail.com wrote:

 On Mon, Feb 22, 2010 at 3:42 PM, Peter Clifton pc...@cam.ac.uk wrote:
  I'm tempted to pay someone a bounty to kill those with fire ;)
 
  (or certainly fix the message window's focus-stealing, attention
  grabbing - behaviour. The same is true of the netlist window when you
  press F on a net.)
 
 
 Patch attached.  Here's the commit message (comments welcome):

/me falls over

*wibble*

Thanks for the patch.  It's a nice change from the old behavior. ;-)

-- 
There are some things in life worth obsessing over.  Most
things aren't, and when you learn that, life improves.
http://starbase.globalpc.net/~ezekowitz
Vanessa Ezekowitz vanessaezekow...@gmail.com


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user