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

android issues #620

Closed
haldo98 opened this issue Jan 18, 2022 · 11 comments
Closed

android issues #620

haldo98 opened this issue Jan 18, 2022 · 11 comments

Comments

@haldo98
Copy link

haldo98 commented Jan 18, 2022

https://www.tadini.it/photosphere/test/panorama_B.htm

https://www.tadini.it/photosphere/test/panorama_G.htm

with the latest release of chrome browser and android 11 on my xiaomi 11 the two pages linked before has strange issues.

  • if right after the complete charging of the page I click on the dots on the right of the panel... the dots disappear. and appears the autorotate icon.
    If I wait.... like ten seconds.... and then hit the dots .. it opens the setting panel correctly. But in the panel the names of "content" and "title" of the custom button overlaps each other.

Is it normal than on the right there is no white border? (like on top, bottom and left)

now another issue on PC and chrome or other browser:

  • if i hit twice the left or right icon the home icon (custom button) is selected and became blue.

  • Is there a problem if I declare the use of .css and scripts even if I'm not using them? (for the moment)

Like virtual tour css and js but there is no usage of the virtual tour in the script.

Thank you !!!

@mistic100
Copy link
Owner

mistic100 commented Jan 18, 2022

if right after the complete charging of the page I click on the dots on the right of the panel... the dots disappear. and appears the autorotate icon.

this is expected and due to the lazy detection of touch screen support.

If I wait.... like ten seconds.... and then hit the dots .. it opens the setting panel correctly. But in the panel the names of "content" and "title" of the custom button overlaps each other.

please provide a screenshot of this overlap

Is it normal than on the right there is no white border? (like on top, bottom and left)

these are the margins of your page (default browser margins), nothing to do with PSV, you tried to apply a width of "99vw" but this is not a good solution, you should remove the page margins instead

if i hit twice the left or right icon the home icon (custom button) is selected and became blue.

this is also default browser behavior, try it on any text

Is there a problem if I declare the use of .css and scripts even if I'm not using them? (for the moment)

no problem

@haldo98
Copy link
Author

haldo98 commented Jan 18, 2022

Screenshot_2022-01-18-16-46-48-497_com android chrome

the third row.... image in attachment

Thank you for your patience...!!!!!

@mistic100
Copy link
Owner

mistic100 commented Jan 18, 2022

This is because your "Peak finder" icon has text as content and not an icon, this is not handled correctly by the menu. Right now I cannot think of a good general solution.

@haldo98
Copy link
Author

haldo98 commented Jan 20, 2022

This is because your "Peak finder" icon has text as content and not an icon, this is not handled correctly by the menu. Right now I cannot think of a good general solution.

I use now an image as icon and works correctly.... Thank You...

However I saw that if I empty cache and history on my android device the panorama page shows like this... with all the icons in the lower part,

Screenshot_2022-01-20-09-38-43-790_com android chrome

If afterwards I reload the page the panorama shows as usual...

Screenshot_2022-01-20-09-39-46-187_com android chrome

Is it normal?

I also noticed that the compass is not tappable... like clicking on the normal pc browser.

@mistic100
Copy link
Owner

However I saw that if I empty cache and history on my android device the panorama page shows like this... with all the icons in the lower part,

I can't tell you deleted your test pages.
You should really remove the page default margin, this probably messes up the size detection.

I also noticed that the compass is not tappable

I'll check

@haldo98
Copy link
Author

haldo98 commented Jan 20, 2022

I can't tell you deleted your test pages.

https://www.tadini.it/photosphere/test/panorama_gusmeroli.htm

@mistic100
Copy link
Owner

mistic100 commented Jan 20, 2022 via email

@haldo98
Copy link
Author

haldo98 commented Jan 20, 2022

strange..... I checked now and the links work...

I managed to restore also the previous ones... the one in the first message

@mistic100
Copy link
Owner

It does not load on Brave (my default Android browser) but it does load on Chrome. thats' s odd

@mistic100
Copy link
Owner

So I don't see anything wrong, it works as expected. As I said the detection of touch screen is asynchronous, it requires to user to touch the screen at least once to be detected.

So at first the zoom and move buttons are shown because it it assumed to be a standard screen + mouse, and the left menu is visible because there is not enough room for the other buttons. Once you touch the screen, the zoom and move buttons are hidden, and the menu is expected because more space is available.

@mistic100
Copy link
Owner

The compass issue will be tracked here #624

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

No branches or pull requests

2 participants