Wireshark-bugs: [Wireshark-bugs] [Bug 6353] Wireshark should respect freedesktop.org XDG Base Di

Date: Sun, 18 May 2014 22:33:29 +0000

Comment # 8 on bug 6353 from
(In reply to comment #7)
> 1) Are all these variables available on all our platforms
> (Win/Unix/Linux/OS-X) and UI toolkits (GTK2/GTK3/QT4/QT5)?

No.  These settings should be ignored on Windows and OS X; they should only be
used on the rest of the UN*Xes.

It must also be possible for Wireshark to behave correctly if those environment
variables aren't set.  It must, for example, be possible to plug an old VT100
into a serial port on your machine, fire up getty on that serial port, log in,
and run TShark and have it find your settings.  It must also be able to find
your settings if you switch from a desktop environment that doesn't support the
settings to one that does or if you switch from one that does to one that
doesn't, at least in the default configuration for the desktop environment.

> 2) ... and where should we point our temporary capture files?

The spec does not contain the word "temporary", so we should continue to store
them in $TMPDIR.

> 3) Wireshark tries to be able to handle old configs. The only time we
> changed the directory was renaming the whole project from Ethereal to
> Wireshark. And many people would be very surprised if they deleted their
> config folder and then the traces started to look subtly different.

Absolutely.  If a version of Wireshark that supports these settings can't find
settings created by an earlier version of Wireshark that doesn't support them,
that would be completely unacceptable and we would not implement it.


You are receiving this mail because:
  • You are watching all bug changes.