Preferences: Folder name editing behaves weirdly, cursor jumps
Summary
Preferences: Folder name editing behaves weirdly, cursor jumps to end of string when editing the string
Steps to reproduce
- Go to Preferences - Appearance
- Default value for "Open files in - This folder" is "C:\Users\Markku\Documents" (in this example)
- Click the radio button for This folder
- Set the cursor to end of "Markku"
- Press backspace
What is the current bug behavior?
"u" is deleted and text cursor jumps to the end of the line
What is the expected correct behavior?
"u" is deleted and the cursor stays there between "k" and backslash
Sample capture file
Not relevant
Relevant logs and/or screenshots
Any editing attempt takes the text cursor to the end of the string
Build information
Version 4.0.7 (v4.0.7-0-g0ad1823cc090).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.32, build 31332),
with GLib 2.72.3, with PCRE2, with zlib 1.2.12, with Qt 5.15.2, with libpcap,
with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.10.1, with
Kerberos (MIT), with MaxMind, with nghttp2 1.46.0, with brotli, with LZ4, with
Zstandard, with Snappy, with libxml2 2.9.14, with libsmi 0.4.8, with
QtMultimedia, with automatic updates using WinSparkle 0.8.0, with AirPcap, with
SpeexDSP (using bundled resampler), with Minizip, with binary plugins.
Running on 64-bit Windows 10 (22H2), build 19045, with Intel(R) Core(TM)
i7-8665U CPU @ 1.90GHz (with SSE4.2), with 16124 MB of physical memory, with
GLib 2.72.3, with PCRE2 10.40 2022-04-14, with Qt 5.15.2, with Npcap version
1.75, based on libpcap version 1.10.4, with c-ares 1.18.1, with GnuTLS 3.6.3,
with Gcrypt 1.10.1, with nghttp2 1.46.0, with brotli 1.0.9, with LZ4 1.9.3, with
Zstandard 1.5.2, without AirPcap, with light display mode, with mixed DPI, with
LC_TYPE=Finnish_Finland.utf8, binary plugins supported.