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

Reset average speed (on long press widget) #19713

Open
rysson opened this issue Apr 30, 2024 · 2 comments · Fixed by #20931
Open

Reset average speed (on long press widget) #19713

rysson opened this issue Apr 30, 2024 · 2 comments · Fixed by #20931
Assignees
Milestone

Comments

@rysson
Copy link

rysson commented Apr 30, 2024

Describe the idea (required)

Very small change – I propose reset the current value in the average speed widget on long press.
After reset average speed should be calculated from the beginning (like on the app start).

I could be useful for short time measurements, especially for average speed enforcement camera (until #13430).

Tell us about the expected behaviour (required)

On long press the average speed widget the average speed should be reset and should be counted from beginning.

Tell us about alternatives you've considered (required)

Current workaround is kill OsmAnd and start the app again.
It's harder if OsmAnd is running on Head Unit.

Context (optional)

No response

@rysson rysson changed the title Reset widget average speed Reset average speed (on long press widget) Apr 30, 2024
@vshcherb vshcherb modified the milestones: 4.8-android, 4.9-android May 14, 2024
@dmpr0
Copy link
Contributor

dmpr0 commented Sep 10, 2024

ToDo

Widget settings Context men

Widget settings

  • Add Reset average speed button
  • Tap on action should reset average speed, and start calculating it again

Widget context menu*

  • Add new item to Average speed widget context menu
    • Name Reset average speed
    • Icon ic_action_reset_to_default_dark

@0xRe1nk0 0xRe1nk0 self-assigned this Sep 26, 2024
@0xRe1nk0 0xRe1nk0 linked a pull request Sep 27, 2024 that will close this issue
@dmpr0 dmpr0 reopened this Sep 30, 2024
@dmpr0
Copy link
Contributor

dmpr0 commented Sep 30, 2024

Review

Reset.mov
  • Show - after reseting, currently previous average speed is shown until changed by new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants