[Bug]: Location Picker's "Current Location" FAB appears as a full white circle in Dark Mode and does not center the map on tap
I maintainer di solito rispondono entro 1 giorno
@dkrrish9 ci sta già lavorando.
Dal 30/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
On the Location Picker screen (opened via Add Location/Edit Location during upload), the Current Location (GPS) button has two issues:
- In Dark Mode, the button renders as a blank white circle with no visible icon (similar to #6267 and #6088).
- Tapping the button after panning away never moves the map back to our current GPS location.
(A small accessibility note: the GPS button also reuses the "Select location" content description from the checkmark button.)
Root cause:
bottom_container_location_picker.xmlhardcodesapp:backgroundTint="@color/white"oncenter_on_gpswithoutapp:tint, whileic_my_location_black_24dp.xmlfills with?attr/more_bottom_sheet_drawable_color(which resolves to@color/whitein Dark Mode).- Tapping
center_on_gpscallsLocationPickerMapManager.addLocationMarker(geoPoint, moveToCurrentLocation = true)which clears and re-adds the GPS marker overlays but never callsmoveMapTo(geoPoint)ormapView.invalidate().
Steps to reproduce
Tested with Dark Mode enabled, location permission granted and device GPS/location turned on.
- Open the app.
- Tap on the + floating action button.
- Select Gallery/Custom Selector to choose an image.
- Select any image without EXIF location data (or with EXIF location data).
- Wait for Step 1 of 4 of the upload flow to open.
- Tap on the Add Location option (if the image has EXIF location data then tap on the Edit Location option and then click on the Edit Location button).
- Observe that the Current Location (GPS) FAB above the green checkmark FAB appears as a blank white filled circle with no visible icon in Dark Mode.
- Pan the map away from your current GPS location and tap on that Current Location FAB.
- Observe that nothing happens and the map does not move back to your current location.
Expected behaviour
- The GPS target icon inside the Current Location FAB should be clearly visible in both Light Mode and Dark Mode.
- Tapping the Current Location FAB after panning away should center the map on our current GPS location.
Actual behaviour
- In Dark Mode the Current Location FAB renders as a blank white circle.
- Tapping the Current Location FAB does nothing, the map camera stays where it was panned and never moves to our current GPS location.
Device name
OnePlus Nord 5
Android version
Android 16 (API 36)
Commons app version
6.9.0-debug-main (BetaDebug)
Device logs
No response
Screenshots
Dark Mode blank white circle FAB (screenshot):
Image without EXIF location data (screen recording):
https://github.com/user-attachments/assets/df06f947-d768-4927-aa50-cd5b3d8d5f69
Image with EXIF location data (screen recording):
https://github.com/user-attachments/assets/996e093a-d391-41fe-9dcc-b42a0df579c1
Would you like to work on the issue?
Yes
- Lingua principale
- Kotlin
- Stelle
- 1.2k
- Fork
- 1.4k
- Merge medio
- 1g 4h
- PR unite (30g)
- 156
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di commons-app/apps-android-commons
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
commons-app/apps-android-commons#7486 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
commons-app/apps-android-commons#7464 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Media detail page crashes on file pages with unclosed [[Category: markupForse già presa @dkrrish9 l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
commons-app/apps-android-commons#7423 · 7 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: WikiSite treats the /w/ script path as a language variant, producing a bogus "w" language codeForse già presa @shryssssss-maker l’ha presa 4 giorni fa. Apertadebated
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
commons-app/apps-android-commons#7422 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
test: unit tests for WikiSite (sub-issue of #6630)Forse già presa @Seyamalam l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
commons-app/apps-android-commons#7419 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di commons-app/apps-android-commons
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
carlrobertoh/ProxyAI#1250 ·
-
Location search keeps showing stale "Open-Meteo can't find ..." message after clearing search queryApertaBug Needs review
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
breezy-weather/breezy-weather#3082 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 76/100
wangzan101/Mika#1033 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
erkamyaman/unslop-anything#462 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ci area: local-media area: startup area: ui platform: bilibili platform: netease platform: youtube status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
cwuom/NeriPlayer#794 ·
I maintainer di solito rispondono entro 1 giorno