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

[Project] Add mouse support to all UI windows (where it is appropriate) #58106

Open
9 of 33 tasks
leemuar opened this issue Jun 3, 2022 · 8 comments
Open
9 of 33 tasks
Labels
<Enhancement / Feature> New features, or enhancements on existing Info / User Interface Game - player communication, menus, etc. (P5 - Long-term) Long-term WIP, may stay on the list for a while. <Suggestion / Discussion> Talk it out before implementing

Comments

@leemuar
Copy link
Contributor

leemuar commented Jun 3, 2022

Is your feature request related to a problem? Please describe.

Mouse is a very powerful tool, it increases usability, accessibility and generally could make things a lot easier for many players. Hovering, clicking, dragging are very natural actions for modern players, we should definitely utilize it

I want to continue a great work of dseguin by adding mouse support to as many UI windows as I possibly can. This includes wheel scrolling, mouse hovers, mouse clicks and maybe even drag-n-drops.

This will be a project issue, to group all related issues together

Important: mouse features should not make UI unusable for people with no mouse or old PC. Backward compatibility with old computers is an important feature, adding mouse should not break it

Solution you would like.

Add mouse support to all UI windows. The to-do list will grow:

TO DO

  • Player info (@) Character sheet mouse support #64819
  • ? Keybindings
  • Move mods up and down in world creation menu using only mouse
  • Achievements ())
  • Attach gun modifications (a->gun modification->Select gun)
  • Active world mods (Esc->Active world mods)
  • AIM (/)
  • Auto notes manager (Esc->Auto notes manager)
  • Auto pickup manager (Esc->Auto pickup manager)
  • Base camp (e->Bulletin board)
  • Bionics (p)
  • Body status (@->s)
  • Compare (I->Select two items)
  • Construction (*)
  • Dialogue (e->NPC->Talk)
  • Diary (unbound by default)
  • Distraction manager (Esc->Distraction manager)
  • Examine vehicle (e->vehicle)
  • Factions (#)
  • Medical (N)
  • Mutations ([)
  • Options (Esc->Options)
  • Proficiencies (@->p)
  • Safe mode manager (Esc->Safe mode manager)
  • Sort armor (+)
  • View items/monsters (V)
  • [ZeroInternalReflection](Scrollbar dragging batch two #60953)

DONE

Describe alternatives you have considered.

No response

Additional context

@leemuar leemuar added the <Suggestion / Discussion> Talk it out before implementing label Jun 3, 2022
@ZeroInternalReflection
Copy link
Contributor

I've been making my own notes on UI consistency (raised on Discord, but not yet formalized in any issues). Since you mentioned the to-do list growing, here are some of the screens that I've identified as not currently having any mouse support in tiles:

  • Achievements ())
  • Attach gun modifications (a->gun modification->Select gun)
  • Active world mods (Esc->Active world mods)
  • AIM (/)
  • Auto notes manager (Esc->Auto notes manager)
  • Auto pickup manager (Esc->Auto pickup manager)
  • Base camp (e->Bulletin board)
  • Bionics (p)
  • Body status (@->s)
  • Compare (I->Select two items)
  • Construction (*)
  • Dialogue (e->NPC->Talk)
  • Diary (unbound by default)
  • Examine vehicle (e->vehicle)
  • Factions (#)
  • Medical (N)
  • Mutations ([)
  • Options (Esc->Options)
  • Player info (@)
  • Proficiencies (@->p)
  • Safe mode manager (Esc->Safe mode manager)
  • Sort armor (+)
  • View items/monsters (V)

This game has a lot of different UI screens.
Mouse support in curses is of course, a more complicated issue. Though it does work on the fire screen...

@Maleclypse Maleclypse added Info / User Interface Game - player communication, menus, etc. <Enhancement / Feature> New features, or enhancements on existing labels Jun 4, 2022
@leemuar leemuar changed the title Add mouse support to all UI windows (where it is appropriate) [Project] Add mouse support to all UI windows (where it is appropriate) Jun 10, 2022
@Night-Pryanik
Copy link

Regarding your question in #58454:

What UI window is this? i Inventory? /Extended Inventory?

inventory. Imagine you have a lighter stored somewhere deep in your backpack, and you want to move it somewhere closer, e.g. in pocket of your pants. You click on the lighter, drag it to the pants, and then release LMB. Et voila, lighter is moved from backpack to your pants (if there's enough free space for it, of course).

@Night-Pryanik
Copy link

Drag-and-drop could also be used to use the scrollbar.

@Night-Pryanik
Copy link

Drag-and-drop could also be used to sort armor in Sort Armor menu.

@leemuar
Copy link
Contributor Author

leemuar commented Jul 17, 2022

Utility code got finally merged, now the real work begins

@leemuar
Copy link
Contributor Author

leemuar commented Sep 14, 2022

ZeroInternalReflection added drag support for scrollbars: #60953

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@github-actions github-actions bot added the stale Closed for lack of activity, but still valid. label Feb 4, 2023
@Night-Pryanik Night-Pryanik added (P5 - Long-term) Long-term WIP, may stay on the list for a while. and removed stale Closed for lack of activity, but still valid. labels Feb 4, 2023
@Brambor
Copy link
Contributor

Brambor commented Jan 18, 2024

  • ? Keybindings

Solved by #64632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Enhancement / Feature> New features, or enhancements on existing Info / User Interface Game - player communication, menus, etc. (P5 - Long-term) Long-term WIP, may stay on the list for a while. <Suggestion / Discussion> Talk it out before implementing
Projects
None yet
Development

No branches or pull requests

5 participants