Unable to create larger files than 99 size units
Summary
When creating more than one capture file, the capture options dialog limit the numeric value of the file size to 99.
Steps to reproduce
- Open Wireshark
- Open Capture Options, the Output tab
- Select Create a new file automatically
- Select the second "after" checkbox (the size selector)
- Click on the size value field (which is "1" at the moment)
- Try to add two zeros there (to make "100")
What is the current bug behavior?
Only one zero can be added = the value is 10. Max value seems to be 99 in the field.
Note: If kilobytes (the default units) are changed to something else and then back to kilobytes, then a value larger than 99 is allowed.
What is the expected correct behavior?
Arbitrary file size value should be allowed.
Relevant logs and/or screenshots
Build information
Version 4.5.0rc0-340-g80773745ea38 (v4.5.0rc0-340-g80773745ea38).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.41, build 34120),
with GLib 2.78.4, with Qt 6.5.3, with libpcap, with zlib 1.3.1, with zlib-ng
2.1.5, with PCRE2, with Lua 5.4.6 (with UfW patches), with GnuTLS 3.8.4 and PKCS
#11 support, with Gcrypt 1.10.2-unknown, with Kerberos (MIT), with MaxMind, with
nghttp2 1.62.1, with nghttp3 0.14.0, with brotli, with LZ4, with Zstandard, with
Snappy, with libxml2 2.11.7, with libsmi 0.5.0, with Minizip-ng , with
QtMultimedia, with automatic updates using WinSparkle 0.8.0, with AirPcap, with
binary plugins.
Running on 64-bit Windows 10 (22H2), build 19045, with Intel(R) Xeon(R) Gold
5118 CPU @ 2.30GHz (with SSE4.2), with 32767 MB of physical memory, with GLib
2.78.4, with Qt 6.5.3, with Npcap version 1.79, based on libpcap version 1.10.4,
with PCRE2 10.43 2024-02-16, with c-ares 1.27.0, with GnuTLS 3.8.4, with Gcrypt
1.10.2-unknown, with nghttp2 1.62.1, with nghttp3 0.14.0, with brotli 1.0.9,
with LZ4 1.9.4, with Zstandard 1.5.6, without AirPcap, with light display mode,
with HiDPI, with QPA plugin "windows", with LC_TYPE=English_Finland.utf8, binary
plugins supported.