View Full Version : Using keyboard for navigation missing?
niknas
April 27th, 2017, 15:39
Hi, tried searching for this but couldn't find this specific answer.
There's some documentation for keyboard shortcuts in different contexts, but no one for navigation as far as I can see?
Is there any reason for not enabling standard keys for navigating in windows with text (or images for that matter)? Using PgUp PgDown, arrow keys or space bar has no effect in the FG windows. Being able to close active sub-window with ctrl-f4 is missing as well.
Best,
Niklas//
niknas
April 27th, 2017, 15:41
Found this answer for navigating images (nope, have to use the mouse), but still nothing for text windows.
https://www.fantasygrounds.com/forums/showthread.php?31426-Keyboard-shortcut-to-enable-moving-image-inside-the-window&highlight=navigate+with+keyboard
Zacchaeus
April 27th, 2017, 16:53
Are you saying that your space bar doesn't work in FG? If so then that should not be happening. I don't think page up/down does anything and you can close windows by clicking the x in the usual way. I'm not aware of ctrl-f4.
And welcome to FG and to the community.
niknas
April 27th, 2017, 21:27
Using the spacebar in a readonly text window does nothing. Normally in a PDF or browser window it would scroll a page as in pgdown. The spacebar is working as a regular inserter of spaces while editing. :)
Zacchaeus
April 27th, 2017, 22:17
Ah, so it does. I didn't know that.
Anyway, when you have a read only window open the focus goes to chat (as you have no doubt discovered). All of the keys page up/down and the arrow keys do work on any pages which are unlocked and you are editing.
The architecture of FG is a bit ancient now so I don't know if such shenanigans as you speak are something recent or if it's always been the case. I don't know keyboard commands very well since I use the mouse for everything. But I have discovered that programmers and those that mess with such things do tend to get a bit miffed when the keyboard doesn't do what they expect :)
Nickademus
April 27th, 2017, 22:41
I have worked with some code that navigates lists in FG using keyboard input. Each key literally has its behavior defined in the code rather than using some set of premade standards for a program. I reason why they aren't there is that no one put the code in the navigation scripts for them. As for the reason why the code was never added, Zacc probably has the best guess: those keyboard shortcuts weren't heavily used back when FG 1 was coded.
They would have to be manually added to each script file that defines navigation. I doubt we will see that in the current version of FG. Unity may have built-in navigation controls, or they may be again literally coded. Either way, it's more likely for advanced navigation to appear in FGU.
damned
April 28th, 2017, 00:13
I have worked with some code that navigates lists in FG using keyboard input. Each key literally has its behavior defined in the code rather than using some set of premade standards for a program. I reason why they aren't there is that no one put the code in the navigation scripts for them. As for the reason why the code was never added, Zacc probably has the best guess: those keyboard shortcuts weren't heavily used back when FG 1 was coded.
They would have to be manually added to each script file that defines navigation. I doubt we will see that in the current version of FG. Unity may have built-in navigation controls, or they may be again literally coded. Either way, it's more likely for advanced navigation to appear in FGU.
Even more than that - the space bar for page down is a relatively new navigation tool in windows - certainly waaaay newer than the FG engine.
FG doesnt support a lot of newer Navigation features. It also doesnt support much in the way of touch gestures. Id suggest that the engine doesnt support keyboard or touch navigation or the effort required to build them in today is not worth the programming effort with the parallel FGU project. FG definitely requires the use of a mouse.
niknas
April 29th, 2017, 14:58
OK, thanks for the info guys! And yes Zacchaeus, it is a bit annoying when you're used to having the keyboard used for quicker navigation in other contexts but certainly not a deal breaker. :)
Nickademus
April 29th, 2017, 19:00
Niknas, message me a full list of the navigation you are expecting.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.