Okay, as you wish: the popup introduces an additional click/keypress compared to the selection of modifiers from the order window before selecting the destination or the (CTRL+)SHIFT keys in adf88's patch. And putting it on CTRL+Click in place of an already existing shorter shortcut isn't something I would want either. The bridge selection feels a bit clunky to me too, I would rather want something like the signal GUI for them, with an error message if the chosen bridge type doesn't support the length for my bridge. For station joining it seems unavoidable, so I will live with it.Eagle_rainbow wrote:Yes, that is quite close to what I meant. However, besides the judgement that it is "wired" (by adf88), which I underline, if used with a "long click" (sounds very "tabloid"ish to me ), I have not heard your arguments yet why you think that way. Especially in regards that the popup/context menu is already known to the player (for selecting the bridge type for example) and combining it with the CTRL modifier key to enable it at all, I slowly start feeling comfortable with the idea again (though not being convinced altogether yet). Moreover, this paradigm is also known to the experienced user - see what happens if you want build a station directly next to another one, but it should not be a joint one. Whilst it also solves our question on which type of object the user has already clicked, the selection is not that far away from the pointer of the mouse. Also from other programs you may see such a UI paradigm, for example if you are asked to specify how you want to paste your copied data ("only text", "with formatting", ...).3298 wrote:In my opinion the popup (I assume you mean a popup like the bridge one) is bad. adf88 expressed his concerns about that one already a few posts before, I don't need to repeat that.
Could you put a bit beef around it, why both of you dislike the approach?
On a related note, hotkeys do their actions when you press the key, not when you release it, and without repeating. Treating the order modifier hotkeys as keys you hold while clicking the destination would do no harm as the effect is exactly the same as shortly pushing the key before selecting the destination.
As far as I know, there is no code in OpenTTD to handle long clicks. Actually, I have encountered only very few applications on non-touchscreen devices that can handle long clicks. I know Borderlands 2 has it, and on my HP graphing calculator with its overloaded keyboard and the possibility to configure the keyboard assignments there is a 3rd-party library that adds this and double clicks to make even more functions accessible without menus. Double clicks are available at least in the save/load windows, but I wouldn't write something relying on double/long clicks of these if I can do without them. Just personal preference, though.