Forums » Bugs

Text navigation in multiline editors

Nov 18, 2023 helix397 link
Summary: Most text navigation controls do not work correctly in multiline text input fields (such as sector notes and mission notes).

Details:
- Clicking on the text moves the cursor to either somewhere in the first line, or the start of the second line. So if you click on eg. the fifth line it will move the cursor to the first or second lines.
- Up and down keys seem to always move cursor to the first line
- Left and right arrow keys work OK
- Home/End takes you to the beginning/end of the whole text rather than just the line you're on
- ctrl-Home/End works correctly (taking you to the beginning/end of the whole text)

Steps to replicate:
- Open a system note
- Type several lines of input (issue occurs regardless of whether they wrap-around or if you press enter to create a new line)
- Try to navigate the text. Some issues are only clear when navigating from line 3 or later.

Notes:
- I usually run VO at lower-than-native resolution (2048x1152). I tried switching to native resolution (3840x2160) and saw no change in behavior.
- Behavior seems identical in sector notes and mission notes

Replicated on 2023-11-18 w/ VO 1.8.669 (all plugins uninstalled) on Windows 10. Selected video driver is DirectX11GKGL.

=== errors.log ===

Windows 10.00.19045 (platform 2)
Is 64bit OS? Yes
Sat Nov 18 12:41:58 2023
There is 33 percent of memory in use.
There are 33279888 total KB of physical memory.
There are 22134376 free KB of physical memory.
There are 38260624 total KB of paging file.
There are 25046324 free KB of paging file.
There are 2097024 total KB of virtual memory.
There are 2018688 free KB of virtual memory.
There are 0 free KB of extended memory.
loaded ./media.rlb
loaded ./media6.rlb
loaded ./media7.rlb
loaded ./demos.rlb
archive returned 0
build date Oct 12 2023 18:40:31
Initializing job system with 5 threads and 32768 jobs per thread.
ovr_Initialize: -3001
[11/18/23 12:41:58] Found driver: "Windows Sound (WAV) driver". Type 1, Version 10.1. Load @0x10000000
[11/18/23 12:41:58] Instantiate address: 10002540
[11/18/23 12:41:58] Found driver: "DirectX11 GKGL driver". Type 5, Version 150.0. Load @0x048c0000
[11/18/23 12:41:58] Instantiate address: 048C36D0
[11/18/23 12:41:58] Found driver: "DirectX8.1 GKGL driver". Type 5, Version 142.1. Load @0x04930000
[11/18/23 12:41:58] Instantiate address: 04953890
[11/18/23 12:41:58] Found driver: "DirectX9 GKGL driver". Type 5, Version 150.0. Load @0x04930000
[11/18/23 12:41:58] Instantiate address: 0497A5F0
[11/18/23 12:41:58] Found driver: "Vulkan GKGL driver". Type 5, Version 150.0. Load @0x04b50000
[11/18/23 12:41:58] Instantiate address: 04B596D0
[11/18/23 12:41:58] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 150.0. Load @0x04c20000
[11/18/23 12:41:58] Instantiate address: 04C33A10
[11/18/23 12:41:58] Found driver: "Vista Sound driver". Type 1, Version 10.0. Load @0x04ca0000
[11/18/23 12:41:58] Instantiate address: 04CA235E
[11/18/23 12:41:58] Found driver: "XAudio2 Sound driver". Type 1, Version 10.0. Load @0x04d00000
[11/18/23 12:41:58] Instantiate address: 04D018CE
Using multithreaded rendering.
Using 6 physics worker threads. and g_do_mp = 1
using other arch.
DoGameMPJobs.
starting job system.
Starting game job.
[11/18/23 12:42:03] Creating 2048x2048 shadowmap.
Created 2 refraction targets
Loaded sensitivity envelope for touch regions.
Loaded sensitivity envelope for quest controllers.
Input driver initialized.
HAS_LEAP - calling initLeapMouse
VO_API_VERSION = 19
[11/18/23 12:42:18] Flight-Assist mode disabled.
[11/18/23 12:42:18] Auto-Aim enabled.
[11/18/23 12:42:18] Auto-Fire enabled.
TTS initialized.
Welcome to Vendetta Online.

[11/18/23 12:42:25] Welcome to Vendetta Online.

[11/18/23 12:42:25] Welcome to Vendetta Online.
[11/18/23 12:43:41] [397] *** Channel 397 is active.
[11/18/23 12:43:41] You are entering Azek I-12
[11/18/23 12:43:42] *** Luxen requests permission to become your buddy. Type /buddy accept "Luxen" to accept.
[11/18/23 12:45:46] People in the room: Ravenwolf397
[11/18/23 12:45:46] You are now in Azek Manufacturing (TPG Commercial).
[11/18/23 12:45:56] [100] *** The Corporate Sector Run will begin in 15 minutes! Go to Odia M-14 and take the registration mission in the station to read the rules and register. Once you register, you cannot leave Odia M-14 until the race begins or you will be disqualified!
[11/18/23 12:45:57] [100] [ZNU] <Asena-Wa Koshor> do you win a pony?
[11/18/23 12:45:57] [100] [FWOP] <Doozey 'n' Boozey> yes.
[11/18/23 12:46:08] [100] [FWOP] <Ocenau Charodis> why do yo want a pony in a space game
(redacted)
[11/18/23 12:46:24] [100] [ZNU] <Asena-Wa Koshor> their fun on ships.
[11/18/23 12:46:26] [100] [ZNU] <F22A-Raptor> who doesnt want space ponies?
[11/18/23 12:46:29] [100] [FWOP] <Doozey 'n' Boozey> cause dey pwetty.
(redacted)
[11/18/23 12:46:41] [100] [FWOP] <Ocenau Charodis> and they are a pain to take care of
[11/18/23 12:46:46] [100] [ZNU] <F22A-Raptor> or even better, you add them as a hat on your ship like war thunder!!!
[11/18/23 12:46:51] [100] [ZNU] <Asena-Wa Koshor> hey! remember space rangers?!
[11/18/23 12:46:56] [100] [FWOP] <Doozey 'n' Boozey> that ur job not mine :D
[11/18/23 12:47:01] [100] [FWOP] <incubus-dreams> ponies r lame get a unicorn
[11/18/23 12:47:07] [100] [FWOP] <Doozey 'n' Boozey> tehe.
[11/18/23 12:47:28] [100] [ZNU] <Asena-Wa Koshor> ahhhh the narwhal of the grass lands,,,
[11/18/23 12:50:17] [397] *** Channel 397 is active.
(redacted)
(redacted)
[11/18/23 12:52:07] [397] *** Channel 397 is active.
Ending game job.
Waiting for game thread to exit.
game thread was joined.
worker 0: num jobs executed: 0
worker 1: num jobs executed: 86784
worker 2: num jobs executed: 29832
worker 3: num jobs executed: 5684
worker 4: num jobs executed: 6046

(Aside: The multiple "Channel 397 is active" messages are because I changed game resolution while replicating this. The (redacted) lines are just "[player] has entered/left the room" messages, removed to avoid exposing their location.)
Nov 18, 2023 Luxen link
PLEASE I would love for this to get fixed.
Nov 18, 2023 incarnate link
We'll take a look.
Nov 21, 2023 raybondo link
Client patch 1.8.670 was released that fixes the cursor placement issue and Home/End now goes to the beginning/end of the current line.
Nov 22, 2023 Xeha link
sweet! thanks
Nov 23, 2023 helix397 link
Hooray! Thank you!