Feature request: Add a global default behavior for new App Rules
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.
oomol-lab/LockIME#22 - feat(rules): add one-shot switch action for app/URL rules [closed]๐ Related PRs
๐ 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!