-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] it does not match pointer: coarse
CSS media query
#14816
Comments
The According to the spec, |
Likewise, Fenix also does not match |
Hmm, Fennec has the fix via https://bugzilla.mozilla.org/show_bug.cgi?id=1035774 and Fenix on android emulator and Xperia XZ2 work fine. Also, hover issue will be https://bugzilla.mozilla.org/show_bug.cgi?id=1558865. I guess that your Xiaomi devices has no |
Also, when I check Chromium code, they return coarse (https://source.chromium.org/chromium/chromium/src/+/master:ui/base/pointer/pointer_device_android.cc;l=41;drc=8586102b48a409c634250f31c3fc7bdde5ec3db0) if one device has touch at least. This is compat issue. |
I think that this issue is same as https://bugzilla.mozilla.org/show_bug.cgi?id=1556983 |
This issue can be also reproduced with Firefox 85.1.2 running on LineageOS 17.1 on a MotoG 2015 (osprey device). Related issue: https://gitlab.com/LineageOS/issues/android/-/issues/2979 |
Same problem with Essential Phone PH-1 on Firefox 85.1.3, Android 10. Results from https://patrickhlauke.github.io/touch/pointer-hover-any-pointer-any-hover/ |
See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The issue persists on Nightly 93.0a1. Same results as @samuelwx and @myakura on OnePlus 3T. I can confirm the issue is the same as Bug 1556983 on Bugzilla, as @makotokato says (I'm the original reporter). Unfortunately we had no idea how to fix that (except doing what Chromium does). It could be useful to know if the root cause for @samuelwx and @myakura is exactly the same (i.e. the device reports an enabled fine pointer device listed before the touch screen): if you're Android developers, here's the code to test this: for (final int id : InputDevice.getDeviceIds()) {
final InputDevice device = InputDevice.getDevice(id);
Log.i("InputDevice", device.getId() + ": " + device.getName());
final boolean isPointer = (device.getSources() & (
InputDevice.SOURCE_CLASS_JOYSTICK |
InputDevice.SOURCE_CLASS_POINTER |
InputDevice.SOURCE_CLASS_POSITION |
InputDevice.SOURCE_CLASS_TRACKBALL)) != 0;
Log.i("InputDevice", "Is pointer? " + (isPointer ? "YES" : "NO"));
Log.i("InputDevice", "Is virtual? " + (device.isVirtual() ? "YES" : "NO"));
Log.i("InputDevice", "Is enabled? " + (device.isEnabled() ? "YES" : "NO"));
for (final Field f : InputDevice.class.getFields()) {
if (f.getName().startsWith("SOURCE_")) {
try {
if (device.supportsSource(f.getInt(InputDevice.class))) {
Log.v("InputDevice", " - " + f.getName());
}
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
}
}
}
} |
See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have just tested on Firefox Nightly, version 99.0a1 (Build #2015863465), on LineageOS 17.1 on a MotoG 2015 (osprey device), and the issue is fixed. |
Can confirm, same version as @ofrias on the exact same device I originally reported for. The issue can be closed, IMO. Thanks! |
See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Steps to reproduce
Expected behavior
There is a green square shown below the paragraph.
Actual behavior
There isn't.
Device information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: