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

Some widgets don't have a context menu #21064

Open
Nine-Tailed opened this issue Oct 16, 2024 · 3 comments
Open

Some widgets don't have a context menu #21064

Nine-Tailed opened this issue Oct 16, 2024 · 3 comments

Comments

@Nine-Tailed
Copy link
Contributor

Description

The context menu is not called for the coordinates widget and marker panel on the map screen.

Steps to reproduce

Add these widgets to the map and try to call the context menu.

Actual result

No context menu.

Expected result

There is a context menu.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version:OsmAnd~ 4.9.0#3470m, Дата выпуска: 2024-10-16
Android/iOS version:
Device model:
Crash-Logs: ?
@yuriiurshuliak
Copy link

The bug has been reproduced. To test it, add the "Map markers bar" and "Coordinates: map center" widgets to the top bar, and also add the "GPS info" widget for comparison. Then, long-press on the "Map markers bar" and "Coordinates: map center" widgets. After that, try long-pressing the "GPS info" widget.

You'll notice that long-pressing the "GPS info" widget brings up the context menu, while long-pressing the "Map markers bar" and "Coordinates: map center" widgets does not trigger the context menu.

However, it seems to me that this is expected behavior, as the "Map markers bar" and "Coordinates: map center" widgets have specific functions: the "Map markers bar" moves the map to a marker, and "Coordinates: map center" copies the coordinates displayed in the widget.

OsmAnd~ 4.9.0#3456m, released: 2024-10-16

video_2024-10-17_17-07-33.mp4

@Nine-Tailed
Copy link
Contributor Author

but other widgets also perform some action when pressed, track recording, radius ruler, sunrise/sunset, media notes, etc.

@Nine-Tailed
Copy link
Contributor Author

@vshcherb, please note that some widgets do not have a context menu at all.

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

2 participants