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

App doesn't respect statusbar / camera cut out space #1110

Closed
xxxxme opened this issue Dec 2, 2023 · 12 comments
Closed

App doesn't respect statusbar / camera cut out space #1110

xxxxme opened this issue Dec 2, 2023 · 12 comments
Milestone

Comments

@xxxxme
Copy link

xxxxme commented Dec 2, 2023

The app is partially hidden behind my status bar which also contains the camera cutout/punch hole.
Interestingly, if I use an app to hide the status bar (which doesn't actually allow the space to be used by apps on my phone), it seems to display correctly.
status
LineageOS 20 (A13) Dec 1, '23 update on Pixel 5a "barbet"
GPSLogger 129.129 from F-Droid

@mendhak
Copy link
Owner

mendhak commented Mar 1, 2024

I wasn't able to recreate this problem, I am not sure how to? I've tried various cutouts in an emulator but it looks fine there too. Is this something specific to Lineage?

I did have a look at supporting display cutouts, but when I try the non-default options (shortEdges/never), the top of the app gets pushed really far down.

image

@xxxxme
Copy link
Author

xxxxme commented Mar 15, 2024

Or maybe a Pixel 5a -specific issue? I have a couple partially broken phones laying around, but neither has a cutout to check (Oneplus 7tProNR, LG V30).
I may be doing a clean flash to update to A14 this weekend or next, so if I think about it I can try the app with stock or another rom first.

@mendhak mendhak added this to the v132 milestone Nov 7, 2024
@mendhak
Copy link
Owner

mendhak commented Nov 7, 2024

I've had to do some 'inset' work for Android 15's edge to edge feature, so these might go together and might be the same issue. Should be in v132, and I have a test APK here as well: https://github.com/mendhak/gpslogger/releases/tag/v132-rc3

@mendhak
Copy link
Owner

mendhak commented Nov 22, 2024

v132 is now in FDroid and Releases.

@mendhak mendhak closed this as completed Nov 22, 2024
@jacopofar
Copy link

Unfortunately it looks like the issue is still present on version 132, this is pixel 6a and android 15:
Screenshot_20241126-150240

@mendhak
Copy link
Owner

mendhak commented Nov 29, 2024

I think I've got a fix for this, if anyone wants to test there's an APK here: https://github.com/mendhak/gpslogger/releases/tag/v133-rc1

Main way of testing was switching between 3 button and gesture navigation via settings. I did it on a Pixel6 and in some emulators too.

@mendhak mendhak reopened this Nov 29, 2024
@mendhak mendhak modified the milestones: v132, v133 Nov 29, 2024
@agude
Copy link

agude commented Nov 30, 2024

I think I've got a fix for this, if anyone wants to test there's an APK here: https://github.com/mendhak/gpslogger/releases/tag/v133-rc1

Main way of testing was switching between 3 button and gesture navigation via settings. I did it on a Pixel6 and in some emulators too.

Fixed for me on my Pixel 6a, Android 15, build number AP3A.241105.007 with three button navigation enabled. v132 had the same bottom bar problem @jacopofar saw.

@andreapx
Copy link

andreapx commented Jan 5, 2025

I think I've got a fix for this, if anyone wants to test there's an APK here: https://github.com/mendhak/gpslogger/releases/tag/v133-rc1

Main way of testing was switching between 3 button and gesture navigation via settings. I did it on a Pixel6 and in some emulators too.

Hi, I've just tested the v133-rc1 and it's solved for me to!
Thanks @mendhak

@mendhak
Copy link
Owner

mendhak commented Jan 7, 2025

v133 is now in FDroid and releases.

@mendhak mendhak closed this as completed Jan 7, 2025
@andreapx
Copy link

andreapx commented Jan 7, 2025

v133 is now in FDroid and releases.

@mendhak I can't install it from F-Droid because it says that ithas a different signature, but if I uninstall the one installed from GitHub, I'll have to set it all up again (yes, I know it's not that much, but...).
Is there a way to backup the settings and restore them?

@mendhak
Copy link
Owner

mendhak commented Jan 7, 2025

Yes should be possible, mostly: open the drawer, then press default profile and the drawer menu changes. In there press save. Now in the GPSLogger folder you should see a file called Default Profile.properties. You can make a copy of that and when reinstalling GPSLogger put that file back. It should get read upon startup.

I think most settings get saved in there, but not sure if all settings get saved, for example third party access tokens won't be saved.

@andreapx
Copy link

andreapx commented Jan 7, 2025

Yes should be possible, mostly: open the drawer, then press default profile and the drawer menu changes. In there press save. Now in the GPSLogger folder you should see a file called Default Profile.properties. You can make a copy of that and when reinstalling GPSLogger put that file back. It should get read upon startup.

I think most settings get saved in there, but not sure if all settings get saved, for example third party access tokens won't be saved.

I had to use adb:

adb.exe shell
su
cp "/sdcard/Download/Default Profile.properties" "/data/media/0/Android/data/com.mendhak.gpslogger/"

(I've previously copied the file into the Download folder).
All done, thanks again!!!

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

5 participants