Wireshark-bugs: [Wireshark-bugs] [Bug 7494] Packet panel narrow with fresh configuration

Date: Wed, 18 Jul 2012 07:30:11 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7494

--- Comment #4 from Bill Meier <wmeier@xxxxxxxxxxx> 2012-07-18 07:30:10 PDT ---
(In reply to comment #3)
> 
> >> I can't reproduce this problem if I revert r43646.
> 
> We probably should not call new_packet_list_recreate() when there's no
> PacketList.

I agree.

Calling new_packet_list_recreate() only if there's a PacketList certainly gives
the previous (better) behavior. (What's a good way to do this ?)


That being said, I think the underlying issue is the initial "autodetection"
being done for the pane sizes.

After reverting r43646, if a 1 packet capture file is opened (after clearing
the configuration files), the packet list pane will be sized to just show the
single frame.

So: even after doing a fix in name_resolution_cb(), the issue will still exist
in certain circumstances.

That is, this issue will show up only with no config files (only immediately
after installation ?) and only if a small capture file is opened first, so I
think it's very minor. 

A fix would probably be to determine default pane positions for the pane
sliders so that each pane is 1/3 of the window height.

I'll take a look to see if this is easily done.

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