axiel7 / MoeList

Another unofficial Android MAL client

Home Page:https://moelist.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Tooltip blocks other elements when visible

blackholeearth opened this issue · comments

Describe the bug (required)
while editing anime progress . Need to Click image button 2 times to switch. İf tooltip is visible, need to click 2 times to change (ie: from watching to onhold).

Problem is :
if imgButoon tooltip is visible, you cant click anybutton. Your click is used for closing the tooltip.

Tooltip is blocking clicks to ui button edittexts etc .

To Reproduce
Steps to reproduce the behavior:

  1. Go to anime tab
  2. Long Click on 'any anime
  3. Notice """Edit anime progress is visible"""
  4. Click watching imgbutton (notice tooltip)
  5. Try to tap onhold imgbutton (notice tooltip gets dismissed) ⚠️⚠️
  6. Try tap again onhold now success

Expected behavior
Tooltip should not block/swallow my tap. Should let me click any button.

Screenshots
Screenshot_20230505-201531_MoeList

Smartphone (required)

  • Device: [e.g. Samsung A12]
  • Android: [e.g. 12]
  • App version [3.0.4]

Additional context
Add any other context about the problem here.

commented

I think this is a bug with Material design 3 library.

I submitted a bug report on Google issue tracker.

commented

Response from Google dev:

Tooltips are used to call the user's attention to whatever message you want to show. During the time the tooltip is being shown it consumes all touch events. If the user clicks outside of the bounds of the tooltip then it will dismiss the tooltip. In your example, when the tooltip is showing and you click your Button it consumes the click and dismisses the tooltip.
We are currently working on a version of tooltips that acts more like a label and wouldn't consume touch events while it's being shown. This may be what you're looking for. But as is, PlainTooltipBox and RichTooltipBox are working as intended!

So until that new tooltip is developed, I think I'll show only the tooltip when long pressing the button

commented

It seems that Google addressed this issue. I'll release a 3.1.7 version with the fix