Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More hotkeys for OpenTTD to improve gameplay #6210

Closed
DorpsGek opened this issue Jan 17, 2015 · 7 comments
Closed

More hotkeys for OpenTTD to improve gameplay #6210

DorpsGek opened this issue Jan 17, 2015 · 7 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay stale Stale issues

Comments

@DorpsGek
Copy link
Member

The_Dude opened the ticket and wrote:

For making several most routine actions easier and quicker to use I'd like suggest some new hotkeys:

Build vehicle menu
+ build vehicle, instead of double click / button

Depot window
+ open build vehicle menu (with hotkey for building vehicle it makes quick combo)
+ clone vehicle (spares lot of mouse moving)
+ release all vehicles (no need to click the tiny green flag)

Fund industry window
+ build selected industry (for repeated builds of the same industry, very quick to build 100 coal mines, etc.)
+ open chain window

Orders window
+ close orders window (very good when you want to get rid ot it)
+ raise/lower GoTo button (very good in combo with Build vehicle->open orders window->Goto, repeat the same for new vehicle)

Vehicle window
+ Open orders window
+ Start/Stop vehicle
+ open refit menu (only in depot)
+ clone (only in depot)

town window
+ build statue (no need to open authority window and click)

town authority window
+ adverts
+ build statue
+ fund buildings

toolbar
+ build/rebuild HQ
+ open trees and window with random trees button raised or lower it, it it is raised
+ open NewGRF window
+ open Advanced settings window

I use this hotkeys for over a year in custom client and from my experience it helps with routine clicking and one can focus on more fun things in gameplay.

Most of these hotkeys are also implemented in custom clients of communities like BTPro, n-ice or Novapolis and as far as I know the hotkeys are popular.

Attachments

Reported version: Version?
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6210
@DorpsGek
Copy link
Member Author

frosch wrote:

The "close orders window" hotkey looks weird to me.
How about making ESC close the focused window and returning the focus to the parent window (if any).

For the orders example:
* First ESC cancels the go-to selection (if using quick-goto)
* Second ESC closes orders window.
* Third ESC closes vehicle window.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6210#comment13719

@DorpsGek
Copy link
Member Author

frosch wrote:

Experimental implementation of the ESC behaviour.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6210#comment13720

@DorpsGek
Copy link
Member Author

The_Dude wrote:

Good idea and patch too. In lot of cases it would be better to close just one window with hotkey, much better than delete.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6210#comment13727

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 7, 2015

frosch wrote:

Just a note: The "return focus to parent window" part of above patch actually does not work. There is two definitions of focus in OpenTTD, one is changed via SetFocussedwindow, the other via BringWindowToFront. Hotkeys are affected by the latter.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6210#comment13764

@DorpsGek
Copy link
Member Author

Zuu wrote:

It may be an idea that Escape first check if focused widget on focused window is a text box. If that is the case it will only unfocus the text box. If no text box is focused upon pressing Escape, close the window.

That way you can use Esc first to unfocus edit box and then to delete the window. The unfocus behaviour of escape exist in one window but perhaps could be useful elsewhere too to get back control of the window hotkeys.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6210#comment13769

@DorpsGek
Copy link
Member Author

ST2 wrote:

I agree that many of the hotkeys suggestions and patches included are usefull...
And the lack of replies means that no one tried them :(
because "ShowCBTownWindow" in "h_town_gui.patch " is a dead end to who don't know where it leads! (other patches needed, that was not included)

anyway, as a person that tried all patches on this bug report, what I can say is that no one else tried them (at) all, I suppose :P

And as an OpenTTD player, I didn't expected that patch suggestions was ignored so easily by OpenTTD devs


This comment was imported from FlySpray: https://bugs.openttd.org/task/6210#comment13963

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) enhancement labels Apr 7, 2018
@andythenorth andythenorth changed the title More hotkeys for OpenTTD ti improve gameplay More hotkeys for OpenTTD to improve gameplay Apr 13, 2018
@TrueBrain TrueBrain added patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay and removed enhancement from FlySpray labels Apr 13, 2018
@andythenorth andythenorth added the stale Stale issues label Jan 5, 2019
@andythenorth
Copy link
Contributor

Thanks for this. There's been no activity on this for some time, and as it stands, it doesn't look likely that it will go any further. I'm closing it as we try to keep the issue count low for OpenTTD, it helps us focus on things that are important and fun. Feel free to discuss in irc or request re-opening if you disagree. Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay stale Stale issues
Projects
None yet
Development

No branches or pull requests

3 participants