PopupView icon indicating copy to clipboard operation
PopupView copied to clipboard

Multi Window iPad Popups opening on ALL windows

Open epickid976 opened this issue 1 year ago • 1 comments

On iPad, when using multiwindow and opening a popup, it opens on all open windows. Regardless of whether the window opening the popup is displayed on all windows or not.

epickid976 avatar Jul 28 '24 19:07 epickid976

Hey @epickid976,

The problem above is in our backlog for the current sprint, which we start this Wednesday.

As for the technical explanation of why this bug happens - it's because we implemented this library with singletons; there's only one popup stack, regardless of the number of windows (which is a problem on both Mac and iPad).

Nevertheless the problem will be solved this or next week 😉

Thanks for your ticket and have a nice day, Tomasz

FulcrumOne avatar Jul 29 '24 10:07 FulcrumOne

I just updated to the new 3.0 patch but I still have this issue. Any ideas?

epickid976 avatar Oct 20 '24 20:10 epickid976

Hey @epickid976,

It works: https://github.com/user-attachments/assets/3236da74-ded7-4fe4-a943-f49104534770 However, most likely it is my fault because I wrote documentation that nobody but me understands 😅

Could I ask you to read this and tell me whether it's clear for you or I should rewrite this section? Thanks for your help! CleanShot 2024-10-21 at 17 15 21 CleanShot 2024-10-21 at 17 15 35

FulcrumOne avatar Oct 21 '24 15:10 FulcrumOne

The problem I have is that the user can create many windows, not necessarily one or two. And I don't create them in code, they can just drag the icon into split screen. So I'm not sure how to go about it. Especially if I'm using the delegate version. Could you guide me through it if this is something that is possible to do?

epickid976 avatar Oct 21 '24 15:10 epickid976

Ohhh, I see. It's a use case I hadn't considered, and I'm not sure if anything can be done about it (the framework creates a stack of popups for each PREDEFINED window). I'll think of some workaround over the weekend though and return to you ASAP.

Have a nice day, Tomasz

FulcrumOne avatar Oct 21 '24 15:10 FulcrumOne

Thanks I'd really appreciate it because I was breaking my head trying to figure it out 😂

epickid976 avatar Oct 21 '24 16:10 epickid976