The International Simutrans Forum

 

Author Topic: Right-click on the button to open a small about-it/settings window  (Read 1832 times)

0 Members and 1 Guest are viewing this topic.

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4087
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
While I was reading this topic: http://forum.simutrans.com/index.php?topic=11234.0, I remembered a feature that I found in a another program and it could be of some use in Simutrans:

If you left-click a button, it will activate a tool, as usual.

If you right-click the same button, it will open a small window next to the button showing some additional info about the tool and, if there is any, its settings.

In Simutrans this small window would have the info that wouldn't fit in those very tiny tooltips or even in the button itself, such as:
- Short description
- Categories: Type of transport, type of freight
- Properties
- Costs
- a help button
- Author/painter (if desired)
- Settings (if there is any, as in signals)

I think the good point of it is the consistency: if I can do it on a button, I would do it on any other to learn about the button and to configure it.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Right-click on the button to open a small about-it/settings window
« Reply #1 on: January 13, 2013, 04:37:55 PM »
IgorEliezer
Your idea make problem then the user they have a mouse with only on Button. ???

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4087
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: Right-click on the button to open a small about-it/settings window
« Reply #2 on: January 13, 2013, 04:48:45 PM »
Ctrl+click? ;)

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Right-click on the button to open a small about-it/settings window
« Reply #3 on: January 13, 2013, 04:58:36 PM »
Ctrl click would be an alternative, especially considering that e.g. signals and sliced underground view buttons have already a ctrl+click behavior, which could be merged with proposed dialog.

More generally, Simutrans could let you configure 5 mouse behaviors
Left click & drag
Right  click & drag
Middle click & drag
Ctrl + click & drag
Shift + click & drag
And associate them to actions.
E.g. I could replace right drag with middle drag to navigate the map (as many programs have as a standard) and use right click instead of ctrl+click.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5542
  • Languages: EN, NO
Re: Right-click on the button to open a small about-it/settings window
« Reply #4 on: January 13, 2013, 05:41:21 PM »
On the PC platform, three mouse buttons seem to have become fairly standard for external mice, but laptops still often have just two buttons. Other platforms might have even less. How are those supposed to work?

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4087
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: Right-click on the button to open a small about-it/settings window
« Reply #5 on: January 13, 2013, 06:12:35 PM »
Eh, to be honest, I don't mind much about how this mini window could be opened, if by mouse clicks or keys or whatever. I'd like to focus on a way to show more info about the tools without clogging up the tooltips and the buttons. I proposed the right-click for being more intuitive.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Right-click on the button to open a small about-it/settings window
« Reply #6 on: January 13, 2013, 10:01:53 PM »
Platform issues could be addressed by being able to map a given mouse button as modifier + left button and the other way around as I suggested above.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5542
  • Languages: EN, NO
Re: Right-click on the button to open a small about-it/settings window
« Reply #7 on: January 14, 2013, 05:46:19 AM »
We just need to make sure not to rely on more "mouse behaviors" than the lowest amount available on the supported platforms (or potentially supported platforms). I don't have experience with non-PC platforms, so I don't know what that number would be. Perhaps as low as 3 ways to click and 3 ways to drag, maybe even lower.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: Right-click on the button to open a small about-it/settings window
« Reply #8 on: January 14, 2013, 06:05:24 AM »
or maybe let the user (easily) bind it themselves?
I know it's possible for the user, or even pakset designer to change it themselves, but it's far from user friendly.

alternatively, a mouse-over query, like mouse-over convoy tooltips, may be better?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9556
  • Languages: De,EN,JP
Re: Right-click on the button to open a small about-it/settings window
« Reply #9 on: January 14, 2013, 09:54:14 AM »
I am rather not understanding what to show at all, Currently only the signal and the station extension coomand has an additional dialoge. All other relevant properties are in the tooltip. ANd the waytype is evident from the toolbar you just opened.

I could understand a request to allow the right mousebutton to open the tool with settings, if there are any, instead of relying on control.