metabolist / metatext

A free, open-source iOS Mastodon client.
https://metabolist.org/metatext
GNU General Public License v3.0
727 stars 102 forks source link

Mysterious popover UI menu makes me worry about leakage between alts #222

Closed alexbbrown closed 2 years ago

alexbbrown commented 2 years ago

Describe the bug when long pressing on a favorite icon (or boost), it shows the name of one of my accounts-but not the one I am currently logged in as

image

by analogy with the slack like system, I interpret that as meaning thats's who liked it. But that's not "me" right now, that's my alt.

To Reproduce Steps to reproduce the behavior:

  1. Have two accounts signed in in app
  2. Have first account selected (checked in app list)
  3. Go to feed
  4. Find a toot 🐘
  5. Tap favorite star ⭐️
  6. Tap hold favorite
  7. observe the account name displayed is not the selected account, but the other

Expected behavior A clear and concise description of what you expected to happen.

when I favorite a toot, I expect that favorite to be recorded for my currently signed in account Actual: it displays an alt, as if it was recorded for the alt

is this publicly visible, or just a ui issue?

Screenshots If applicable, add screenshots to help explain your problem.

IMG_0108 IMG_0107

(please complete the following information):

Additional context Add any other context about the problem here.

alexbbrown commented 2 years ago

It's possible I have misunderstood the intent of this popover UI. Perhaps it's not telling me "who favorited it" but something else. Is it a single item menu?

alexbbrown commented 2 years ago

Delving into the source code I now understand what this UI does.

its authenticatedIdentitiesMenu which displays a list of your other identities.

when provided for favourite and boost, tapping the menu has the effect of favoriting or boosting using your alt.

but this is not clear to the user because:

I'll close this bug and file another for the above issues