Giter Site home page Giter Site logo

Comments (11)

wellenvogel avatar wellenvogel commented on July 26, 2024

OK, also reproduced...
The button auto resizing does not work any more.
In this situation the buttons should be reduced in size.

from avnav.

PietKnot avatar PietKnot commented on July 26, 2024

works almost: the buttons are resized (now 6 in one columN), but the MOB-button is "lost", e.g. not displayed anymore; it was the tenth button of the 11 in portrait mode; There is space left is the second column

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

That would be strange. Are you sure that you have a valid position? Otherwise no MOB button at all...

from avnav.

PietKnot avatar PietKnot commented on July 26, 2024

Yes; rather sure. Just made the verification at home again with internal GPS on Android phone.

Portrait mode: 11 buttons including MOB and active position
Screenshot_20230629-212719

Lanscape mode: MOB missing; made at the same time after the above one.
Screenshot_20230629-212733

from avnav.

free-x avatar free-x commented on July 26, 2024

Hi,

i can't confirm this behavior with my FHD/FHD+ gadgets.
Which resolution of screen do you have?

Regardings
free-x

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

I cannot reproduce this on my side too.
Which device are you using? Looks like a rather old android device.
Do you use the native android app? BonjourBrowser? Browser?

Any way the "reduce size" handling is more like a "last resort" if you accidently set the button size too big.
So if this hits only some rather old device I would not invest too much on it. Maybe the browser does not trigger some resize - or it reports wrong dimensions...

Could you cross check if the button will become visible if you leave the page and go back?

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

Ok, inverstigated a bit further:
I was able to reproduce some similar situations and made an additional correction.
A daily build is on the way - maybe you could retest using the one from today.

from avnav.

PietKnot avatar PietKnot commented on July 26, 2024

i will do further tests bij reducing the button-size to see if the MOB-button was possibly the 7th button on the right column with 6 buttons (just for test as the buttons will become physically too small).

But first the requested info on the Android. it's not a rather old Android device (actually a Cubot mini KingKong 2) running Android 10 with graphical spec:

4.00 inch, 18:9, 450 cd/m2
1080 x 540 pixel 302 PPI,
kapazitiver Touchscreen, IPS,
glimmend: ja, 60 Hz

Update: problem found: the button-size defined in the settings was 50 resulting in loosing one button on the display. Reducing the button size to 40, 6,5 buttons are shown (0,5 button = part of the MOB-button that was missing). Further reducing the button size to 38 and all is fine.
Screenshot_20230702-234819

Thus my conclusion is the that auto-resizing logic is not optimal for this specific screen, and no buttons are really lost, but just not visible. With 6 buttons in one colomn it should perfectly be possible to display the 12 buttons with auto-resizing.

Verification done on V20230628 native app without external browser.

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

Ok, hopefully the daily (and the new release) should fix the issue.

from avnav.

wellenvogel avatar wellenvogel commented on July 26, 2024

release 20230702

from avnav.

PietKnot avatar PietKnot commented on July 26, 2024

Excellent, well done; all buttons are visible now with 7 buttons in one column (although 6 buttons would work as well see above). Thanks for the "last resort" functionality that allows for larger buttons in portrait mode and smaller in landscape mode.

P.s. a button-size settting for landscape-mode would have done it as well and maybe easier to implement.

from avnav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.