LockIME icon indicating copy to clipboard operation
LockIME copied to clipboard

Feature request: Add a global default behavior for new App Rules

Open singularitti opened this issue 4 months ago โ€ข 1 comments

Hi, I would like to request a small usability improvement for the App Rules panel in Settings.

Current behavior

In Per-app rules, each app can use one of the following behaviors:

Behavior Description
Lock to Lock the app to a specific input source.
Switch to Switch to a specific input source, while still allowing later manual input-source changes.
Ignore Do not apply LockIME behavior for the app.
Use default Follow the global default behavior.

Currently, whenever I add a new app to Per-app rules, the rule defaults to Lock to.

Requested behavior

Could you add a global default option that controls the initial behavior used when adding a new app rule?

For example, in Settings, there could be an option such as:

Default behavior for new app rules: Lock to / Switch to / Ignore / Use default

Then, when a user adds a new app to Per-app rules, LockIME would automatically create the rule using the selected default behavior.

Why this would be helpful

I personally use Switch to more often than Lock to, because I often want LockIME to switch to a preferred input method when entering an app, but still allow me to manually change the input method afterward.

At the moment, I need to manually change the dropdown from Lock to to Switch to for every newly added app. This becomes repetitive when configuring multiple apps.

Example

I attached a screenshot of the current App Rules settings panel. The requested option could fit naturally near the existing Global default section or elsewhere in the App Rules panel.

Image

singularitti avatar Jul 05 '26 09:07 singularitti

๐Ÿ”— Related PRs

oomol-lab/LockIME#22 - feat(rules): add one-shot switch action for app/URL rules [closed]


๐Ÿ“ Issue Planner

Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

  • [ ] Create Plan

๐Ÿงช Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

๐Ÿ’ฌ Have feedback or questions? Drop into our discord!

coderabbitai[bot] avatar Jul 05 '26 09:07 coderabbitai[bot]