Re: [Wireshark-dev] New Wireshark welcome page!

2008-05-01 Thread Stig Bjørlykke
Just a note:
The welcome page does not look good when using a dark color theme.   
Found this when looking at bug 1735.


-- 
Stig Bjørlykke


___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-29 Thread Abhik Sarkar
> What is special about March 1st and June 14th? The welcome page will display
> a different welcome message from the message "The World's Most Popular
> Network Protocol Analyzer" on these two dates.
>
> Just curious.

This got me very curious as well... so I did a bit of digging around
and I finally found this... _July_ (Guy Harris' hint) 14th back in
1998 was probably the day Gerald announced Ethereal. I can't find any
direct evidence of this, but the USPTO (www.uspto.gov) website
suggests that was the date the trademark was first used publicly. The
alternate statement is (was) of course the motto of Ethereal.

April 1st is a bit more difficult. I can't find any major incident
related to Wireshark/Ethereal linked to that day. So, my guesses:
- Perhaps it was an important date in Gerald's switch to the new co.?
- or, it is just meant to be a April fool's day joke?
Not really sure.

I hope no one 'destroy[s my] very existence' after this ;-)

Abhik.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-22 Thread Guy Harris
Jaap Keuter wrote:

> That's classified top secret. We can tell you, but then we'll have to destroy 
> your very existence. ;)

He might also want to read the "ctime" manual page on UN*X or the 
documentation for "ctime" in the C runtime library manual, or wherever 
localtime() is documented, on Windows.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-22 Thread Jaap Keuter
Hi,

That's classified top secret. We can tell you, but then we'll have to destroy 
your very existence. ;)

Jaap

Peter Johansson wrote:
> 2008/4/21, Joerg Mayer <[EMAIL PROTECTED] >:
> 
> On Mon, Apr 21, 2008 at 12:40:36AM +0200, Ulf Lamping wrote:
>  > Joerg Mayer schrieb:
>  > > On Thu, Apr 17, 2008 at 10:20:31PM -0600, Stephen Fisher wrote:
>  > >
>  > >>> The Widget settings I've chosen are for a min. resolution of
> 1024*768,
>  > >>> before scrollbars appear (well, slightly less about 1000*700
> or so, so
>  > >>> there's some space left for things like a startmenu).
>  > >>>
>  > >> Sounds reasonable.
>  > >>
>  > >
>  > > I'm running a resolution of 1400x1050 and still have a vertical
> scrollbar
>  > > (longish filenames in the recent file list). Maybe movting the
> file list
>  > > to the right column would be a "solution" to the handling of
> long file-
>  > > names?
>  > >
>  > No, that won't make any difference - beside the fact that it
> won't make
>  > any sense from a users point of view.
>  >
>  > Longish file names of more than 60 chars should be automatically
>  > stripped down to something shorter.
>  >
>  > Maybe you are using a font size that is too large to fit into this
>  > meachnism.
> 
> gui.gtk2.font_name: Monospace 8
> 
> Is the only setting that contains the word font.
> 
> ciao
>Joerg
> --
> Joerg Mayer  
> <[EMAIL PROTECTED] >
> We are stuck with technology when what we really want is just stuff that
> works. Some say that should read Microsoft instead of technology.
> 
> 
> What is special about March 1st and June 14th? The welcome page will 
> display a different welcome message from the message "The World's Most 
> Popular Network Protocol Analyzer" on these two dates.
>  
> Just curious.
>  
> BTW, the new welcome page is very nice.
>  
> / Peter
> 

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-22 Thread Peter Johansson
2008/4/21, Joerg Mayer <[EMAIL PROTECTED]>:
>
> On Mon, Apr 21, 2008 at 12:40:36AM +0200, Ulf Lamping wrote:
> > Joerg Mayer schrieb:
> > > On Thu, Apr 17, 2008 at 10:20:31PM -0600, Stephen Fisher wrote:
> > >
> > >>> The Widget settings I've chosen are for a min. resolution of
> 1024*768,
> > >>> before scrollbars appear (well, slightly less about 1000*700 or so,
> so
> > >>> there's some space left for things like a startmenu).
> > >>>
> > >> Sounds reasonable.
> > >>
> > >
> > > I'm running a resolution of 1400x1050 and still have a vertical
> scrollbar
> > > (longish filenames in the recent file list). Maybe movting the file
> list
> > > to the right column would be a "solution" to the handling of long
> file-
> > > names?
> > >
> > No, that won't make any difference - beside the fact that it won't make
> > any sense from a users point of view.
> >
> > Longish file names of more than 60 chars should be automatically
> > stripped down to something shorter.
> >
> > Maybe you are using a font size that is too large to fit into this
> > meachnism.
>
> gui.gtk2.font_name: Monospace 8
>
> Is the only setting that contains the word font.
>
> ciao
>Joerg
> --
> Joerg Mayer   <[EMAIL PROTECTED]>
> We are stuck with technology when what we really want is just stuff that
> works. Some say that should read Microsoft instead of technology.
>

What is special about March 1st and June 14th? The welcome page will display
a different welcome message from the message "The World's Most Popular
Network Protocol Analyzer" on these two dates.

Just curious.

BTW, the new welcome page is very nice.

/ Peter
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-20 Thread Joerg Mayer
On Mon, Apr 21, 2008 at 12:40:36AM +0200, Ulf Lamping wrote:
> Joerg Mayer schrieb:
> > On Thu, Apr 17, 2008 at 10:20:31PM -0600, Stephen Fisher wrote:
> >   
> >>> The Widget settings I've chosen are for a min. resolution of 1024*768, 
> >>> before scrollbars appear (well, slightly less about 1000*700 or so, so 
> >>> there's some space left for things like a startmenu).
> >>>   
> >> Sounds reasonable.
> >> 
> >
> > I'm running a resolution of 1400x1050 and still have a vertical scrollbar
> > (longish filenames in the recent file list). Maybe movting the file list
> > to the right column would be a "solution" to the handling of long file-
> > names?
> >   
> No, that won't make any difference - beside the fact that it won't make 
> any sense from a users point of view.
> 
> Longish file names of more than 60 chars should be automatically 
> stripped down to something shorter.
> 
> Maybe you are using a font size that is too large to fit into this 
> meachnism.

gui.gtk2.font_name: Monospace 8

Is the only setting that contains the word font.

 ciao
Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-20 Thread Ulf Lamping
Joerg Mayer schrieb:
> On Thu, Apr 17, 2008 at 10:20:31PM -0600, Stephen Fisher wrote:
>   
>>> The Widget settings I've chosen are for a min. resolution of 1024*768, 
>>> before scrollbars appear (well, slightly less about 1000*700 or so, so 
>>> there's some space left for things like a startmenu).
>>>   
>> Sounds reasonable.
>> 
>
> I'm running a resolution of 1400x1050 and still have a vertical scrollbar
> (longish filenames in the recent file list). Maybe movting the file list
> to the right column would be a "solution" to the handling of long file-
> names?
>   
No, that won't make any difference - beside the fact that it won't make 
any sense from a users point of view.

Longish file names of more than 60 chars should be automatically 
stripped down to something shorter.

Maybe you are using a font size that is too large to fit into this 
meachnism.

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-20 Thread Joerg Mayer
On Thu, Apr 17, 2008 at 10:20:31PM -0600, Stephen Fisher wrote:
> > The Widget settings I've chosen are for a min. resolution of 1024*768, 
> > before scrollbars appear (well, slightly less about 1000*700 or so, so 
> > there's some space left for things like a startmenu).
> 
> Sounds reasonable.

I'm running a resolution of 1400x1050 and still have a vertical scrollbar
(longish filenames in the recent file list). Maybe movting the file list
to the right column would be a "solution" to the handling of long file-
names?

 ciao
Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Michael Tüxen
On Apr 19, 2008, at 11:27 AM, Ulf Lamping wrote:

> Michael Tüxen schrieb:
>> Dear all,
>>
>> actually I think that
>> - all entries in 'Capture Help' should be moved to 'Online'.
>> - 'Capture Help' can be removed.
>> - 'Sample Captures' should be moved to 'Online'.
>>
>> This would result in three columns:
>> * Capture
>> * Files
>> * Onine
>>
>> For me this would be easier to understand, especially, everything
>> which is provided on the Internet is listed in 'Online'.
>>
>> What do you think? Ulf?
>>
> To be honest, I don't think it's a good idea ;-)
>
> Some general thoughts on the welcome page.
>
> What can you do after you've started Wireshark:
> 1) Start a capture
> 2) Open a capture file
> 3) Tweak some settings
> 4) Prepare for huge capture files by opening relevant Statistics, etc.
> 5) Get some general information what this Wireshark is all about :-)
>
> Tasks 3 and 4 are obviously more related to advanced users - and
> probably not really suitable for a welcome page.
>
> My idea for the welcome page was to have the related *tasks* grouped  
> in
> the columns:
> all that is capture related in one topic (including related help)
> all that is file related in one topic (including often asked example
> captures)
> some general help to start working with Wireshark in one topic
>
>
> I'm not sure what confuses you here. Maybe you think that:
>
> a) there should be a strict seperation between online and offline  
> stuff?
> IMHO moving all online stuff into one column would end up in one of
> these link lists that no one cares about to use - or even read.
> If we really want to have a better seperation here, we should better
> visualize the difference between online and offline stuff, e.g. using
> different background colors. But I'm not a big fan of it.
>
> b) there's an Online column and also online stuff in other columns  
> as well?
> I don't mind to change the name of the online column into something  
> like
> "General Help", "Miscellaneous" or whatever fit's better here.
Yes, that was the point confusing me...
>
>
> Regards, ULFL
>
>
> ___
> Wireshark-dev mailing list
> Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Stig Bjørlykke schrieb:
> When starting a capture with a file loaded, or restarting a running  
> capture, we always get the welcome page in a split second after the  
> current file is closed and before the new capture starts.
>
> Maybe we should have the old empty page in this situations?
>   
We could do so.

But: We currently have no such state "empty, but do not show the welcome 
page", so this would complicate the code.

As I currently don't really know how the main window will/should look 
like in the future, I would hesitate to implement a - potentially 
temporary - solution for this now.

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Ulf Lamping schrieb:
> Jim Young schrieb:
>   
>> Attached patch (to SVN 25119) stops these particular 
>> messages during startup of Wireshark on my system.
>>
>> In my case it's the first call to gtk/main_welcome.c's 
>> main_welcome_reset_recent_capture_files() that triggers 
>> the error messages.  Specifically it's the call to 
>> get_container_get_children(welcome_file_panel_vb).  
>>
>> This error seems to be triggered because the variable
>> welcome_file_panel_vb was NULL at this time.   
>>
>> The attached patch simply tests for a non-NULL 
>> welcome_file_panel_vb before attempting to get the 
>> child_list.
>>
>> Is this the proper fix, or should welcome_file_panel_vb 
>> have actually had a non-NULL value by the time
>> main_welcome_reset_recent_capture_files() is first 
>> called?
>>
>> Hope this helps.
>>   
>> 
> Thanks!
>
> At least this should remove the GTK output Stig and you see. Maybe this 
> is caused by different GTK versions, as I don't see this output. Just 
> out of interest, what GTK version are you using (under Help/About)?
>
> I've tried to commit the patch, but Gerald currently seems to have the 
> SVN server down for maintenance. I'll try it later again ...
>   
Checked in a fix for both in SVN 25120.

Should be working again ...

Regards, ULFL

P.S: Yes Jim, this was the right fix. The menu stuff is calling the 
reset function, before the welcome page is even initialized.

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Stig Bjørlykke schrieb:
> On 19. april. 2008, at 15.39, Ulf Lamping wrote:
>   
>> Huh, that was a real though one - I spend several days on it now, but
>> still no optimal solution!
>> 
> My list of recent files is empty after this update, and I get this new  
> warnings on startup, both on Ubuntu and OSX:
> (wireshark:19088): GLib-GObject-CRITICAL **: g_object_get_data:  
> assertion `G_IS_OBJECT (object)' failed
>
> (wireshark:19088): GLib-GObject-CRITICAL **: g_object_get_data:  
> assertion `G_IS_OBJECT (object)' failed
>   
I think I found the problem, but the SVN server currently seems down, 
I've appended the required patch for the impatient ;-)

Regards, ULFL




Index: C:/Wireshark/subversion/gtk/main_welcome.c
===
--- C:/Wireshark/subversion/gtk/main_welcome.c(revision 25119)
+++ C:/Wireshark/subversion/gtk/main_welcome.c(working copy)
@@ -135,6 +135,7 @@
 gtk_container_remove(GTK_CONTAINER(parent_box), child_box);
 gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrollw),
   child_box);
+gtk_widget_show_all(scrollw);
 }
 
 return child_box;
@@ -418,16 +419,18 @@
 GList* child_list_item;
 
 
-child_box = scroll_box_dynamic_reset(welcome_file_panel_vb);
-child_list = gtk_container_get_children(GTK_CONTAINER(child_box));
-child_list_item = child_list;
+if(welcome_file_panel_vb) {
+child_box = scroll_box_dynamic_reset(welcome_file_panel_vb);
+child_list = gtk_container_get_children(GTK_CONTAINER(child_box));
+child_list_item = child_list;
 
-while(child_list_item) {
-gtk_container_remove(GTK_CONTAINER(child_box), 
child_list_item->data);
-child_list_item = g_list_next(child_list_item);
+while(child_list_item) {
+gtk_container_remove(GTK_CONTAINER(child_box), 
child_list_item->data);
+child_list_item = g_list_next(child_list_item);
+}
+
+g_list_free(child_list);
 }
-
-g_list_free(child_list);
 }
 
 

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Jim Young schrieb:
> Attached patch (to SVN 25119) stops these particular 
> messages during startup of Wireshark on my system.
>
> In my case it's the first call to gtk/main_welcome.c's 
> main_welcome_reset_recent_capture_files() that triggers 
> the error messages.  Specifically it's the call to 
> get_container_get_children(welcome_file_panel_vb).  
>
> This error seems to be triggered because the variable
> welcome_file_panel_vb was NULL at this time.   
>
> The attached patch simply tests for a non-NULL 
> welcome_file_panel_vb before attempting to get the 
> child_list.
>
> Is this the proper fix, or should welcome_file_panel_vb 
> have actually had a non-NULL value by the time
> main_welcome_reset_recent_capture_files() is first 
> called?
>
> Hope this helps.
>   
Thanks!

At least this should remove the GTK output Stig and you see. Maybe this 
is caused by different GTK versions, as I don't see this output. Just 
out of interest, what GTK version are you using (under Help/About)?

I've tried to commit the patch, but Gerald currently seems to have the 
SVN server down for maintenance. I'll try it later again ...

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Jim Young
Hello Ulf,

>>> Ulf Lamping <[EMAIL PROTECTED]> 2008-04-19 10:08 >>>
> Stig Bjørlykke schrieb:
>> (wireshark:19088): GLib-GObject-CRITICAL **: g_object_get_data:  
>> assertion `G_IS_OBJECT (object)' failed
>
> I just don't see those errors on XP!
> 
> ...and again that lovely little beast called GTK+ ;-)
> 
> Could you step through welcome_new() in gtk/main_welcome.c 
> and tell me where this is happening?

Attached patch (to SVN 25119) stops these particular 
messages during startup of Wireshark on my system.

In my case it's the first call to gtk/main_welcome.c's 
main_welcome_reset_recent_capture_files() that triggers 
the error messages.  Specifically it's the call to 
get_container_get_children(welcome_file_panel_vb).  

This error seems to be triggered because the variable
welcome_file_panel_vb was NULL at this time.   

The attached patch simply tests for a non-NULL 
welcome_file_panel_vb before attempting to get the 
child_list.

Is this the proper fix, or should welcome_file_panel_vb 
have actually had a non-NULL value by the time
main_welcome_reset_recent_capture_files() is first 
called?

Hope this helps.

Jim Y.
Index: gtk/main_welcome.c
===
--- gtk/main_welcome.c  (revision 25119)
+++ gtk/main_welcome.c  (working copy)
@@ -418,16 +418,18 @@
 GList* child_list_item;
 
 
-child_box = scroll_box_dynamic_reset(welcome_file_panel_vb);
-child_list = gtk_container_get_children(GTK_CONTAINER(child_box));
-child_list_item = child_list;
+if(welcome_file_panel_vb) {
+child_box = scroll_box_dynamic_reset(welcome_file_panel_vb);
+child_list = gtk_container_get_children(GTK_CONTAINER(child_box));
+child_list_item = child_list;
 
-while(child_list_item) {
-gtk_container_remove(GTK_CONTAINER(child_box), child_list_item->data);
-child_list_item = g_list_next(child_list_item);
+while(child_list_item) {
+gtk_container_remove(GTK_CONTAINER(child_box), 
child_list_item->data);
+child_list_item = g_list_next(child_list_item);
+}
+
+g_list_free(child_list);
 }
-
-g_list_free(child_list);
 }
 
 
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Gerald Combs schrieb:
> Ulf Lamping wrote:
>   
>> However, a basic news panel *might* be useful. Problem here: for example
>> you won't get freshly developed features if you are using the WS release
>> versions. I currently don't see a good way to handle these problems, but
>> this might be a future thing to think about.
>> 
>
> We can get version information from 
> http://www.wireshark.org/wireshark-pad.xml,
> and I can always add a more easily-parsed version file if needed. 
Yes, I was also thinking of using the pad file, I had a look - it would 
be easy enough to parse. But the things to start thinking about would be 
having two of them, one for the official released branch (V1.2 or V2.0 
later) and one for the developer releases V1.1. There's a lot more to 
think about, an outdated list of things is at: 
http://wiki.wireshark.org/Development/Update (however that page is a bit 
outdated, today I would do some of the things quite different than 
outlined on that page).

All of those things aren't that hard to solve, but it just takes some 
time/effort to do them. And a crappy update mechanism is a real PITA so 
we should be careful when we implement it!
> We could pull
> news from http://www.wireshark.org/news.rss. But..
>>> 7) Since Wireshark is hosted by CACE, maybe they'd like to plug their
>>> site?  WiresharkU?
>>>   
>> I strongly oppose *any* advertisements on the Wireshark user interface,
>> be it for CACE, WiresharkU or anything else. The day I see
>> advertisements on the Wireshark GUI, I will stop immediately to work on
>> it any further - or maybe I would start a project fork!!! We are talking
>> about an open source program here - I really, really don't like to see
>> it to become adware!
>> 
> ...I can't guarantee that news.rss won't contain any advertising. The current
> top news item is an announcement for Pilot, and past items have announced
> Sharkfest.
>   
So I don't think it would be a good idea to do it that way - it contains 
a lot of (direct and indirect) advertising.

I'm still even unsure how to do such a news thingie in a way that it is 
really helpful for our users.
> On the subject of advertising, how do people feel about me mentioning CACE
> products in the mailing lists? So far I've resisted, but it's pretty difficult
> (for example, when someone says they're having trouble capturing .11 traffic 
> in
> Windows).
>   
Well, IMHO you as the project lead should be careful not to blurr the 
line between the Wireshark project lead and the CACE employee (which you 
did well in the past).

But I don't have a problem if someone specificially asks about 802.11 
capturing on Windows that you point him to the CACE airpcap website.

Regards, ULFL

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Stig Bjørlykke schrieb:
> On 19. april. 2008, at 15.39, Ulf Lamping wrote:
>
>   
>> Huh, that was a real though one - I spend several days on it now, but
>> still no optimal solution!
>> 
>
> My list of recent files is empty after this update, and I get this new  
> warnings on startup, both on Ubuntu and OSX:
>
> (wireshark:19088): GLib-GObject-CRITICAL **: g_object_get_data:  
> assertion `G_IS_OBJECT (object)' failed
>
> (wireshark:19088): GLib-GObject-CRITICAL **: g_object_get_data:  
> assertion `G_IS_OBJECT (object)' failed
>   
Hi!

I just don't see those errors on XP!

...and again that lovely little beast called GTK+ ;-)

Could you step through welcome_new() in gtk/main_welcome.c and tell me 
where this is happening?

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Stig Bjørlykke
On 19. april. 2008, at 15.39, Ulf Lamping wrote:

> Huh, that was a real though one - I spend several days on it now, but
> still no optimal solution!

My list of recent files is empty after this update, and I get this new  
warnings on startup, both on Ubuntu and OSX:

(wireshark:19088): GLib-GObject-CRITICAL **: g_object_get_data:  
assertion `G_IS_OBJECT (object)' failed

(wireshark:19088): GLib-GObject-CRITICAL **: g_object_get_data:  
assertion `G_IS_OBJECT (object)' failed



-- 
Stig Bjørlykke


___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Gerald Combs schrieb:
> Ulf Lamping wrote:
>
>   
>> I would be interested in feedback:
>> - was the page intuitive right from the start or was something really 
>> confusing?
>> - something missing / should be added?
>> - should something really be removed?
>> - what do you think about this page in general?
>> - bugs?
>> 
>
> It looks great! Much better than what we had before. 
Thanks!
> I usually set
> gui.recent_files_count.max to 25, and this makes the "Files" area huge, on
> Windows and Ubuntu at least. A Windows screen shot is attached.
>   
Huh, that was a real though one - I spend several days on it now, but 
still no optimal solution!

I've committed an automatism to svn, once the recent files list get 
above 17 or the capture interface list get's above 8, the list will be 
placed into a scolled window. The magic numbers 8 and 17 comes from the 
number of items to be placed without application scollbars with a min. 
screen resolution of 1024*768 (appl will have slightly more than around 
1000*700 pixels left).

Although I think it's better than before, I'm still not really satisfied 
with the current solution. But I'm just too tired/bored to work even 
further on it ...

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Joerg Mayer
On Sat, Apr 19, 2008 at 10:28:30AM +0200, Ulf Lamping wrote:
> P.S: See 
> http://library.gnome.org/devel/hig-book/stable/principles-simplicity.html.en

And that's the reason why I'm not using Gnome but KDE :-)

 ciao
  Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Stig Bjørlykke

When starting a capture with a file loaded, or restarting a running  
capture, we always get the welcome page in a split second after the  
current file is closed and before the new capture starts.

Maybe we should have the old empty page in this situations?


-- 
Stig Bjørlykke


___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Michael Tüxen schrieb:
> Dear all,
>
> actually I think that
> - all entries in 'Capture Help' should be moved to 'Online'.
> - 'Capture Help' can be removed.
> - 'Sample Captures' should be moved to 'Online'.
>
> This would result in three columns:
> * Capture
> * Files
> * Onine
>
> For me this would be easier to understand, especially, everything
> which is provided on the Internet is listed in 'Online'.
>
> What do you think? Ulf?
>   
To be honest, I don't think it's a good idea ;-)

Some general thoughts on the welcome page.

What can you do after you've started Wireshark:
1) Start a capture
2) Open a capture file
3) Tweak some settings
4) Prepare for huge capture files by opening relevant Statistics, etc.
5) Get some general information what this Wireshark is all about :-)

Tasks 3 and 4 are obviously more related to advanced users - and 
probably not really suitable for a welcome page.

My idea for the welcome page was to have the related *tasks* grouped in 
the columns:
all that is capture related in one topic (including related help)
all that is file related in one topic (including often asked example 
captures)
some general help to start working with Wireshark in one topic


I'm not sure what confuses you here. Maybe you think that:

a) there should be a strict seperation between online and offline stuff?
IMHO moving all online stuff into one column would end up in one of 
these link lists that no one cares about to use - or even read.
If we really want to have a better seperation here, we should better 
visualize the difference between online and offline stuff, e.g. using 
different background colors. But I'm not a big fan of it.

b) there's an Online column and also online stuff in other columns as well?
I don't mind to change the name of the online column into something like 
"General Help", "Miscellaneous" or whatever fit's better here.

Regards, ULFL


___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Michael Tüxen schrieb:
> and what I missed:
>
> Put 'Capture Options' on top of 'Interface List' like
> 'Open' is on top of the recent file list. 
IMHO 'Capture Options' is a really cluttered and hard to understand 
dialog - which provides options that most users just don't need.

I hesitate to put the most complicated dialog right to the top.
> Maybe we
> should have a bold item 'Recent Files' or so 
I've tried, it looks ugly.
> to
> get the left most and middle column structured the same way.
>   
The left most and middle column in fact *are* already structured the 
same way.

First you'll have an item that opens a dialog to choose capture 
interface / file to open/capture - easiest way to Capture / File as the 
topic suggests.
Second you'll have a list of previously selected stuff.
Then more detailed stuff follows.

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-19 Thread Ulf Lamping
Graeme Lunt schrieb:
>> No, that's what the about dialog is for. I want to avoid too much
>> information on that page, because it will get more and more confusing
>> and less informative.
>> 
> I think it is useful to have this information on the front page as
> most users will never actually go and look at the about dialog. If
> they can see that their copy of Wireshark is 12 months out of date
> when they start it, they might look for a later version.
>   
So how do they know that the version is 12 months old? How do they know 
that a new version is available every 3-6 months or so? Do they actually 
care about these details?

IMHO, this version discussion is a very developer centric point of view. 
For a developer it's important to know it, if some user comes up with a 
problem.


BUT - to my experience - for a common user this usually is of NO interest.
>> Hopefully we'll get an automatic update mechanism for the Windows
>> version in the not too distant future, so the version info won't be that
>> interesting as it currently may seem.
>> 
> Unfortunately, for my user community (and I suspect others), they will
> not be able to use this functionality as they will generally be on an
> isolated network.
>   
While my user community will be able to use this update mechanism, I 
also have to face this problem until the update stuff is available, 
here's how I currently deal with it:

a) set up an "in house" webpage, centric to the protocols and stuff used 
"in house" (with a specialised changelog, install instructions of WS and 
additional "in house" stuff like special settings, filter strings that 
proved useful, ...)
b) set up an "in house" mailing list (low volume) where users can 
register - I manually maintain this list

So everytime I get contacted by someone using Wireshark in house, I 
point him to our webpage and mention the mailing list - in the long run 
this saved me a *lot* of time as the number of user questions went down 
dramatically! For every new WS version, I'll send out a mail with 
details of the changes, where to find install files, some general news, ...


Even with all this stuff, getting a mail for a new version and alike, 
users don't tend to upgrade their WS if a new version comes out.


To my opinion, most users will simply ignore the version number - and 
therefore it's not a good idea to clutter the welcome page with it ...

Regards, ULFL

P.S: See 
http://library.gnome.org/devel/hig-book/stable/principles-simplicity.html.en
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Stephen Fisher
On Thu, Apr 17, 2008 at 04:40:10PM -0700, Gerald Combs wrote:

> On the subject of advertising, how do people feel about me mentioning 
> CACE products in the mailing lists? So far I've resisted, but it's 
> pretty difficult (for example, when someone says they're having 
> trouble capturing .11 traffic in Windows).

I'm ok with occasional mentions of CACE products on the lists since they 
sponsor us and their products are tightly integrated with Wireshark (and 
are good products based on my experience with AirPcap).  I don't want 
everyone to start advertising their products though.

I also agree with Ulf in that Wireshark itself should not contain 
advertising as it is open source software and thus is not tied to any 
one company.  The Wireshark program can direct people to the Wireshark 
web site and from there users can find out about CACE products and 
Wireshark University.


Steve
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Michael Tüxen
and what I missed:

Put 'Capture Options' on top of 'Interface List' like
'Open' is on top of the recent file list. Maybe we
should have a bold item 'Recent Files' or so to
get the left most and middle column structured the same way.

Best regards
Michael

On Apr 18, 2008, at 10:52 PM, Michael Tüxen wrote:

> Dear all,
>
> actually I think that
> - all entries in 'Capture Help' should be moved to 'Online'.
> - 'Capture Help' can be removed.
> - 'Sample Captures' should be moved to 'Online'.
>
> This would result in three columns:
> * Capture
> * Files
> * Onine
>
> For me this would be easier to understand, especially, everything
> which is provided on the Internet is listed in 'Online'.
>
> What do you think? Ulf?
>
> Best regards
> Michael
>
> On Apr 18, 2008, at 10:17 PM, Joerg Mayer wrote:
>
>>> Capture: Start a capture (incl. special help)
>>> Files: Open a file
>>> Online: What to find online
>>
>> I think the help pages for capturing should be moved to the online
>> section,
>> as it won't be of any help if the user doesn't have internet access.
>>
>> ciao
>> Joerg
>> -- 
>> Joerg Mayer   <[EMAIL PROTECTED]
>>>
>> We are stuck with technology when what we really want is just stuff
>> that
>> works. Some say that should read Microsoft instead of technology.
>> ___
>> Wireshark-dev mailing list
>> Wireshark-dev@wireshark.org
>> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
> ___
> Wireshark-dev mailing list
> Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Michael Tüxen
Dear all,

actually I think that
- all entries in 'Capture Help' should be moved to 'Online'.
- 'Capture Help' can be removed.
- 'Sample Captures' should be moved to 'Online'.

This would result in three columns:
* Capture
* Files
* Onine

For me this would be easier to understand, especially, everything
which is provided on the Internet is listed in 'Online'.

What do you think? Ulf?

Best regards
Michael

On Apr 18, 2008, at 10:17 PM, Joerg Mayer wrote:

>> Capture: Start a capture (incl. special help)
>> Files: Open a file
>> Online: What to find online
>
> I think the help pages for capturing should be moved to the online  
> section,
> as it won't be of any help if the user doesn't have internet access.
>
> ciao
>  Joerg
> -- 
> Joerg Mayer   <[EMAIL PROTECTED] 
> >
> We are stuck with technology when what we really want is just stuff  
> that
> works. Some say that should read Microsoft instead of technology.
> ___
> Wireshark-dev mailing list
> Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Joerg Mayer
> Capture: Start a capture (incl. special help)
> Files: Open a file
> Online: What to find online

I think the help pages for capturing should be moved to the online section,
as it won't be of any help if the user doesn't have internet access.

 ciao
  Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Ulf Lamping
Thomas Anders schrieb:
> Ulf Lamping wrote:
>   
>> I've just finished the initial version of a Wireshark welcome page.
>> 
>
> I agree it's an excellent idea.
>
>   
>> Files: Open a file
>> 
>
> Isn't the term "Open Recent" (seen in r25109) below "Open a previously 
> captured file" redundant?
>   
No :-)

The first is a part of the button text, the second is the "start of the 
list". But "Open a recently used file:" wasn't looking that good ...

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Anders Broman
Hi,
The "proper" patch would then be:
Index: gtk/main_welcome.c
===
--- gtk/main_welcome.c  (revision 25109)
+++ gtk/main_welcome.c  (working copy)
@@ -53,8 +53,8 @@
 #include "gtk/help_dlg.h"
 #include "gtk/stock_icons.h"
 #include "../image/wssplash.xpm"
+#include "../version_info.h"
 
-
 /* XXX */
 extern gint if_list_comparator_alph (const void *first_arg, const void 
*second_arg);
 
@@ -170,12 +170,22 @@
 gtk_box_pack_start(GTK_BOX(item_hb), icon, FALSE, FALSE, 10);
 
 if ((now->tm_mon == 3 && now->tm_mday == 1) || (now->tm_mon = 6 && 
now->tm_mday == 14)) {
-message = "" "Sniffing the glue 
that holds the Internet together" "";
+message = g_strdup_printf(
+   ""
+   "Sniffing the glue that holds the Internet together"
+   "");
 } else {
-message = "" "The World's Most 
Popular Network Protocol Analyzer" "";
+   message = g_strdup_printf(
+   ""
+   "The World's Most Popular Network Protocol Analyzer"
+   "\n"
+   "Version " VERSION "%s"
+   "",wireshark_svnversion);
+
 }
 w = gtk_label_new(message);
 gtk_label_set_markup(GTK_LABEL(w), message);
+   g_free(message);
 gtk_misc_set_alignment (GTK_MISC(w), 0.0, 0.5);
 gtk_box_pack_start(GTK_BOX(item_hb), w, TRUE, TRUE, 5); 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stig Bjørlykke
Sent: den 18 april 2008 11:07
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] New Wireshark welcome page!

2008/4/18, Anders Broman <[EMAIL PROTECTED]>:
> I did a quick hack to see what it would look like and I don't think 
> it's  too bad. It would probably look better if it wasn't in bold(not sure 
> how to do that).

This works for me, and I find it really useful when working with a lot of 
versions:

+  message = g_strdup_printf(
+  ""
+  "The World's Most Popular Network Protocol Analyzer"
+  "\n"
+  "Version " VERSION "%s"
+  "",wireshark_svnversion);


--
Stig Bjørlykke
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Thomas Anders
Ulf Lamping wrote:
> I've just finished the initial version of a Wireshark welcome page.

I agree it's an excellent idea.

> Files: Open a file

Isn't the term "Open Recent" (seen in r25109) below "Open a previously captured 
file" redundant?


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)  
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Stig Bjørlykke
2008/4/18, Anders Broman <[EMAIL PROTECTED]>:
> I did a quick hack to see what it would look like and I don't think it's
>  too bad. It would probably look better if it wasn't in bold(not sure how to 
> do that).

This works for me, and I find it really useful when working with a lot
of versions:

+  message = g_strdup_printf(
+  ""
+  "The World's Most Popular Network Protocol Analyzer"
+  "\n"
+  "Version " VERSION "%s"
+  "",wireshark_svnversion);


-- 
Stig Bjørlykke
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-18 Thread Anders Broman
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graeme Lunt
Sent: den 18 april 2008 08:50
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] New Wireshark welcome page!


>> > One suggestion - how about including the version information 
>> > (including a build date)?
>> >
>> No, that's what the about dialog is for. I want to avoid too much 
>> information on that page, because it will get more and more confusing

>> and less informative.

>I think it is useful to have this information on the front page as most
users will never actually go and look at the about dialog. If they can 
>see that their copy of Wireshark is 12 months out of date when they
start it, they might look for a later version.

I did a quick hack to see what it would look like and I don't think it's
too bad. It would probably look
better if it wasn't in bold(not sure how to do that).
Regards
Anders

Index: gtk/main_welcome.c
===
--- gtk/main_welcome.c  (revision 25109)
+++ gtk/main_welcome.c  (working copy)
@@ -53,8 +53,8 @@
 #include "gtk/help_dlg.h"
 #include "gtk/stock_icons.h"
 #include "../image/wssplash.xpm"
+#include "../version_info.h"
 
-
 /* XXX */
 extern gint if_list_comparator_alph (const void *first_arg, const void
*second_arg);
 
@@ -172,7 +172,13 @@
 if ((now->tm_mon == 3 && now->tm_mday == 1) || (now->tm_mon = 6 &&
now->tm_mday == 14)) {
 message = "" "Sniffing
the glue that holds the Internet together" "";
 } else {
-message = "" "The
World's Most Popular Network Protocol Analyzer" "";
+   message = g_strdup_printf(
+   ""
+   "The World's Most Popular Network Protocol
Analyzer"
+   "\n"
+   "Version " VERSION "%s"
+   "",wireshark_svnversion);
+
 }
 w = gtk_label_new(message);
 gtk_label_set_markup(GTK_LABEL(w), message);
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Graeme Lunt
Ulf,

> > One suggestion - how about including the version information
> > (including a build date)?
> >
> No, that's what the about dialog is for. I want to avoid too much
> information on that page, because it will get more and more confusing
> and less informative.

I think it is useful to have this information on the front page as
most users will never actually go and look at the about dialog. If
they can see that their copy of Wireshark is 12 months out of date
when they start it, they might look for a later version.

> Hopefully we'll get an automatic update mechanism for the Windows
> version in the not too distant future, so the version info won't be that
> interesting as it currently may seem.

Unfortunately, for my user community (and I suspect others), they will
not be able to use this functionality as they will generally be on an
isolated network.

> > One bug - (on Windows) if I select "Open (Open a previously captured
> > file)" and then cancel the dialog - then clicking anywhere (even on
> > the toolbar and menubar) on Wireshark will always bring the open
> > dialog back up.
> >
> I can reproduce this bug, but unfortunaetely even after debugging I have
> no clue what's going on or how to solve this one :-(
>
> You may file a bug report ...

Will do.

Graeme
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Jaap Keuter
Hi,

Like Chris said, if a product matches the requirements it's no problem 
mentioning it. Their has to be a clear remark it's a commercial product though 
and that the reporter (you fi.) are related to the company selling it. That is 
to avoid creating the image of pushing the products.

Thanx,
Jaap

Maynard, Chris wrote:
> Gerald,
> 
> I think if you search back through the mailing list archives, you'll
> find mention of a number of commercial products, and I don't recall
> there being any uproar on the list about any of them because of it.
> Just because this is an open-source project, I don't think that
> prohibits the mentioning of commercially available products when
> relevant and appropriate.  If you can recommend a useful product that
> may help someone else - whether it's an open-source product or not - I
> think it's perfectly reasonable to do so.
> 
> Maybe others have a different opinion, but that's just my 2 cents, for
> what it's worth.
> - Chris
> 
> Gerald Combs wrote:
>> On the subject of advertising, how do people feel about me mentioning
> CACE
>> products in the mailing lists? So far I've resisted, but it's pretty 
>> difficult
>> (for example, when someone says they're having trouble capturing .11 
>> traffic in Windows).

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Jaap Keuter
Hi,

I have to side with Ulf on this one. This panel has to be user action 
oriented, like a launchpad for his/her most usual actions. That is what the 
items you list are for. Any additional information clutters the interface, 
which is not a good thing.

Thanx,
Jaap

Joerg Mayer wrote:
> On Fri, Apr 18, 2008 at 02:19:30AM +0200, Ulf Lamping wrote:
>> Graeme Lunt schrieb:
>>> Brilliant!
>>>   
>> Thanks!
>>> One suggestion - how about including the version information
>>> (including a build date)?
>>>   
>> No, that's what the about dialog is for. I want to avoid too much 
>> information on that page, because it will get more and more confusing 
>> and less informative.
> 
> Umm, and the list of recent files it what the file menu is for, and the
> list of capture interfaces is what the capture interface menu is for?
> I really think that printing the Wireshark logo *and version* would be
> a rather useful thing to do at startup.
> 
>  Ciao
>Joerg

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Joerg Mayer
On Fri, Apr 18, 2008 at 02:19:30AM +0200, Ulf Lamping wrote:
> Graeme Lunt schrieb:
> > Brilliant!
> >   
> Thanks!
> > One suggestion - how about including the version information
> > (including a build date)?
> >   
> No, that's what the about dialog is for. I want to avoid too much 
> information on that page, because it will get more and more confusing 
> and less informative.

Umm, and the list of recent files it what the file menu is for, and the
list of capture interfaces is what the capture interface menu is for?
I really think that printing the Wireshark logo *and version* would be
a rather useful thing to do at startup.

 Ciao
   Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Maynard, Chris
Gerald,

I think if you search back through the mailing list archives, you'll
find mention of a number of commercial products, and I don't recall
there being any uproar on the list about any of them because of it.
Just because this is an open-source project, I don't think that
prohibits the mentioning of commercially available products when
relevant and appropriate.  If you can recommend a useful product that
may help someone else - whether it's an open-source product or not - I
think it's perfectly reasonable to do so.

Maybe others have a different opinion, but that's just my 2 cents, for
what it's worth.
- Chris

Gerald Combs wrote:
> On the subject of advertising, how do people feel about me mentioning
CACE
> products in the mailing lists? So far I've resisted, but it's pretty 
> difficult
> (for example, when someone says they're having trouble capturing .11 
> traffic in Windows).
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Stephen Fisher
On Fri, Apr 18, 2008 at 03:02:37AM +0200, Ulf Lamping wrote:
> Stephen Fisher schrieb:

> > What resolution is it designed for though?  1024x768?  Is it possible (I 
> > haven't looked at how this is even implemented yet) to let it 
> > stretch/compress depending on the width of the Wireshark window like 
> > well behaved web pages do?
>
> Well, it does already. But with GTK, there's a minimum size a Widget 
> takes, so it can't become smaller - if you minimize the page even 
> smaller than the sum of those minimum widget sizes, the page will show 
> up scrollbars.

Ah, that's right.

> The Widget settings I've chosen are for a min. resolution of 1024*768, 
> before scrollbars appear (well, slightly less about 1000*700 or so, so 
> there's some space left for things like a startmenu).

Sounds reasonable.


Steve

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Jim Young
Hello Ulf,

>>> Ulf Lamping <[EMAIL PROTECTED]> 2008-04-17 04:35 >>>
>> Guy Harris schrieb:
>> Stig Bjørlykke wrote:
>>   
>>> On startup I get this warning:
>>> (wireshark:26750): Gtk-CRITICAL **: gtk_container_foreach:
assertion
>>> `GTK_IS_CONTAINER (container)' failed
>>> 
>> That appears to be happening in the gtk_container_foreach() call in

>> clear_menu_recent_capture_file_cmd_cb().  I haven't yet figured out
why 
>> the widget isn't considered a container.
>>   
>Interestingly, even after experimenting a bit I just don't get that 
> warning on XP.
>
> Could someone that get's the warning have a closer look?

After doing an svn update to 25109 (and applying a small patch 
to gtk/webbrowser.c to allow compilation to complete), I chased
down one source of the above "Gtk-CRITICAL" message.

In my case the call to get_container_get_children() in the first call
to 
gtk/main_welcome.c's main_welcome_reset_recent_capture_files()
triggered the error message.  This error seems to have appeared 
because welcome_file_panel_vb was NULL at this time.   The attached 
patch simply tests for a non-null welcome_file_panel_vb before 
attempting to get the child_list.

Is this the proper fix, or should welcome_file_panel_vb have actually
had a non-null value by the time
main_welcome_reset_recent_capture_files()
is first called?

Hope this helps.

Jim Y.


Index: gtk/main_welcome.c
===
--- gtk/main_welcome.c  (revision 25109)
+++ gtk/main_welcome.c  (working copy)
@@ -322,15 +322,17 @@
 GList* child_list;
 GList* child_list_item;
 
-child_list = 
gtk_container_get_children(GTK_CONTAINER(welcome_file_panel_vb));
-child_list_item = child_list;
+if(welcome_file_panel_vb) {
+child_list = 
gtk_container_get_children(GTK_CONTAINER(welcome_file_panel_vb));
+child_list_item = child_list;
 
-while(child_list_item) {
-gtk_container_remove(GTK_CONTAINER(welcome_file_panel_vb), 
child_list_item->data);
-child_list_item = g_list_next(child_list_item);
+while(child_list_item) {
+gtk_container_remove(GTK_CONTAINER(welcome_file_panel_vb), 
child_list_item->data);
+child_list_item = g_list_next(child_list_item);
+}
+
+g_list_free(child_list);
 }
-
-g_list_free(child_list);
 }
 
 
Index: gtk/webbrowser.c
===
--- gtk/webbrowser.c(revision 25109)
+++ gtk/webbrowser.c(working copy)
@@ -42,7 +42,10 @@
 
 #include "gtk/webbrowser.h"
 
+static gchar *
+filename2uri(const gchar *filename);
 
+
 /*
  * For GNOME 2.x, we might be able to use "gnome_url_show()" (when we offer
  * the ability to build a GNOMEified Wireshark as well as a GTK+-only
@@ -379,7 +382,7 @@
  * @return a newly allocated uri, you must g_free it later
  */
 static gchar *
-filename2uri(gchar *filename)
+filename2uri(const gchar *filename)
 {
 int i = 0;
 gchar *file_tmp;
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Stephen Fisher schrieb:
> On Thu, Apr 17, 2008 at 03:21:37AM +0200, Ulf Lamping wrote
>> I've just finished the initial version of a Wireshark welcome page.
>>
>> That welcome page is shown when no capture file is loaded - well, 
>> you'll immediately see it just when you start Wireshark (SVN25083 or 
>> later).
>> 
> I was impressed from the moment I saw it :).
>   
:-)
> What resolution is it designed for though?  1024x768?  Is it possible (I 
> haven't looked at how this is even implemented yet) to let it 
> stretch/compress depending on the width of the Wireshark window like 
> well behaved web pages do?
>   
Well, it does already. But with GTK, there's a minimum size a Widget 
takes, so it can't become smaller - if you minimize the page even 
smaller than the sum of those minimum widget sizes, the page will show 
up scrollbars. The Widget settings I've chosen are for a min. resolution 
of 1024*768, before scrollbars appear (well, slightly less about 
1000*700 or so, so there's some space left for things like a startmenu).

I'm currently working on a mechanism to automatically show scrollbars 
for the recent file/interface lists, if they are very large - we'll see 
if I have success with this.

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Michael Tüxen schrieb:
> Hi Ulf,
>
> I really like it. And I think it should have a clean not overload
> design. Like it is now.
>
> One comment from me:
>
> There is a column 'Online' which I would then expect to contain
> all contents which is online. But this is not true... There are
> links to the Wiki from other columns... I do not currently have
> a a better idea, but this confused me... But maybe it is only me.
>   
I understand what you mean. Unfortunately, I also don't have a better 
idea for the name, so let's keep with it, until someone comes up with a 
better text.
> Thanks for the very good idea and work!
>   
:-)
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Stig Bjørlykke schrieb:
> Just some small comments:
>
> - Hiding an interface in the interface options does not update the
> interface list in the welcome page.
>   
Sounds reasonable. I'll implement it - remind me in a week or so, in 
case I'll forget about to do it.
> - When having a lot of interfaces, do we get a scrollbar on the
> interface list or  do we get a scrollbar on the welcome page?
>   
Currently scrollbar on the page. Gerald reported basically the same 
problem with the filenames, I'm currently working on a fix. 
Unfortunately not too easy to fix.
> - The Recent file list does not truncate long filenames on my OSX.  (I
> suppose it should?)
>   
Yes, it should. As the truncate code is simple string stuff, I don't see 
a reason why it shouldn't work on OSX. Are you using latest SVN?
> - I would really like a "new features" and/or a "tip of the day" in
> the lower right corner.  This would help us educate the users :)
>   
Well then, go ahead and do it!

Regards, ULFL

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Joerg Mayer schrieb:
> On Thu, Apr 17, 2008 at 10:29:14AM +0200, Ulf Lamping wrote:
>   
>> Is this the behaviour that you see? Than it's a bug.
>>
>> The list of interfaces is build by asking dumpcap about the interface 
>> list (which should have the privileges), so the privileges of Wireshark 
>> shouldn't make any difference.
>> 
>
> Dumpcap is not setuid on my system, and that's intentional. So instead
> of showing an empty list it should just say: "Hey, you don't have the
> neccessary privileges for capturing but viewing existing captures is OK".
>   
I'm not against in adding something like this, but I'm not interested to 
implement it myself.

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Stig Bjørlykke schrieb:
> 2008/4/17, Ulf Lamping <[EMAIL PROTECTED]>:
>   
>>  What I did is to "gray out" items that are currently not available,
>>  which makes much more sense to me.
>> 
>
> But it is possible to select them, and a warning will pop up when selecting 
> one.
> It does disappear from the list, but do we need this warning dialog?
>   
This has nothing to do with the welcome page, but is a feature of the 
recent file mechanism.

What I would like to see is a dialog asking: "This file is (currently) 
not available. Remove it from the recent files list? Yes/No"

If you have some spare time, go on and fix it - my to do list is already 
full ;-)

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Graeme Lunt schrieb:
> Brilliant!
>   
Thanks!
> One suggestion - how about including the version information
> (including a build date)?
>   
No, that's what the about dialog is for. I want to avoid too much 
information on that page, because it will get more and more confusing 
and less informative.

Hopefully we'll get an automatic update mechanism for the Windows 
version in the not too distant future, so the version info won't be that 
interesting as it currently may seem.
> One bug - (on Windows) if I select "Open (Open a previously captured
> file)" and then cancel the dialog - then clicking anywhere (even on
> the toolbar and menubar) on Wireshark will always bring the open
> dialog back up.
>   
I can reproduce this bug, but unfortunaetely even after debugging I have 
no clue what's going on or how to solve this one :-(

You may file a bug report ...

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Stephen Fisher
On Thu, Apr 17, 2008 at 03:21:37AM +0200, Ulf Lamping wrote:

> I've just finished the initial version of a Wireshark welcome page.
> 
> That welcome page is shown when no capture file is loaded - well, 
> you'll immediately see it just when you start Wireshark (SVN25083 or 
> later).

I was impressed from the moment I saw it :).

What resolution is it designed for though?  1024x768?  Is it possible (I 
haven't looked at how this is even implemented yet) to let it 
stretch/compress depending on the width of the Wireshark window like 
well behaved web pages do?

Thanks for taking the time to implement this!


Steve

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Gerald Combs
Ulf Lamping wrote:
> However, a basic news panel *might* be useful. Problem here: for example
> you won't get freshly developed features if you are using the WS release
> versions. I currently don't see a good way to handle these problems, but
> this might be a future thing to think about.

We can get version information from http://www.wireshark.org/wireshark-pad.xml,
and I can always add a more easily-parsed version file if needed. We could pull
news from http://www.wireshark.org/news.rss. But...

>> 7) Since Wireshark is hosted by CACE, maybe they'd like to plug their
>> site?  WiresharkU?
> I strongly oppose *any* advertisements on the Wireshark user interface,
> be it for CACE, WiresharkU or anything else. The day I see
> advertisements on the Wireshark GUI, I will stop immediately to work on
> it any further - or maybe I would start a project fork!!! We are talking
> about an open source program here - I really, really don't like to see
> it to become adware!

...I can't guarantee that news.rss won't contain any advertising. The current
top news item is an announcement for Pilot, and past items have announced
Sharkfest.

On the subject of advertising, how do people feel about me mentioning CACE
products in the mailing lists? So far I've resisted, but it's pretty difficult
(for example, when someone says they're having trouble capturing .11 traffic in
Windows).
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Jaap Keuter schrieb:
> Hi Ulf,
>
> I like it, it's clean, simple, uncluttered. Lets see that we can keep it that 
> way gentlemen.
>   
Ack
> On the tip of the day: as long as it doesn't required a mouse click to get 
> rid 
> of it I'm oke with it. It would be another section in the right hand column. 
> It would read its contents from a newly to create text file, so development 
> builds can have its newly developed features explained.
>   
... and the topic would be called "News" :-)

But: It will be more work to add a good HTTP download functionality that 
works on all platforms, behind firewalls, etc.. There's currently some 
"basic" Win32 code for this - download_file() in update.c (the Win32 
updater is another "incomplete" task of mine), but doing it well across 
all platforms we support is a different story.

However, this is all not very high priority on my ToDo list - I guess 
most users would simply not read the news, so the benefit might be not 
that big as it seems. So if someone wants start on this, it would be ok 
for me as well, but I'll not be the one to do it - at least not in the 
near future.
> Since we now have a reason to go back to the empty application page I would 
> suggest adding or moving a close button to the top right hand corner of the 
> menu bar. Even though this isn't a MDI (yet) that is were one would expect it.
>
> Thoughts?
>   
I had a quick look at the toolbar to move the X item to the right, but 
that can't be done without doing some more work on the toolbar (or 
menu?) layout.

I'm currently thinking about a new/better/improved main layout. That new 
layout might make the X obsolete at that place altogether, so I hesitate 
to spend effort on it, which might become obsolete in a few weeks 
(months?) ahead.

However, this new main layout is more of a personal wishlist entry than 
anything concrete, so don't take me too seriously here (it will take a 
*lot* of thoughts to do it right)...

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Michael Tüxen
Hi Ulf,

I really like it. And I think it should have a clean not overload
design. Like it is now.

One comment from me:

There is a column 'Online' which I would then expect to contain
all contents which is online. But this is not true... There are
links to the Wiki from other columns... I do not currently have
a a better idea, but this confused me... But maybe it is only me.

Thanks for the very good idea and work!

Best regards
Michael

On Apr 17, 2008, at 3:21 AM, Ulf Lamping wrote:

> Hi!
>
> I've just finished the initial version of a Wireshark welcome page.
>
> That welcome page is shown when no capture file is loaded - well,  
> you'll
> immediately see it just when you start Wireshark (SVN25083 or later).
>
>
> It contains stuff that should be useful to start work with Wireshark
> (both helpful for newbies and "old fellows") and contains three parts:
>
> Capture: Start a capture (incl. special help)
> Files: Open a file
> Online: What to find online
>
> Some remarks:
> - as you cannot see this welcome page once a capture file is loaded,  
> it
> doesn't contain stuff related to actually work with a loaded capture
> file, e.g. it doesn't contain a link to the protocol reference.
> - I wanted to keep the number of items low, to not have too many
> confusing details
> - I hesitated to put too much work into the implementation before  
> going
> public (although it was already a lot), e.g. the current interface  
> list
> is fixed until a Wireshark restart.
>
>
> I would be interested in feedback:
> - was the page intuitive right from the start or was something really
> confusing?
> - something missing / should be added?
> - should something really be removed?
> - what do you think about this page in general?
> - bugs?
>
>
> Regards, ULFL
>
> ___
> Wireshark-dev mailing list
> Wireshark-dev@wireshark.org
> http://www.wireshark.org/mailman/listinfo/wireshark-dev

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Stig Bjørlykke
Just some small comments:

- Hiding an interface in the interface options does not update the
interface list in the welcome page.

- When having a lot of interfaces, do we get a scrollbar on the
interface list or  do we get a scrollbar on the welcome page?

- The Recent file list does not truncate long filenames on my OSX.  (I
suppose it should?)

- I would really like a "new features" and/or a "tip of the day" in
the lower right corner.  This would help us educate the users :)


-- 
Stig Bjørlykke
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Joerg Mayer
On Thu, Apr 17, 2008 at 10:29:14AM +0200, Ulf Lamping wrote:
> Is this the behaviour that you see? Than it's a bug.
> 
> The list of interfaces is build by asking dumpcap about the interface 
> list (which should have the privileges), so the privileges of Wireshark 
> shouldn't make any difference.

Dumpcap is not setuid on my system, and that's intentional. So instead
of showing an empty list it should just say: "Hey, you don't have the
neccessary privileges for capturing but viewing existing captures is OK".

 ciao
Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Stig Bjørlykke
2008/4/17, Ulf Lamping <[EMAIL PROTECTED]>:
>  What I did is to "gray out" items that are currently not available,
>  which makes much more sense to me.

But it is possible to select them, and a warning will pop up when selecting one.
It does disappear from the list, but do we need this warning dialog?


-- 
Stig Bjørlykke
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Graeme Lunt
Brilliant!

One suggestion - how about including the version information
(including a build date)?

One bug - (on Windows) if I select "Open (Open a previously captured
file)" and then cancel the dialog - then clicking anywhere (even on
the toolbar and menubar) on Wireshark will always bring the open
dialog back up.

Graeme
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Joerg Mayer schrieb:
> I'm not talking about removing it from the recently-used list but just
> to not display it on the welcome page.
>   
I guess not displaying it on the list would be confusing to users "why 
is it gone now?".

What I did is to "gray out" items that are currently not available, 
which makes much more sense to me.

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Guy Harris schrieb:
> Stig Bjørlykke wrote:
>   
>> On startup I get this warning:
>> (wireshark:26750): Gtk-CRITICAL **: gtk_container_foreach: assertion
>> `GTK_IS_CONTAINER (container)' failed
>> 
> That appears to be happening in the gtk_container_foreach() call in 
> clear_menu_recent_capture_file_cmd_cb().  I haven't yet figured out why 
> the widget isn't considered a container.
>   
Interestingly, even after experimenting a bit I just don't get that 
warning on XP.

Could someone that get's the warning have a closer look?

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Joerg Mayer schrieb:
> One thing about the capture sections: In case I start wireshark without
> capture privileges this should be displayed instead of providing an empty
> list of capture interfaces.
>   
Is this the behaviour that you see? Than it's a bug.

The list of interfaces is build by asking dumpcap about the interface 
list (which should have the privileges), so the privileges of Wireshark 
shouldn't make any difference.

Regards, ULFL

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Guy Harris
Stig Bjørlykke wrote:

> On startup I get this warning:
> (wireshark:26750): Gtk-CRITICAL **: gtk_container_foreach: assertion
> `GTK_IS_CONTAINER (container)' failed

That appears to be happening in the gtk_container_foreach() call in 
clear_menu_recent_capture_file_cmd_cb().  I haven't yet figured out why 
the widget isn't considered a container.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Joerg Mayer
On Thu, Apr 17, 2008 at 10:21:40AM +0200, Ulf Lamping wrote:
> > Carefull here. You suggest to prune the list if captures aren't found. What 
> > happens when captures are on a network share you forgot to mount? 
> Or even more likely, your Notebook is simply not connected to the/any 
> network :-)
> > Then your 
> > list would be gone, while you did not intend to have them pruned.
> >   
> Yes, there's also a related (much older) comment in main_menu.c that we 
> should not simply get rid of a recent file entry just because the file 
> is currently not available - for the exact same reason.

I'm not talking about removing it from the recently-used list but just
to not display it on the welcome page.

 Ciao
 Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Ulf Lamping
Jaap Keuter schrieb:
> Hi,
>
> Carefull here. You suggest to prune the list if captures aren't found. What 
> happens when captures are on a network share you forgot to mount? 
Or even more likely, your Notebook is simply not connected to the/any 
network :-)
> Then your 
> list would be gone, while you did not intend to have them pruned.
>   
Yes, there's also a related (much older) comment in main_menu.c that we 
should not simply get rid of a recent file entry just because the file 
is currently not available - for the exact same reason.

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Stig Bjørlykke
Nice work!

On startup I get this warning:
(wireshark:26750): Gtk-CRITICAL **: gtk_container_foreach: assertion
`GTK_IS_CONTAINER (container)' failed


-- 
Stig Bjørlykke
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Jaap Keuter
Hi,

Carefull here. You suggest to prune the list if captures aren't found. What 
happens when captures are on a network share you forgot to mount? Then your 
list would be gone, while you did not intend to have them pruned.

Thanx,
Jaap

Joerg Mayer wrote:
> Nice work!
> 
> On Thu, Apr 17, 2008 at 04:45:59AM +0200, Ulf Lamping wrote:
>> The kind of "Did you know that if you click on ..." is the first thing I 
>> switch off when I first start a program - so I don't tend to implement 
>> it :-)
>>
>> However, a basic news panel *might* be useful. Problem here: for example 
>> you won't get freshly developed features if you are using the WS release 
>> versions. I currently don't see a good way to handle these problems, but 
>> this might be a future thing to think about.
>>
>> BTW: There are also lot's of people that pretty much dislike those 
>> "chatty" programs at all.
> 
> The core difference would be that it would not create a pop up window but
> just diplay in some area of the window. What really annoys me about these
> startup tips is, that they force me to do an extra mousemovement and click.
> Something like: "New in this version" and "New in last version" would be
> much more acceptable if it was displayed just like the other information
> on that welcome page.
> 
> Open recent should only display files that exist instead of displaying
> "not found" after the name.
> 
>>> 7) Since Wireshark is hosted by CACE, maybe they'd like to plug their 
>>> site?  WiresharkU?
>> I strongly oppose *any* advertisements on the Wireshark user interface, 
>> be it for CACE, WiresharkU or anything else. The day I see 
>> advertisements on the Wireshark GUI, I will stop immediately to work on 
>> it any further - or maybe I would start a project fork!!! We are talking 
>> about an open source program here - I really, really don't like to see 
>> it to become adware!
> 
> I don't feel quite that strongly about it, but I'm very much set against
> it as well.
> 
>  Ciao
>  Joerg

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-17 Thread Jaap Keuter
Hi Ulf,

I like it, it's clean, simple, uncluttered. Lets see that we can keep it that 
way gentlemen.

On the tip of the day: as long as it doesn't required a mouse click to get rid 
of it I'm oke with it. It would be another section in the right hand column. 
It would read its contents from a newly to create text file, so development 
builds can have its newly developed features explained.

Since we now have a reason to go back to the empty application page I would 
suggest adding or moving a close button to the top right hand corner of the 
menu bar. Even though this isn't a MDI (yet) that is were one would expect it.

Thoughts?

Jaap



Ulf Lamping wrote:
> Hi!
> 
> I've just finished the initial version of a Wireshark welcome page.
> 
> That welcome page is shown when no capture file is loaded - well, you'll 
> immediately see it just when you start Wireshark (SVN25083 or later).
> 
> 
> It contains stuff that should be useful to start work with Wireshark 
> (both helpful for newbies and "old fellows") and contains three parts:
> 
> Capture: Start a capture (incl. special help)
> Files: Open a file
> Online: What to find online
> 
> Some remarks:
> - as you cannot see this welcome page once a capture file is loaded, it 
> doesn't contain stuff related to actually work with a loaded capture 
> file, e.g. it doesn't contain a link to the protocol reference.
> - I wanted to keep the number of items low, to not have too many 
> confusing details
> - I hesitated to put too much work into the implementation before going 
> public (although it was already a lot), e.g. the current interface list 
> is fixed until a Wireshark restart.
> 
> 
> I would be interested in feedback:
> - was the page intuitive right from the start or was something really 
> confusing?
> - something missing / should be added?
> - should something really be removed?
> - what do you think about this page in general?
> - bugs?
> 
> 
> Regards, ULFL
> 

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-16 Thread Joerg Mayer
One thing about the capture sections: In case I start wireshark without
capture privileges this should be displayed instead of providing an empty
list of capture interfaces.

 ciao
Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-16 Thread Joerg Mayer
Nice work!

On Thu, Apr 17, 2008 at 04:45:59AM +0200, Ulf Lamping wrote:
> The kind of "Did you know that if you click on ..." is the first thing I 
> switch off when I first start a program - so I don't tend to implement 
> it :-)
> 
> However, a basic news panel *might* be useful. Problem here: for example 
> you won't get freshly developed features if you are using the WS release 
> versions. I currently don't see a good way to handle these problems, but 
> this might be a future thing to think about.
> 
> BTW: There are also lot's of people that pretty much dislike those 
> "chatty" programs at all.

The core difference would be that it would not create a pop up window but
just diplay in some area of the window. What really annoys me about these
startup tips is, that they force me to do an extra mousemovement and click.
Something like: "New in this version" and "New in last version" would be
much more acceptable if it was displayed just like the other information
on that welcome page.

Open recent should only display files that exist instead of displaying
"not found" after the name.

> > 7) Since Wireshark is hosted by CACE, maybe they'd like to plug their 
> > site?  WiresharkU?
> I strongly oppose *any* advertisements on the Wireshark user interface, 
> be it for CACE, WiresharkU or anything else. The day I see 
> advertisements on the Wireshark GUI, I will stop immediately to work on 
> it any further - or maybe I would start a project fork!!! We are talking 
> about an open source program here - I really, really don't like to see 
> it to become adware!

I don't feel quite that strongly about it, but I'm very much set against
it as well.

 Ciao
 Joerg
-- 
Joerg Mayer   <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-16 Thread Ulf Lamping
Guy Harris schrieb:
> On Apr 16, 2008, at 7:10 PM, Maynard, Chris wrote:
>   
>> Hi Ulf,
>>
>> I like it.  I always thought the blank gray screen at startup was  
>> somewhat plain and boring.  We've got all the real estate to do  
>> something with, why not put it to good use?
>> 
> Yes - the new one gets a "nice glitz" award from me!
>   
:-)
>> 3) Security: Text should read, "Work with Wireshark as securely as  
>> possible"
>> 
> I've checked in a fix for that.
>   
You're too fast for me ;-)

Regards, ULFL
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-16 Thread Ulf Lamping
Maynard, Chris schrieb:
> Hi Ulf,
>  
> I like it.  I always thought the blank gray screen at startup was 
> somewhat plain and boring.  We've got all the real estate to do 
> something with, why not put it to good use?
>  
> Somewhat related to this - I was thinking about proposing a "Wireshark 
> Tips" at startup - the "Did you know?" stuff that many programs have 
> that depict a "Tip of the day" for instance.  A lot of new features 
> keep getting added to Wireshark and I'm not sure everyone is always 
> aware of them, so that might be one way to help introduce these 
> features.  It's easy to assume that everyone will actually go back and 
> re-read the user documentation to find out what's new each time, but 
> I'm not sure that actually happens.  One thing I find about these tips 
> though is that many times they get turned off because it's annoying to 
> have to hit a close button each time upon startup for the tip dialog; 
> however, if there's a section on this new startup page of yours 
> reserved for a "Tip of the day" and perhaps with a "Next Tip" button 
> to cycle through the tips, then the user wouldn't have to close an 
> extra dialog.  That to me would seem like it would be useful.
The kind of "Did you know that if you click on ..." is the first thing I 
switch off when I first start a program - so I don't tend to implement 
it :-)

However, a basic news panel *might* be useful. Problem here: for example 
you won't get freshly developed features if you are using the WS release 
versions. I currently don't see a good way to handle these problems, but 
this might be a future thing to think about.

BTW: There are also lot's of people that pretty much dislike those 
"chatty" programs at all.
>  
> OK, other than that, here is some initial feedback:
> 1) The "Open Recent" middle portion seems to right-justify the files 
> and cut off the beginning of the path.  It looks strange to me, 
> although left-justification would probably show the path and cut off 
> the filename itself, which would probably be less useful.  Perhaps 
> word-wrapping the filename would work well here?
As I said, basic implementation :-) BTW: left-justify doesn't really 
work as the last part of the name is usually significant. Has to be 
improved - should be easy to do.
> 2) Clicking on the "Capture Options" results in a Wireshark crash.  
> (At least on Windows XP).  I can send a dump if needed, but it happens 
> every time so I would suspect you would be able to easily reproduce it.
Hmmm, it just works fine on my XP machine! And to be honest, looking at 
the code I don't see a good reason for it to fail.
> 3) Security: Text should read, "Work with Wireshark as *securely* as 
> possible"
I'll fix that
> 4) Show some "tooltips" when highlighting one of the choices.  For 
> example, when the cursor is hovering on the "Security" link, the 
> tooltip could show the http://wiki.wireshark.org/Security URL that you 
> will go to if you click on it.
Unsure if this is really helpful, as there's already the "subtitle". 
Will think about it.
> 5) Moving various other windows across the page seems to corrupt it.  
> See sample screen capture, attached.
GTK bug for years, not a lot we can do about it :-(
> 6) Add a development section?  Getting started, README.developer, SVN 
> link, mailing lists, bugzilla, buildbot, reporting bugs, links to IETF 
> (for RFC's), IANA, etc.???
I don't think this is the place for a devel section. Any gifted 
developer will have a look at the webpage ;-)
> 7) Since Wireshark is hosted by CACE, maybe they'd like to plug their 
> site?  WiresharkU?
I strongly oppose *any* advertisements on the Wireshark user interface, 
be it for CACE, WiresharkU or anything else. The day I see 
advertisements on the Wireshark GUI, I will stop immediately to work on 
it any further - or maybe I would start a project fork!!! We are talking 
about an open source program here - I really, really don't like to see 
it to become adware!

Regards, ULFL

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-16 Thread Guy Harris

On Apr 16, 2008, at 7:10 PM, Maynard, Chris wrote:

> Hi Ulf,
>
> I like it.  I always thought the blank gray screen at startup was  
> somewhat plain and boring.  We've got all the real estate to do  
> something with, why not put it to good use?

Yes - the new one gets a "nice glitz" award from me!

> Somewhat related to this - I was thinking about proposing a  
> "Wireshark Tips" at startup - the "Did you know?" stuff that many  
> programs have that depict a "Tip of the day" for instance.  A lot of  
> new features keep getting added to Wireshark and I'm not sure  
> everyone is always aware of them, so that might be one way to help  
> introduce these features.  It's easy to assume that everyone will  
> actually go back and re-read the user documentation to find out  
> what's new each time, but I'm not sure that actually happens.  One  
> thing I find about these tips though is that many times they get  
> turned off because it's annoying to have to hit a close button each  
> time upon startup for the tip dialog; however, if there's a section  
> on this new startup page of yours reserved for a "Tip of the day"  
> and perhaps with a "Next Tip" button to cycle through the tips, then  
> the user wouldn't have to close an extra dialog.  That to me would  
> seem like it would be useful.

That also sounds like a good idea.

> 3) Security: Text should read, "Work with Wireshark as securely as  
> possible"

I've checked in a fix for that.

> 6) Add a development section?  Getting started, README.developer,  
> SVN link, mailing lists, bugzilla, buildbot, reporting bugs, links  
> to IETF (for RFC's), IANA, etc.???

Well, maybe - but I suspect 99 44/100% of the users aren't going to be  
developers, so maybe just pointing them to the Wireshark Web site  
would suffice for that.
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Re: [Wireshark-dev] New Wireshark welcome page!

2008-04-16 Thread Maynard, Chris
Hi Ulf,

I like it.  I always thought the blank gray screen at startup was somewhat 
plain and boring.  We've got all the real estate to do something with, why not 
put it to good use?

Somewhat related to this - I was thinking about proposing a "Wireshark Tips" at 
startup - the "Did you know?" stuff that many programs have that depict a "Tip 
of the day" for instance.  A lot of new features keep getting added to 
Wireshark and I'm not sure everyone is always aware of them, so that might be 
one way to help introduce these features.  It's easy to assume that everyone 
will actually go back and re-read the user documentation to find out what's new 
each time, but I'm not sure that actually happens.  One thing I find about 
these tips though is that many times they get turned off because it's annoying 
to have to hit a close button each time upon startup for the tip dialog; 
however, if there's a section on this new startup page of yours reserved for a 
"Tip of the day" and perhaps with a "Next Tip" button to cycle through the 
tips, then the user wouldn't have to close an extra dialog.  That to me would 
seem like it would be useful.

OK, other than that, here is some initial feedback:
1) The "Open Recent" middle portion seems to right-justify the files and cut 
off the beginning of the path.  It looks strange to me, although 
left-justification would probably show the path and cut off the filename 
itself, which would probably be less useful.  Perhaps word-wrapping the 
filename would work well here?
2) Clicking on the "Capture Options" results in a Wireshark crash.  (At least 
on Windows XP).  I can send a dump if needed, but it happens every time so I 
would suspect you would be able to easily reproduce it.
3) Security: Text should read, "Work with Wireshark as securely as possible"
4) Show some "tooltips" when highlighting one of the choices.  For example, 
when the cursor is hovering on the "Security" link, the tooltip could show the 
http://wiki.wireshark.org/Security URL that you will go to if you click on it.
5) Moving various other windows across the page seems to corrupt it.  See 
sample screen capture, attached.
6) Add a development section?  Getting started, README.developer, SVN link, 
mailing lists, bugzilla, buildbot, reporting bugs, links to IETF (for RFC's), 
IANA, etc.???
7) Since Wireshark is hosted by CACE, maybe they'd like to plug their site?  
WiresharkU?

- Chris



From: Ulf Lamping
Sent: Wed 4/16/2008 9:21 PM
To: wireshark-dev@wireshark.org
Subject: [Wireshark-dev] New Wireshark welcome page!


Hi!

I've just finished the initial version of a Wireshark welcome page.

That welcome page is shown when no capture file is loaded - well, you'll 
immediately see it just when you start Wireshark (SVN25083 or later).


It contains stuff that should be useful to start work with Wireshark 
(both helpful for newbies and "old fellows") and contains three parts:

Capture: Start a capture (incl. special help)
Files: Open a file
Online: What to find online

Some remarks:
- as you cannot see this welcome page once a capture file is loaded, it 
doesn't contain stuff related to actually work with a loaded capture 
file, e.g. it doesn't contain a link to the protocol reference.
- I wanted to keep the number of items low, to not have too many 
confusing details
- I hesitated to put too much work into the implementation before going 
public (although it was already a lot), e.g. the current interface list 
is fixed until a Wireshark restart.


I would be interested in feedback:
- was the page intuitive right from the start or was something really 
confusing?
- something missing / should be added?
- should something really be removed?
- what do you think about this page in general?
- bugs?


Regards, ULFL

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


sample.png
Description: sample.png
___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev


[Wireshark-dev] New Wireshark welcome page!

2008-04-16 Thread Ulf Lamping
Hi!

I've just finished the initial version of a Wireshark welcome page.

That welcome page is shown when no capture file is loaded - well, you'll 
immediately see it just when you start Wireshark (SVN25083 or later).


It contains stuff that should be useful to start work with Wireshark 
(both helpful for newbies and "old fellows") and contains three parts:

Capture: Start a capture (incl. special help)
Files: Open a file
Online: What to find online

Some remarks:
- as you cannot see this welcome page once a capture file is loaded, it 
doesn't contain stuff related to actually work with a loaded capture 
file, e.g. it doesn't contain a link to the protocol reference.
- I wanted to keep the number of items low, to not have too many 
confusing details
- I hesitated to put too much work into the implementation before going 
public (although it was already a lot), e.g. the current interface list 
is fixed until a Wireshark restart.


I would be interested in feedback:
- was the page intuitive right from the start or was something really 
confusing?
- something missing / should be added?
- should something really be removed?
- what do you think about this page in general?
- bugs?


Regards, ULFL

___
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev