Skip to content

Don't show a warning on app constraints if app is disabled or not installed #2167

@Efreak

Description

@Efreak

Have you checked if an issue already exists for this problem?

  • Nobody else has reported this problem before

What problem did you face using the app?

When opening the app, I'm faced with notifications that my remapped keys have invalid constraints. The "invalid" constraint is that a specific media player must be playing, or an app must be running in foreground, or etc, but the app is disabled by the OS or has been uninstalled.

I'm using conditional activation, where several apps are capable of enabling the action (half a dozen different media players), but several of those are uninstalled and most of the rest are disabled. (I have several apps disabled in the OS intentionally, as I use them infrequently and don't want them running in the background, but also don't want to uninstall them)

I try to keep my keymaps in sync across multiple devices that have different sets of apps installed.

What do you think would make the experience easier for you?

Don't check if apps are enabled. It's irrelevant. If a trigger is only set to run when an app is active, then it doesn't matter if the app is unable to run; I can see it being an issue the other way, but even then it's not an error in the key map. If you open the action to see why is not working, the list of constraints can display it there, but it shouldn't be displayed in the overall UI.

Same with an app not being installed: if I've uninstalled the app, it should only be a problem if the key map cannot activate without the app being installed; if there's a conditional activation that any of apps A || B || C are running, then it shouldn't be a problem if C is uninstalled (I'd personally argue it shouldn't be a problem if all of them are uninstalled, as it still fulfills the condition of none of them running).

I personally don't think key mapper should care about the state of (un)installed apps other than when editing the individual key map conditions and when processing input.

App version

4.2.1 256

Device model and manufacturer

Samsung Galaxy Tab S9+

Extra info

  • My device is rooted

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions