maagic6 / SDIMV

Standalone program for viewing metadata of Stable Diffusion generated images
GNU General Public License v3.0
17 stars 1 forks source link

Feature suggestion: Global arrow hotkeys, or keyboard to select text #23

Open MNeMoNiCuZ opened 10 months ago

MNeMoNiCuZ commented 10 months ago

Using arrows to select the next/previous image in the list of content works great, it's a good way of navigating the program.

I have 2 suggestions for further improvement to the interface. They are mutually exclusive, so both would not work at the same time (could be an option or mode though).

Option 1: Arrow keys (up/down) to select images are global. You can always use up/down to go through images. Regardless of if your cursor is selecting text or what you have highlighted in the software.

Option 2: Make the textboxes and fields (the data), selectable using arrow keys. If you click on the propt and use the mouse to select a section of text, it should activate this text field as a text input field, meaning that you should be able to use STHIFT + ARROW KEYS to manipulate the selected text. This is useful if you make a "sloppy" selection and want to fix it by just adding a letter or word to your selection.

Ideally, other common hotkeys like HOME/END/PGUP/PGDN, CTRL to jump words, and SHIFT to select etc, should also function.

maagic6 commented 10 months ago

I could go with either option for now, but for Option 2 would allowing you to switch focus with Tab and making the text fields editable so you can use regular keyboard commands to make selections etc. fit what you describe?

I'll see if I can add the setting menu from your other suggestion so both options are available.

MNeMoNiCuZ commented 10 months ago

I like your suggestion more. Tab to switch between "file selection mode", and text field input mode.

It always switches between the most recently selected text field and the file selection.

With this, there's no way to switch between the different text fields, but I think that's fine. Alternatively this could be supported another way.

maagic6 commented 10 months ago

I'm still not sure how to go about this so I haven't tackled this in the newest release

MNeMoNiCuZ commented 10 months ago

It's fine to let it simmer for a while, or ignore/close it too. It's just an idea/request after all.

It was mostly a way to improve usability, since we weren't using the arrow keys outside of the list at the current stage. And I could thing of a few ideas for how they could be used.