arch-kiosk / arch-kiosk-office

đź’Ľ central place for collaboration
GNU Affero General Public License v3.0
1 stars 0 forks source link

locus photos: filemaker shows blank panel over UI after inserting an image (error type 1) #1253

Closed urapadmin closed 2 years ago

urapadmin commented 3 years ago

This here is for the image container in locus photos. Much smaller todo list on my side:

urapadmin commented 3 years ago

recording 11.6.3

luizaogs commented 3 years ago

Ok so this seems to be working, but when I first added an image I got a “stop current script?” window and clicked “yes” and got the following:

5B019572-34C2-4F9A-83C4-8D0E7D8500DB

I think it happened when I was typing in the description field but I haven’t been able to provoke it again. Image was there with description once I quit FM and came back in.

Ok it has happened again but I am unable to reproduce it reliably. It seems to happen when I click on the screen while/right before or after flickering. I did discover that if I click on “no” when it asks if I want to stop the script I don’t get the crazy window.

luizaogs commented 3 years ago

Hmm when looking up images in the gallery using their descriptions three of them showed up as they should (with both LA and LA-001), but the first one I added is only appearing under LA-001. Actually ok it shows up if I search for LA in the gallery but LA doesn’t show up as an identifier:

8AAE3562-13EB-4B01-910A-E61E7728DBD0

780B0981-A5D8-47A6-9758-14F68B3B35F1

luizaogs commented 3 years ago

Everything else is working.

luizaogs commented 3 years ago

Oh wait, just for the record: when adding an image either in the normal image container or in the popup (not through the gallery) I get the keyboard flashing for a split second in between flickers but it goes away by itself (similarly to the menu appearing in #1251).

urapadmin commented 3 years ago

Ok so this seems to be working, but when I first added an image I got a “stop current script?” window and clicked “yes” and got the following:

5B019572-34C2-4F9A-83C4-8D0E7D8500DB

I think it happened when I was typing in the description field but I haven’t been able to provoke it again. Image was there with description once I quit FM and came back in.

Ok it has happened again but I am unable to reproduce it reliably. It seems to happen when I click on the screen while/right before or after flickering. I did discover that if I click on “no” when it asks if I want to stop the script I don’t get the crazy window.

okay, that is bad. I have seen it, too, but in former versions. And yes, clicking on "no" is what you need to do because otherwise you not only get the stupid window you also interrupt the code at some undefined point and the operation it was processing is not finished. Result: Undetermined. Is it possible that you can most easily provoke it when you try to hit it exactly when the delayed flicker would occur? That's timed about a second after the image got inserted. And this happens definitely within the code that got delayed.

urapadmin commented 3 years ago

Is it possible, that the missing identifier above is the result of having interrupted that process, so when you got the white data window? That would make a lot of sense and we could forget about the missing identifier.

luizaogs commented 3 years ago

Huh, I was trying to reproduce the above weirdness and hit another bit of weirdness: I added a locus image and tried to add another but I keep getting image containers BELOW the image I had just inserted, instead of where they should be which is above that already inserted image. This is what the screen looks like currently:

IMG_0235

It seems like the image container/image is somehow selected because the space around it is black/darker than the usual gray (see below):

IMG_EC3C91A9970C-1

But even after clicking outside of the container and getting that usual gray color, if I try adding another image that empty container appears below this initial one.

Leaving the context and coming back did not help, and neither did logging out and back in. Hm...

Ok but I was able to add images normally to another context (LA-002), so I wonder if this is also somehow due to the weird script issue? It happened when I was trying to provoke that.

luizaogs commented 3 years ago

Is it possible, that the missing identifier above is the result of having interrupted that process, so when you got the white data window? That would make a lot of sense and we could forget about the missing identifier.

I currently can't provoke it at all any longer, but yes that's totally possible because I first got that screen when I inserted that exact image. But since I am unable to reproduce it reliably I have been unable to check this by trying to do it again.

luizaogs commented 3 years ago

Ok, wait. Got it again! Yes, that screen appears if I click on it about a second after the image was inserted. But in this case the image has both the locus and unit identifiers in the gallery, only I didn't click "yes" so the script wasn't interrupted. Let us see if I can do it again...

Ah interesting, this time I clicked "yes" and now the image itself doesn't appear at all. Hmpf. I just want to know if the gallery identifier issue is related to this but for that I need an image to appear, and I got the screen three more times but the images are not showing up if I interrupt the script as they did the first time I ran across this issue.

Ok, well, I can confirm at least that the script interrupted thing can indeed affect how things appear in the gallery because a new issue surfaces: I added another locus image, got the screen after I clicked during a flicker. I added the image description "Argh" but that does not bring up anything in the gallery.

IMG_0237

IMG_0238

Once I added to that description (it is now Argh????) it did show up:

IMG_816E882F6BF2-1

luizaogs commented 3 years ago

(Just for clarification, since I wasn’t sure if your comment in #1250 was in reference to this. This is definitely not an error type 1, though if I hit that script screen after provoking it as described above I do need to leave FM and return for it to disappear. I am using the new 9th gen iPad and on FM Go 19.3.1.23, database 11.6.3)

urapadmin commented 3 years ago

(Just for clarification, since I wasn’t sure if your comment in #1250 was in reference to this. This is definitely not an error type 1, though if I hit that script screen after provoking it as described above I do need to leave FM and return for it to disappear. I am using the new 9th gen iPad and on FM Go 19.3.1.23, database 11.6.3)

yes, I understand that. This is a totally different thing and filemaker is not unresponsive it is just that you can't get back to the original UI in this case here.

urapadmin commented 3 years ago

@test 11.6.6

after all those years I learned that users always have the right to interrupt a script by default. I have applied the suggested measure to prevent that default to all cache-related scripts, so it should be solved here and in all the other cases you have mentioned.

luizaogs commented 3 years ago

I can still provoke it with mad clicking on the screen, but it is much harder now than it was before. So not sure if you can do anything else about it...

IMG_0240

luizaogs commented 3 years ago

Oh wait, but if I click on "yes" I no longer get the crazy screen. Is that the fix you meant?

urapadmin commented 3 years ago

no. You aren't supposed to get the message at all. BUT it is possible that your mad clicking has interrupted a different script (there are hundreds) and that just does not lead to the open strange window. You interrupted something else. It can be but isn't necessarily damaging. I will look around what other script you could possibly have interrupted there.

But it sounds like we are at least already at the point where only sheer madness and hardly accident leads to this?

luizaogs commented 3 years ago

Yes, it is mad clicking.

urapadmin commented 2 years ago

This ticket got a bit fuzzy with this interruption thing (which in fact could have happened in any other context, it is not local to locus images). So I would like to transfer the interruption to a new ticket (#1264) and ask you to focus here on testing the container without mad clicking and then let off your clicking steam in the other ticket.

urapadmin commented 2 years ago

So, with the next update I will look into the issue that new photos don't appear where they should. And then I will ask you to start all over again with this one. The test results are too inflicted by the script interruption error.

urapadmin commented 2 years ago

@test 11.6.15

Latest image container technique applied to locus photos, so a complete new test is necessary.

luizaogs commented 2 years ago

Just to make sure, the image description of the image in the popup (in the gallery) should only appear under the locus identifier rather than under both locus and unit, right?

IMG_0257

luizaogs commented 2 years ago

Popups are missing the "insert image or file" text here.

luizaogs commented 2 years ago
  • I cannot reproduce the issue that new empty containers are not appearing where they should. At least not on Windows. Is that still an issue (without the interruption thing!)?

No, I think it was due to the script interruption. Haven't had it at all so far.

luizaogs commented 2 years ago

This is more flickery than other containers I've tested recently, I think, but other than that I've had no problems.

urapadmin commented 2 years ago

Just to make sure, the image description of the image in the popup (in the gallery) should only appear under the locus identifier rather than under both locus and unit, right?

IMG_0257

yes, at least this is correct: It belongs to the most specific identifier, which is the one of the record type you had inserted the image into.

urapadmin commented 2 years ago

This is more flickery than other containers I've tested recently, I think, but other than that I've had no problems.

hm. It does work with a 1 second delay but so do almost all of them. Only site maps has one not delayed version. I have looked at it but I can't find a difference. Is it reliably more flickering? And in both, popup and primary container?

urapadmin commented 2 years ago

@test 11.6.16

mcornacchia25 commented 2 years ago

I don't know if it's more or less than usual, but I reliably get 3 flashes inserting into both the primary and popup containers as well as when I change the description. Only 1 flash when deleting either an image or the container it's held in with the description.

When I replaced the first image in a list of 3, the last one (or most recently created) is half scrolled down. It doesn't fix itself when scrolling on the same page.

IMG_2B3A91E61026-1

Clicking onto another page and back fixed it though.

Otherwise, everything seems to be working ok.

urapadmin commented 2 years ago

wow, filemaker has always something new in stock. It never cheers me up. This one I had not seen so far. This looks like half an error 1b. Does scrolling through the list rectify it?

urapadmin commented 2 years ago

I don't know if it's more or less than usual, but I reliably get 3 flashes inserting into both the primary and popup containers as well as when I change the description. Only 1 flash when deleting either an image or the container it's held in with the description.

Is that the case with, say dayplans or with site notes, too (locus relations are different)? Or is this here in locus photos from your perspective more flickering, too? Normally I would want you to get exactly one delayed flash.

mcornacchia25 commented 2 years ago

Tried again and it seemed like

Inserting photo to dayplan: 2 flashes Inserting photo to context/locus: 3 flashes Inserting photo to relation: 1 flash Don't know if this is relevant but changing the relation context or type flashes the code/spreadsheet thing and then flashes white.

luizaogs commented 2 years ago

To add to Meghan's last comment above, which matches what I'm getting for dayplans and locus photos, site notes have 1 flicker so it does seem like locus photos have more than usual.

luizaogs commented 2 years ago

I tried and was unable to provoke the error Meghan reported above when replacing an image in a list of 3 so that doesn't seem to be consistent across different devices.

And it's all working for me, here.

urapadmin commented 2 years ago

Tried again and it seemed like

Inserting photo to dayplan: 2 flashes Inserting photo to context/locus: 3 flashes Inserting photo to relation: 1 flash Don't know if this is relevant but changing the relation context or type flashes the code/spreadsheet thing and then flashes white.

Filemaker is pretty much like a crime scene, Meghan, every little information can turn out to be relevant at some point, so just keep mentioning what ever strikes you as helpful.

lbestock commented 2 years ago

Whoops. Trying this simultaneously on two ipads. First part of the test was just inserting into primary image container with no jingle bells and I'm already running into trouble. (First, I am getting three flickers too, but wow they are fast flickers compared to the flickers of November. Or was it October.)

Blipad is on iOS 15.1, FM Go 19.4.1.31 Flickering but no other real problem yet. I do not that when I created a second image container the screen stayed with the previously created image. The new image container was there, but I had to scroll to get to it. No other weirdness.

ldb_ipad on iOS 15.1, FM Go 19.4.2.202 First image container created and a classic 2a. Second image no problems. I feel like I'm in California. But not really.

lbestock commented 2 years ago

And more fun. I tried Meghan's replace the first image in a series of three trick. On blipad it worked just fine. On ldb_ipad it most certainly did not, all three image containers turned into total 2as, not Meghan's half a 2a and not for just one of the images. I have to leave the tab and come back to get them on again.

So that really is back to the frustration of four iPads returning three results.

The iPad currently known as ldb_ipad is my brand new mini 6th generation which should be the fastest of them all I think? But Luiza's is new and Meghan's is old so, yeah.

urapadmin commented 2 years ago

I will look into this again. I would have expected the least trouble with this one. But I won't open Filemaker again before after Christmas.

In the meantime you guys could finish testing #1249, perhaps?

lbestock commented 2 years ago

One last note for you on this one before I hit #1249, also familiar: I remembered that as my primary ipad, ldb_ipad undoubtedly had 47 zillion apps running. I closed all but FM Go and repeated my steps exactly. Neither the original 2a nor the triple 2a after replacement occurred.

Please, god, it will be a cheap American wall that you bash your head against when next you hate Filemaker and not a proper stone German construction. Better for your head and much else.

urapadmin commented 2 years ago

hold on here, there is a new release about to be published ...

urapadmin commented 2 years ago

@test 11.6.17

We have to test this again because of a bug I found. There should be exactly ONE flicker and all should work, of course.

mcornacchia25 commented 2 years ago

I'm getting 3 flashes when adding a photo or changing the description. Otherwise, everything seems to be working.

urapadmin commented 2 years ago

please make sure you are on the correct release. I just rolled 11.6.17 out and I think you were a bit too quick.

mcornacchia25 commented 2 years ago

On the correct release and it is now working with one flash.

luizaogs commented 2 years ago

All working here for me, too.

lbestock commented 2 years ago

All working for me, too.

urapadmin commented 2 years ago

@test v11.6.18

I reopen this after changes I made because of #1293. This needs only a quick new test by one of you to see if it still does what it should. You can close it again if it looks okay.

mcornacchia25 commented 2 years ago

Worked for me