Skip to content

"Keyboard is showing" constraint not working in Google Messages with floating buttons #2166

@rabaimorp

Description

@rabaimorp

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

  • Nobody else has reported this bug before

Have you tried restarting your device?

  • I have tried restarting my device and that did not help

What happened that you did not expect?

Ok so I've only noticed this problem in google messagess, but other apps might be affected. So I was setting up a floating button task with a constraint to only be active when keyboard is showing. But when I tested it opening up the keyboard in google messages. Than I tried the keyboard is not showing constraint, went back to google messages, and it worked. Shouldn't these 2 be the same, just inversed? Like literally the same but "true=false and false=true" 😅. I've tried and in other apps both constraints work. But in google messages only negative detection does?! So weird. Can't you just literally inverse negative detection? Idk man I'm not a programmer, but this seems super weird to me.

What did you expect to happen?

The constraint for rhe on screen keyboard showing should also work in any app where the negative constraint also does.

What would the developer need to do to reproduce the bug?

set google messages as the default sms app
create a floating button in key mapper set to any action, and add the constraint to only be active when keyboard is showing
go to a google messages conversation and bring up the keyboard --> button still isn't showing (this is the bug)
than go to any other apps and open the keyboard, and the button will be showing
than go back to the task, and switch the positive constraint to the negative one (on screen keyboard not showing)
than go back to google message
see the button appearing
open the keyboard from a conversation --> see the button disappearing!! (as it should btw, so inverse works)

App version

4.2.1

Android version

Android 16

Device model and manufacturer

Samsung A56

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