Wireshark-bugs: [Wireshark-bugs] [Bug 6533] Allow the user to set his own Default file format in
Date: Thu, 3 Nov 2011 01:53:04 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6533

--- Comment #2 from Prashanth <prashanth.sappidi5@xxxxxxxxx> 2011-11-03 01:53:03 PDT ---
(In reply to comment #1)
> The most appropriate default, for most users, is "the same format as the input
> format, if Wireshark can write it".
> 
> What should be done if the user wants to un-set the default, to go back to the
> "same format as the input format, if possible" default?  The UI for this must
> allow that.
> 
> What should be done if the user's default format can't be used for a particular
> file?

macros called "FILE_OPEN_DEFAULT" and "FILE_SAVE_DEFAULT" are being used to set
the default save format in win32/file_dlg_win32.c. Instead of macros we should
allow some dynamic input. It would be easy if we ask the user to set a default
format once at the beginning. We should save this format number(they are
referred through numbers in the code) in the preferences file. We should allow
the code to set its type through the number that is present in the preferences
file. Hence, whenever he opens wireshark, he can see his default format.

This can solve the Problem like "Different Kinds of Users-Different Default
Formats". Every one can set their own format.

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