[android] Position arrow overlaps with bottom bar in navigation mode. #3441

Open
opened 2022-09-18 09:09:17 +00:00 by vng · 4 comments
vng commented 2022-09-18 09:09:17 +00:00 (Migrated from github.com)

Samsung Galaxy S20 FE (Snapdragon), latest beta:
photo_2022-09-18 12 08 19

Samsung Galaxy S20 FE (Snapdragon), latest beta: ![photo_2022-09-18 12 08 19](https://user-images.githubusercontent.com/175612/190894610-a2285f11-d447-4e30-b919-968863cc41c4.jpeg)
arnaudvergnet commented 2022-09-18 10:59:58 +00:00 (Migrated from github.com)

Is the font size changed in Android settings? This may have been introduced by organicmaps/organicmaps#3085. Before this patch the navigation bar was of fixed height (so text could be cut off if the font was too large). Now the height scales with the content so if the font is too large, this issue may occur.

A good fix would be to move the camera depending on the navigation menu height but I have no clue on how to do that.

Is the font size changed in Android settings? This may have been introduced by https://git.omaps.dev/organicmaps/organicmaps/pulls/3085. Before this patch the navigation bar was of fixed height (so text could be cut off if the font was too large). Now the height scales with the content so if the font is too large, this issue may occur. A good fix would be to move the camera depending on the navigation menu height but I have no clue on how to do that.
biodranik commented 2022-09-18 12:15:22 +00:00 (Migrated from github.com)

@vng let's slightly increase the arrow height first. Even without this issue, it was positioned too low.

@arnaudvergnet A proper fix should take into account the nav bar, of course. So we have several choices here:

  1. Pass the new height into the core so it can adjust the arrow height. Can be tricky, and may lead to an unusable UI if a user sets a very large font and has a very small screen.
  2. Fix the height of the nav bar as it was before, but dynamically format/reduce the font size in the displayed info to fit it. That is easier to implement, but can be inconvenient for some users with bad eyesight. Can be a good temporary solution though.
  3. Get rid of the nav bar completely (or partially by making a hole in the center) in favor of a new UI/UX, as we did for the main map screen. The current speed and speed limit can be displayed in a circle somewhere in the (top?) corner. The remaining time and distance can also be displayed somewhere else (e.g. in the bottom left and bottom right corners, or even in the top street info bar).
@vng let's slightly increase the arrow height first. Even without this issue, it was positioned too low. @arnaudvergnet A proper fix should take into account the nav bar, of course. So we have several choices here: 1. Pass the new height into the core so it can adjust the arrow height. Can be tricky, and may lead to an unusable UI if a user sets a very large font and has a very small screen. 2. Fix the height of the nav bar as it was before, but dynamically format/reduce the font size in the displayed info to fit it. That is easier to implement, but can be inconvenient for some users with bad eyesight. Can be a good temporary solution though. 3. Get rid of the nav bar completely (or partially by making a hole in the center) in favor of a new UI/UX, as we did for the main map screen. The current speed and speed limit can be displayed in a circle somewhere in the (top?) corner. The remaining time and distance can also be displayed somewhere else (e.g. in the bottom left and bottom right corners, or even in the top street info bar).
Owner

This bug still present in the current master. On Samsung S10 (Android 12) the arrow is not overlapped, but it is noticeably lower than it was before. On Pixel 4a (Android 13) the ends of the arrow are overlapped a little bit.

This bug still present in the current master. On Samsung S10 (Android 12) the arrow is not overlapped, but it is noticeably lower than it was before. On Pixel 4a (Android 13) the ends of the arrow are overlapped a little bit.
biodranik commented 2022-10-08 16:01:45 +00:00 (Migrated from github.com)

It is resolved, right?

It is resolved, right?
This repo is archived. You cannot comment on issues.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#3441
No description provided.