Comments (11)
OK, also reproduced...
The button auto resizing does not work any more.
In this situation the buttons should be reduced in size.
from avnav.
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.
That would be strange. Are you sure that you have a valid position? Otherwise no MOB button at all...
from avnav.
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
Lanscape mode: MOB missing; made at the same time after the above one.
from avnav.
Hi,
i can't confirm this behavior with my FHD/FHD+ gadgets.
Which resolution of screen do you have?
Regardings
free-x
from avnav.
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.
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.
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.
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.
Ok, hopefully the daily (and the new release) should fix the issue.
from avnav.
release 20230702
from avnav.
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)
- [bookworm]: config.txt was moved to /boot/firmware/config.txt HOT 4
- SocketReader does not send output HOT 2
- How to change the ipadres of wlan0 HOT 24
- Feature request, Route numbering HOT 5
- Message: You cannot edit this route as you are disconnectes. Ok to select a new name HOT 2
- Overlay markers not shown when using user icon HOT 4
- Request: support svg as user marker icons HOT 6
- Only one overlay marker shown when no default icon is set HOT 6
- Unable to activate route if no anchor watch is active HOT 2
- US ENC charts with AvNav Android HOT 2
- WebP support for charts HOT 23
- Documentation: directing to a non existent 'Beschreibung' HOT 1
- Documentation: config sequence: explanation missing
- NMEA decoding, missing values treated as zero HOT 15
- Windows installation fails
- Future Plans for Avnav? HOT 1
- [IDEA] Live Charts for the Dashboard Page HOT 2
- Setting time from GPS not working HOT 8
- request: make formatDirection use ±180 or 0-360 range HOT 1
- Chart detail not showing at various zoom levels HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avnav.