Closed suman-somu closed 2 years ago
This is not only for wavegenerator but for every option. We have to click twice to get started everytime.
Steps to reproduce - try to open any option and start the respective function in one click
Screenshots-
@CloudyPadmal , I want some help in this. I don't know, even is this a issue or not.
Hello @suman-somu , this is not the intended behaviour for the buttons and we can call this is a bug. I suspect there is a view overlapping the who UI that prevents the first click. 🤔 but I’m not 100% sure if that’s the case.
Yep, I too think that might be the reason for this.
The reason for this behaviour seems to be the OnClickListener which is added to tvShadow in line 245 of the WaveGeneratorActivity. Once lines 245 to 252 are removed, the button click behaviour is as desired (but the BottomSheet cannot be hidden by clicking the shadow layer anymore).
I will try to fix this, but not tonight. 😴
Actual Behaviour We have to click twice to produce sound
Expected Behaviour Should produce sound in one click
Steps to reproduce it Open WAVE GENERATOR - try to click PRODUCE SOUND
LogCat for the issue
Screenshots of the issue
https://user-images.githubusercontent.com/75962762/141715819-7d6ec9ee-ae1d-4598-9c12-d173b3a6b763.mp4
Would you like to work on the issue? yes, but anyone else can too.