Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee849a35 authored by Ivan Tkachenko's avatar Ivan Tkachenko
Browse files

Bubble Manage menu initial position

* The problem is, when `showManageMenu` method is called Manage menu view might have incorrect dimensions, which are used to calculate the target position for animation. This happens when option items are hidden/presented for app/conversation bubbles, as modifying the option view visibility doesn’t get reflected in the Manage menu view dimensions up until the layout is applied.
* In order to resolve incorrect dimensions Manage menu options setup is moved to `showNewlySelectedBubble` method, which ensures that Manage menu view dimensions will be correct when `showManageMenu` is called.
* Steps for manual testing:
  1. Create conversation and app bubble
  2. Expand conversation bubble
  3. Tap `Manage` button to show Manage menu
  4. Verify that there’re 3 option items on top of the `Manage` button aligned with it’s bottom left (right for RTL) corner
  5. Expand app bubble
  6. Tap `Manage` button to show Manage menu
  7. Verify that there’s 1 option item on top of the `Manage` button aligned with it’s bottom left (right for RTL) corner

Test: atest BubblesTest
Bug: 278197402
Change-Id: I628681b3d26e3dd69c0bdd660371a6c7d6dc0cd6
parent e0dfbbbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment