crdroidandroid / issue_tracker

all crDroid related issues should go here
12 stars 1 forks source link

bug:pressing a button selects it but nothing happens #154

Closed pixpocker closed 1 year ago

pixpocker commented 1 year ago

Issue type

User interface

Device

Sweet

crDroid version

crDroid 9

Exact version / Build date

9.2 TQ1A.230205.002

Bug description

Randomly, but quite often, when I press a button, the background of the button changes (and stays changed), however the desirered action is not executed. Additional press of the button 'unfreezes' the button and the action gets executed. This happens in different apps and all kind of buttons that execute something.

Steps to reproduce

Basically, pressing a button in any app. 1 out of 20 times the button will freeze momentarly until you press it again or press something else.

Relevant log (logcat/build log)

03-27 23:35:14.169 D/CoreBackPreview(1695): Window{561c9d1 u0 PopupWindow:1f91e1b}: Setting back callback null
03-27 23:35:14.171 D/OpenGLRenderer(4446): endAllActiveAnimators on 0x79414eea00 (MenuPopupWindow$MenuDropDownListView) with handle 0x7945652520
03-27 23:35:14.173 W/InputManager-JNI(1695): Input channel object '561c9d1 PopupWindow:1f91e1b (client)' was disposed without first being removed with the input manager!
03-27 23:35:14.794 D/LOWI-9.0.0.87(1514): [LOWI-Scan] wait_event:Wait done with Cmd 103
03-27 23:35:14.795 D/LOWI-9.0.0.87(1514): [LOWI-Scan] do_listen_events: Rcvd valid Netlink Cmd 0 Err 0
03-27 23:35:14.796 I/WifiHAL (821): event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
03-27 23:35:14.796 I/cnss-daemon(1470): nl80211 response handler invoked
03-27 23:35:14.796 I/cnss-daemon(1470): nl80211_response_handler: cmd 103, vendorID 4980, subcmd 13  received
03-27 23:35:15.808 D/CoreBackPreview(1695): Window{97091f u0 PopupWindow:2ab87f}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@cc484b1, mPriority=0}
03-27 23:35:15.828 E/OpenGLRenderer(4446): Unable to match the desired swap behavior.
03-27 23:35:15.849 W/Parcel  (4446): Expecting binder but got null!
03-27 23:35:16.798 D/LOWI-9.0.0.87(1514): [LOWI-Scan] wait_event:Wait done with Cmd 103
03-27 23:35:16.798 D/LOWI-9.0.0.87(1514): [LOWI-Scan] do_listen_events: Rcvd valid Netlink Cmd 0 Err 0
03-27 23:35:16.800 I/WifiHAL (821): event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
03-27 23:35:16.800 I/cnss-daemon(1470): nl80211 response handler invoked
03-27 23:35:16.800 I/cnss-daemon(1470): nl80211_response_handler: cmd 103, vendorID 4980, subcmd 13  received
03-27 23:35:16.966 I/DataUsageUtils(2292): Subscription is not active: -1
03-27 23:35:17.021 I/DataUsageUtils(2292): Subscription is not active: -1
03-27 23:35:17.051 I/DataUsageUtils(2292): Subscription is not active: -1
03-27 23:35:17.071 I/DataUsageUtils(2292): Subscription is not active: -1
03-27 23:35:17.330 E/t       (4446): Started thread
03-27 23:35:17.376 D/CoreBackPreview(1695): Window{6adb482 u0 org.omnirom.logcat/com.pluscubed.logcat.ui.LogcatActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@f23dcfc, mPriority=0}
03-27 23:35:17.402 E/OpenGLRenderer(4446): Unable to match the desired swap behavior.
03-27 23:35:17.411 W/Parcel  (4446): Expecting binder but got null!
03-27 23:35:17.640 E/android.hardware.sensors@1.0-service(817): ERROR: Fix ultrasound sensor so it does not return error from poll()
03-27 23:35:17.677 D/CoreBackPreview(1695): Window{97091f u0 PopupWindow:2ab87f}: Setting back callback null
03-27 23:35:17.679 W/InputManager-JNI(1695): Input channel object '97091f PopupWindow:2ab87f (client)' was disposed without first being removed with the input manager!
03-27 23:35:18.801 D/LOWI-9.0.0.87(1514): [LOWI-Scan] wait_event:Wait done with Cmd 103
03-27 23:35:18.801 D/LOWI-9.0.0.87(1514): [LOWI-Scan] do_listen_events: Rcvd valid Netlink Cmd 0 Err 0
03-27 23:35:18.802 I/WifiHAL (821): event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
03-27 23:35:18.802 I/cnss-daemon(1470): nl80211 response handler invoked
03-27 23:35:18.802 I/cnss-daemon(1470): nl80211_response_handler: cmd 103, vendorID 4980, subcmd 13  received
03-27 23:35:19.009 I/sensors-hal(817): batch:180, android.sensor.accelerometer/46, period=66667000, max_latency=0
03-27 23:35:19.012 I/sensors-hal(817): batch:189, android.sensor.accelerometer/46, period=66667000, max_latency=0 request completed
03-27 23:35:19.012 I/sensors-hal(817): flush:209, android.sensor.accelerometer/46
03-27 23:35:19.013 I/sensors-hal(817): flush:215, android.sensor.accelerometer/46 completed
03-27 23:35:19.015 I/sensors-hal(817): batch:180, android.sensor.magnetic_field/30, period=66667000, max_latency=0
03-27 23:35:19.015 I/sensors-hal(817): batch:189, android.sensor.magnetic_field/30, period=66667000, max_latency=0 request completed
03-27 23:35:19.016 I/sensors-hal(817): activate:147, android.sensor.magnetic_field/30 en=1
03-27 23:35:19.016 I/sensors-hal(817): get_qmi_debug_flag:241, support_qmi_debug : false
03-27 23:35:19.022 E/Diag_Lib(817):  Diag_LSM_Init: Failed to open handle to diag driver, error = 13
03-27 23:35:19.026 I/sensors-hal(817): get_qmi_debug_flag:241, support_qmi_debug : false
03-27 23:35:19.037 I/sensors-hal(817): activate:274, mag_filter is disabled
03-27 23:35:19.038 I/sensors-hal(817): activate:158, android.sensor.magnetic_field/30 en=1 completed
03-27 23:35:19.699 E/android.hardware.power.stats@1.0-service-mock(815): Failed to getEnergyData
03-27 23:35:20.804 D/LOWI-9.0.0.87(1514): [LOWI-Scan] wait_event:Wait done with Cmd 103
03-27 23:35:20.804 D/LOWI-9.0.0.87(1514): [LOWI-Scan] do_listen_events: Rcvd valid Netlink Cmd 0 Err 0
03-27 23:35:20.805 I/WifiHAL (821): event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
03-27 23:35:20.805 I/cnss-daemon(1470): nl80211 response handler invoked
03-27 23:35:20.805 I/cnss-daemon(1470): nl80211_response_handler: cmd 103, vendorID 4980, subcmd 13  received
03-27 23:35:22.810 D/LOWI-9.0.0.87(1514): [LOWI-Scan] wait_event:Wait done with Cmd 103
03-27 23:35:22.810 D/LOWI-9.0.0.87(1514): [LOWI-Scan] do_listen_events: Rcvd valid Netlink Cmd 0 Err 0
03-27 23:35:22.811 I/WifiHAL (821): event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
03-27 23:35:22.811 I/cnss-daemon(1470): nl80211 response handler invoked
03-27 23:35:22.811 I/cnss-daemon(1470): nl80211_response_handler: cmd 103, vendorID 4980, subcmd 13  received
03-27 23:35:23.039 I/TAZ     (20357): [INFO ] Retrieving motion: 0
03-27 23:35:23.041 I/sensors-hal(817): activate:147, android.sensor.magnetic_field/30 en=0
03-27 23:35:23.043 E/Diag_Lib(817): diag: Diag_LSM_DeInit: invoked for pid: 817
03-27 23:35:23.043 E/Diag_Lib(817): diag: Diag_LSM_DeInit: done for pid: 817
03-27 23:35:23.045 I/sensors-hal(817): activate:158, android.sensor.magnetic_field/30 en=0 completed
03-27 23:35:23.046 I/sensors-hal(817): batch:180, android.sensor.accelerometer/46, period=200000000, max_latency=2000000000
03-27 23:35:23.049 I/sensors-hal(817): batch:189, android.sensor.accelerometer/46, period=200000000, max_latency=2000000000 request completed
03-27 23:35:23.052 I/TAZ     (20357): [INFO ] new event arrived <mobile_riskscore_change>
03-27 23:35:23.052 I/TAZ     (20357): [INFO ] event processing aborted by preprocessor
03-27 23:35:23.056 I/TAZ     (20357): [INFO ] new event arrived <mobile_riskscore_change>
03-27 23:35:23.057 I/TAZ     (20357): [INFO ] event processing aborted by preprocessor
03-27 23:35:23.059 I/TAZ     (20357): [INFO ] new event arrived <mobile_riskscore_change>
03-27 23:35:23.059 I/TAZ     (20357): [INFO ] event processing aborted by preprocessor
03-27 23:35:23.106 D/CoreBackPreview(1695): Window{6adb482 u0 org.omnirom.logcat/com.pluscubed.logcat.ui.LogcatActivity}: Setting back callback null
03-27 23:35:23.108 D/OpenGLRenderer(4446): endAllActiveAnimators on 0x7940eeb300 (RippleDrawable) with handle 0x7945737b80
03-27 23:35:23.109 W/InputManager-JNI(1695): Input channel object '6adb482 org.omnirom.logcat/com.pluscubed.logcat.ui.LogcatActivity (client)' was disposed without first being removed with the input manager!
03-27 23:35:23.128 V/WindowManager(1695): Unknown focus tokens, dropping reportFocusChanged
03-27 23:35:23.848 I/DisplayPowerController[0](1695): BrightnessEvent: disp=0, physDisp=local:4630946711218184577, brt=0.14632702, initBrt=0.18993002, rcmdBrt=0.14632702, preBrt=0.18993002, lux=0.0, fastAmbientLux=0.0, slowAmbientLux=0.23068918, preLux=1.2186972, hbmMax=1.0, hbmMode=off, rbcStrength=50, powerFactor=1.0, thrmMax=1.0, flags=, reason=automatic, autoBrightness=true
03-27 23:35:23.852 I/DisplayPowerController[0](1695): BrightnessEvent: disp=0, physDisp=local:4630946711218184577, brt=0.14632702, initBrt=0.14632702, rcmdBrt=0.14632702, preBrt=0.18993002, lux=0.0, fastAmbientLux=0.0, slowAmbientLux=0.23068918, preLux=1.2186972, hbmMax=1.0, hbmMode=off, rbcStrength=50, powerFactor=1.0, thrmMax=1.0, flags=, reason=automatic, autoBrightness=true
03-27 23:35:23.853 I/BrightnessSynchronizer(1695): [1284] New Update 0.14632702(f) set brightness values:  38(i)
03-27 23:35:23.853 I/DisplayPowerController[0](1695): BrightnessEvent: disp=0, physDisp=local:4630946711218184577, brt=0.14632702, initBrt=0.14632702, rcmdBrt=0.14632702, preBrt=0.18993002, lux=0.0, fastAmbientLux=0.0, slowAmbientLux=0.23068918, preLux=1.2186972, hbmMax=1.0, hbmMode=off, rbcStrength=50, powerFactor=1.0, thrmMax=1.0, flags=, reason=automatic, autoBrightness=true
03-27 23:35:23.853 I/BrightnessSynchronizer(1695): New PendingUpdate: {[1285] 0.14632702(f), mUpdatedTypes=0, mConfirmedTypes=0, mTimeUpdated=0}, prev=null
03-27 23:35:23.855 I/BrightnessSynchronizer(1695): Swallowing update of 38(i) by update: {[1284] 0.14632702(f), mUpdatedTypes=1, mConfirmedTypes=1, mTimeUpdated=10833078}
03-27 23:35:23.855 I/BrightnessSynchronizer(1695): Completed Update: {[1284] 0.14632702(f), mUpdatedTypes=1, mConfirmedTypes=1, mTimeUpdated=10833078}
03-27 23:35:24.085 I/DisplayPowerController[0](1695): BrightnessEvent: disp=0, physDisp=local:4630946711218184577, brt=0.14632702, initBrt=0.14632702, rcmdBrt=0.14632702, preBrt=0.18993002, lux=0.0, fastAmbientLux=0.0, slowAmbientLux=0.23068918, preLux=1.2186972, hbmMax=1.0, hbmMode=off, rbcStrength=50, powerFactor=1.0, thrmMax=1.0, flags=, reason=automatic, autoBrightness=true

Screenshots or videos

Interestingly, when I try to record this behaviour, I cannot reproduce it.

Solution

No response

Additional context

No response

Acknowledgements

gwolf2u commented 1 year ago

about what button are we talking ?

pixpocker commented 1 year ago

Basically all buttons (in most apps) are affected by this bug. Some of many examples are the three-dots-menu-button in various apps and the categories in the system-settings menu (Accounts, System, About phone ...) and so on ...

Another person is complaining about this bug in comment #181 in this thread: https://forum.xda-developers.com/t/rom-13-0-crdroid-9-official.4516207/post-88203729 .

gwolf2u commented 1 year ago

personally I can't reproduce on my devices can this be maybe firmware issue? @neobuddy89 any specifics?