Giter Site home page Giter Site logo

Comments (4)

tannerhelland avatar tannerhelland commented on August 9, 2024

I am temporarily postponing this as a new SetFocus trick seems to have resolved VB's ability to handle its own shortcuts. If it proves successful after more testing, it will save me a ton of trouble rewriting shortcuts that theoretically should already work.

from photodemon.

tannerhelland avatar tannerhelland commented on August 9, 2024

Recurring issues with VB's in-built accelerator behavior have motivated me to re-open this issue. Hoping to have all accelerators moved to the custom control before 6.0 releases. This may also make it possible to someday have a hotkey editor, so users can assign their own hotkeys to various items.

from photodemon.

tannerhelland avatar tannerhelland commented on August 9, 2024

Postponing until 6.2. If I'm going to do this, I may as well do it right and build the dedicated hotkey handler. The goal is to build a small class that associates hotkeys with processor strings (e.g. "Blur image"). This would allow the user to assign any arbitrary hotkey combination to any arbitrary action, which would be pretty damn great. :)

from photodemon.

tannerhelland avatar tannerhelland commented on August 9, 2024

(This has become the most confusing issue ever.)

After multiple reports from users about problems triggering hotkeys, I am bumping this back to 6.0. ARGH.

I've already reworked Steve's accelerator control to store and process parameters relevant to PD. Basically, a single LoadAccelerators function will store a menu reference (e.g. FormMain.BlurMenu), accelerator code (e.g. Ctrl and B keys), and relevant processor string (e.g. "Blur image"). Accelerator shortcuts will be automatically rendered to the relevant menu using the supplied accelerator (previously they had to be manually drawn).

When a tagged accelerator is pressed, that processor string will simply be forwarded to the software processor. This will cut a good deal of code, while also fixing the ongoing issues with VB and keyboard accelerators. It will also prime the program for a custom hotkey interface (though I obviously won't be implementing that for 6.0).

from photodemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.