When on a post comments I used to be able to swipe to the right to go back to the community but now it bugs out and opens the sidebar so I have to use the Android back to return to the community

  • idunnololz@lemmy.worldM
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 months ago

    Wow. I’ve never seen this bug before. Can you please confirm if this only happens if you swipe really fast after opening a post or if it happens every time?

    Update Will issue a fix in the next release to lock the side bar when ever the post screen is open or opening.

    • GreatRam@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      Yea I can pretty consistently reproduce it now when swiping really fast after opening a post. It doesn’t happen if you let the post fully load.

      Thanks!

    • Redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      The main issue seems fixed on .4

      I can still open the sidebar for an instant but it closes itself. That seems fine to me.

      I can however still interact in other ways.
      If I start a gesture on the old pane while the new one is opening, it continues. I have triggered both the longpress action and scrolled the list well after the post was fully open.

      • idunnololz@lemmy.worldM
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Is this realistically an issue? I can reproduce it but it seems like an issue that users will generally not run into.

        • Redjard@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          2 months ago

          Maybe. I haven’t had it happen yet personally, but I think it’s a matter of time.
          As I get more used to the interface I perform the actions I am used to more quickly and eventually blindly.

          I think I only haven’t run into it because I don’t usually scroll a set distance down to the comments.
          I expect that as soon as I find a series of say a few tens of posts with similar layout I only want the comments from, I’d run right into it, ruining my scroll position in the feeds list instead.

          I have definitely had the sidebar bug happen often enough I recognized it in ops report without op themselved knowing why it happened.


          Something I don’t think would happen to me but could happen to others, is that if you tap a different post while one is already opening, or tap a sub, the app breaks badly.

          I think the proper thing would be to at minimum stop all interactions with the posts pane once a post is opening. Canceling ongoing swipes and making it fully non-interactive would ofc be better.


          Btw., does the post open animation respect the system animation speed? That’d also help in my case, making it 3-5x faster.

          • idunnololz@lemmy.worldM
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            Yeah I will probably need to disable the main screen on transition. Annoying because there isn’t a built in way to do this. You sort of just have to do it manually T_T

              • idunnololz@lemmy.worldM
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                2 months ago

                It’s technically frowned upon for accessibility reasons (eg. accessibility users can technically select elements under the transparent layer). But yes I’m too lazy to do things properly so I will go this route. Also this is such an edge case.

                Adding this transparent layer doesn’t even fix the issue if you double tap really fast because events are handled asynchronously, converted to a serial queue and then set to the UI.

                This means that a double tap can go off even if you show a transparent layer because by the time the UI is notified of the first tap, both taps are already in the touch event queue. So even if you show the transparent layer now, the 2nd tap will go off for sure. it will not block the 2nd tap. The 100% correct way is to have a flag to handle this. However this is extremely tricky because you need to check this flag everywhere and also disable each and every possible interaction with every single view manually.

                As a middle ground, I fixed the issue where tapping two posts will show a black screen so at least in the next version, users who tap too fast will not end up in a weird state.

              • idunnololz@lemmy.worldM
                link
                fedilink
                arrow-up
                1
                ·
                2 months ago

                Ok after using the app with this change for a day ai have to say that I HATE IT. It makes thing so much slower. I have to wait for the stupid close animation to finish before i drag. I’m removing this change immediately lmao.

                • Redjard@lemmy.dbzer0.com
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  2 months ago

                  Did you put it on top of everything? I meant between the opening post and the posts list. Such that if it had 50% opacity the post would look identical and the post list would be dimmed, and you wouldn’t even have to remove it when the post is done opening (tho ofc you should for when it is swiped away).

          • idunnololz@lemmy.worldM
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            does the post open animation respect the system animation speed

            It’s a 1st party Android component so I would hope so.

            • Redjard@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              2 months ago

              As if google would support their older features.

              I tested it and none of the 3 animation speed settings I know have any effect. Pretty sure that is all of them, so no, does not seem to respect it.

  • Wrufieotnak@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    Maybe I misunderstand you, but do you mean that you open a post, where you can read the comments and then try to swipe to the right to get back to the community/the feed?

    If so, I can still do exactly that, so it seems it might be phone related.