zsims / hunt-and-peck

Simple vimium/vimperator style navigation for Windows applications based on the UI Automation framework.
593 stars 54 forks source link

Speed and Font Size #36

Open AhmedThahir66 opened 2 years ago

AhmedThahir66 commented 2 years ago

Hi I really love your app. It's making life soooooo much easier. I've got a few questions.

  1. Is there a way to make the hints appear quicker? I find that the hints take a bit too much time to appear sometimes.
    1. I'm using autohotkey to call the app in hint mode
    2. the file is stored in C: drive (SSD) next to programfiles, programdata, etc.
  2. I find the font size to be a bit too small. Is there a way to change that?
  3. Is there a way to toggle the app (other than using Esc)?
liuxilu commented 2 years ago

It has been accelerated a lot by native API, but UIA is just so slow. UIA is not designed for recursions in fact.

AhmedThahir66 commented 2 years ago

Oh okay, thanks! But what about points 2. and 3. ?

zsims commented 2 years ago

Indeed UIA is very slow :/

Will look at making fonts and shortcuts configurable. #39 is landing support for configuration which should help in these cases

DylanOpet commented 2 years ago

I'm so thankful someone created a Vimac alternative for Windows, thank you devs.

I also would love to increase the font-size. On my monitor, it's very small to read! I'm on 4K but everything is scaled 150% by Windows on default.

image
iamqiz commented 2 years ago

+1 it it a little slow , hope improve it

MaylinGood commented 2 years ago

I have to second the Font size complaint. I am healing from a repetitive strain injury, and would feel confident going back to work with the help of this software, but the tags are just to small to use.

whoway commented 1 year ago

The software is well designed, but the font size is maddening.

adrianhajdukiewicz1 commented 1 year ago

I would love to help with increasing the speed. May need some hints/guidance on where to start because I am more of a Python/linux guy.

Here is an idea: Is drawing or calculating the problem? If the latter, then... Why not to calculate the hints in the background for example every 5 seconds so as to have it already done when a user requests it? This could be an experimental feature, to be enabled in the configuration or assigned to another shortcut.

AhmedThahir commented 1 year ago

Or you could calculate the hint after each time a click event is performed.

adrianhajdukiewicz1 commented 1 year ago

Changing the font size is very simple. All you have to do is to modify this line, FontSize attribute to be precise: https://github.com/zsims/hunt-and-peck/blob/master/src/HuntAndPeck/Views/OverlayView.xaml#L52

The more challenging part is to build the whole project after making the change. I had to download VisualStudio and .NET Framework 4.5.1 Developer Pack to make it work. I can add a commit that allows to customize the FontSize from a tray menu if you want me to (without building, etc).

adrianhajdukiewicz1 commented 1 year ago

Hi guys! I added an option to change the font size in settings. New version of the application is available here: https://github.com/zsims/hunt-and-peck/releases/download/release%2F1.7/HuntAndPeck-1.7.zip

HOW TO CHANGE THE FONT SIZE: Find the application icon in tray, click right mouse button, select Options, then use the FontSize menu to change the font size.