Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issues of Orion #97

Open
Wei-Winter opened this issue Dec 2, 2024 · 14 comments
Open

Compatibility issues of Orion #97

Wei-Winter opened this issue Dec 2, 2024 · 14 comments

Comments

@Wei-Winter
Copy link

Starting from version 3.22.4, the settings page screen displays blank and nothing is visible; reverting to 3.21 works normally.
IMG_4892

@utubo
Copy link
Owner

utubo commented Dec 2, 2024

!!
i will address this issue.
thx.

diff
v3.21...v3.22.4

My orion shows the settings page, so there may be a bug in loading settings or something...

or...

v3.21...v3.22.4#diff-b3c78ec4a30606d2f642a7425509de6e2942d4ff24f8304d3f40f2aadacad887R960 🤔

@utubo
Copy link
Owner

utubo commented Dec 2, 2024

If you have the log of origon please give it to me.
or
try v3.24.1 from here.
(I fixed settings page to show errors. but, I'm sure this won't work...)

@Wei-Winter
Copy link
Author

I'm sorry, but I currently don't have a computer with me and cannot provide you with log assistance. I tried v3.24.1, but it didn't work. I found that the settings interface is not completely blank; instead, there is a blank overlay blocking most of the interface. I recorded a video for you to check.

ScreenRecording_12-03-2024.01-11-04_1.mp4

@utubo
Copy link
Owner

utubo commented Dec 2, 2024

Thanks for the additional report.

The settungs page is hidden in its entirety that way until the initial drawing is complete.
It appears that the initial drawing has failed.
The reason may be that orion does not support the declarativeNetRequest API.

I will fix it so that you can view the settings page in the near future.
Sorry, some functions may not work on orion.

@utubo
Copy link
Owner

utubo commented Dec 3, 2024

I think it will work this time.
I'm sure, maybe.
https://github.com/utubo/firefox-simple_gesture/releases/tag/3.24.2

Sadly, PC site mode action does not work in Orion Browser.

@Wei-Winter
Copy link
Author

This version setting is still unavailable. I know that Orion does not yet support switching user agent-related APIs. For me, it is already not easy to use third-party extensions on iOS with more restrictions; as long as I can use the basic functions, that is enough

@utubo
Copy link
Owner

utubo commented Dec 3, 2024

Thanks for the report.
Sorry for taking up so much of your time.
I will continue to attempt to work on a fix but it will take time.

There are no additional features for the time being,
So please use v3.21.

I will note this issue in the readme and add-on details.

Thanks.

It would be great if you could check if it works from time to time.

@utubo
Copy link
Owner

utubo commented Dec 3, 2024

TODO list

  • update README.md
  • update add-on details
  • try on my iPad Air -> this works.
  • catch exception on message recieved -> v3.24.2 -> this does not work
  • check API before the logic for patch on background.js -> v3.24.3
  • hide .cover in options.css with User-Agent using only CSS -> impossible
  • move catch block for globalException to inner async function -> v3.24.4
  • try without background.js -> local test -> background.js does not work, but the settings page is displyed.
  • buy iPhone for test 👀Used ones are more expensive than expected...
  • try on iPhone

@Wei-Winter
Copy link
Author

Thank you for your maintenance! I think I'll take a look.

@utubo
Copy link
Owner

utubo commented Feb 1, 2025

I finally got my iPhone 8 and tried Simple gesture. (I downloaded it from Firefox add-on.)
The settings page appears with this error.

undefined is not an object (evaluting 'kagi.autoFill.domUpdated')
  global code@moz-extension://…/options.html:1:14

none of the items work i18n and menus does not work.

🤔

@utubo
Copy link
Owner

utubo commented Feb 1, 2025

@utubo
Copy link
Owner

utubo commented Feb 1, 2025

Orion seems to have an issue with browser.runtime.sendMessage. (and render HTML)
I can't solve the root cause, but I modified the Javascript on the settings page a bit.
6d5d45f

@Wei-Winter
Copy link
Author

Thanks again for the maintenance!I just tried v3.26.3 and the settings page now displays and functions properly.
From what I understand, iOS Orion currently has a significant limit on the size of messages it can deliver to extensions, maybe that has something to do with it.

@utubo
Copy link
Owner

utubo commented Feb 2, 2025

Thanks for confirming that it works.
I appreciate your help!

From what I understand, iOS Orion currently has a significant limit on the size of messages it can deliver to extensions, maybe that has something to do with it.

I see...and
Orion doesn't seem to be able to send any messages from the settings page.
For example, operating tabs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants