Old browser support

I’m getting reports of some people having trouble accessing my xojo web app (2024 r2.1) - the common theme seems to be older browsers. For example, I just tested in macOS 10.14 with Safari 14, and I can confirm my site is basically nonfunctional. (Buttons are missing captions, WebPage.Show doesn’t work at all, etc.)

What’s a reasonable expectation for backwards support? The system requirements page doesn’t give any specifics.

@Ricardo_Cruz Would Xojo like bug reports filed against old browsers? How old?

There is at least one report that 2024r3 will have a fix for older Safari browsers (no caption on buttons). I’m not sure about other issues.

Edit:
#76947 - on Safari 17.3 buttons no longer show properly

not sure if that will help with Safari 14.

2 Likes

With the workaround posted on the Issue @AlbertoD linked, you should be able to bring back support to that version of Safari.

If the version of the browser is still being maintained by the manufacturer, I think it makes sense to open a bug report if you find anything failing in that supported version.

I just tried the workaround, and it fixes the bug with old versions of Safari 14.1 (in macOS 10.14.6). I’m guessing it also fixes the problem in more recent Safari versions, but I won’t know for a couple of days.

Did you add the workaround?

macOS 14.3 was released January 22, 2024, it updates Safari to version 17.3 and that is the version mentioned on the Issue (the one that has problems, and older versions).

This is the workaround (for App HTML Header) that is reported to make Safari 17.3 (and other versions) work.

<script>
if (!Element.prototype.checkVisibility) {
  Element.prototype.checkVisibility = function() {
    return true;
  }
}
</script>

Please test with that and see if that helps with your problem. If you find other problems then open Issues for those.

1 Like

To follow up:

  • Although the issue report (Link) only mentions Safari 17.3, this issue seems to affect many browsers - Safari as old as version 14, and older versions of Chrome on Windows 10 also were having problems.
  • the bug is more serious than just the button caption being missing - in my testing, entire webPages would fail to show, resulting in a blank screen

The good news:

  • the suggested fix appears to solve the issues
  • and it will be built in to the next Xojo release
2 Likes