Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3817] Remember windows position for popup windows like, "E

Date: Wed, 17 Oct 2012 15:10:35 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3817

--- Comment #10 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2012-10-17 15:10:35 PDT ---
(In reply to comment #9)
> (In reply to comment #7)
> I don't know about UI design, but, hmmm, saving *all* the windows positions
> (where "all" might just mean "a good portion of") seems like overkill to me.

I agree.

> Reading Comment 0 it looks like the primary complaint is about using Wireshark
> in a multi-monitor setup so it would seem to me that simply getting the window
> to appear above the parent would be sufficient and thus, in the name of
> simplicity, possibly ideal.

That was the main objective of r45370, but I think there's room for
improvement.

Depending on feedback, I was considering trying to make an effort to further
improve some dialog placements.  For example, I think dialogs like "Help ->
About" and "Statistics -> Summary" are probably good candidates to always be
centered using GTK_WIN_POS_CENTER instead of using the default placement. 
Others, where you are presented with a dialog in which you would normally enter
some data, such as a display filter, as in the case of "Statistics -> IP
Destinations" (and many like it), seem to me like good candidates for
GTK_WIN_POS_MOUSE for sake of convenience.

> Another random thought: maybe one of the HIGs (like GNOME or KDE or Apple?)
> provides some guidance in this area?

Mostly I was referencing
http://msdn.microsoft.com/en-us/library/aa511262.aspx#windowLocation and
http://msdn.microsoft.com/en-us/library/aa511268.aspx#presentation, but we can
[try to] follow another guideline, if preferred.  I think in some cases it may
be somewhat difficult to achieve the recommended window placement strategy
though, particularly when the recommended window placement is "cascading" or
placement at a particular offset from a given position, but maybe the
difficulty is only in my own head and the GUI guru's here know how to achieve
that easily enough?

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.