View Issue Details

IDProjectCategoryView StatusLast Update
0012027Dwarf FortressTechnical -- Input/Keybinding/Macrospublic2024-04-25 02:59
ReporterBD_Le_Dragon_Noir Assigned To 
PriorityhighSeveritycrashReproducibilityhave not tried
Status newResolutionopen 
Product Version50.03 
Summary0012027: Invalid keyboard cursor position after moving camera with middle mouse + crash while designating
DescriptionActivate keyboard cursor in the option
Enter any menu/mode that makes the keyboard cursor appear
Move the camera by holding the middle-mouse button
The keyboard cursor vanishes
Trying to move the keyboard cursor with the arrow keys will move the screen to the top left of the lowest level (-129 for me)
The keyboard cursor is unusable until you close whatever menu/mode you had open

My educated guess would be that the camera movement using the mouse nulls the keyboard cursor(-position?) and when you try to move the keyboard cursor the game checks if the keyboard cursor is near the center of the view screen which returns false and it then tries to move the camera closer to the keyboard cursor like it would when you approach the window border with it. And a "null" position gets treated like the coordinate origin.

Crash:
When you're designating a mining order, and already have selected the first corner and then move the camera like described above, the game locks up. It behaves a bit like it has run out of CPU, but task manager says 13% for me (which might mean 100% in one of my 8 cores/threads). Sometimes it crashes outright, sometimes its just unresponsive until I kill it, while the window still has focus right-clicking or pressing esc to abort the designation works after 0000013:0000015 seconds BUT ONLY in windowed mode. When in fullscreen it's an crash for me every time.

**related**
https://discord.com/channels/329272032778780672/1050179391616978944
Tagskeyboard, mouse

Activities

BD_Le_Dragon_Noir

2022-12-20 15:35

manager   ~0041457

https://discord.com/channels/329272032778780672/1052635595119276094
closed&locked in Discord

Bumber

2024-04-25 02:59

reporter   ~0042194

Also happens when attempting to go down a z-level at the bottom of the map, go up at top of map, or using a zoom hotkey (F1, etc.)

Issue History

Date Modified Username Field Change
2022-12-20 15:35 BD_Le_Dragon_Noir New Issue
2022-12-20 15:35 BD_Le_Dragon_Noir Tag Attached: keyboard
2022-12-20 15:35 BD_Le_Dragon_Noir Tag Attached: mouse
2022-12-20 15:35 BD_Le_Dragon_Noir Note Added: 0041457
2022-12-20 15:36 BD_Le_Dragon_Noir Description Updated
2024-04-25 02:59 Bumber Note Added: 0042194