nextcloud / nextcloud/maps

[Bug]: Right-click menu not available when using vector maps

Open
#1,440 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: 🗺 map
Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

⚠️ This issue respects the following points: ⚠️
Bug description

NC: 30
Maps: 1.6.0
Browser: Firefox 141

After I switch to OpenFreeMap through the maplibre setting, hovering over the map no longer change the cursor to palm icon and right click doesn't show any menu.

My current workaround is to switch to satellite view to get the right-click menu, do something, then switch back to street map.

Steps to reproduce
  1. Set https://tiles.openfreemap.org/styles/liberty in the maplibre setting.
  2. Refresh maps page
  3. No more right-click menu
Expected behavior

Right-click menu should still be available after switching to custom maplibre-compatible map,

Installation method

None

Operating system

Other

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install of the server?

None

Is this bug present after an update or on a fresh install of the app?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps
Default apps
Nextcloud Signing status

Nextcloud Logs

Browser Console

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Maps app's maplibre configuration and map interaction entry points, then reproduce on the Maps page with https://tiles.openfreemap.org/styles/liberty. Compare the custom street map with satellite view, and consider the issue done when the cursor and right-click menu work after switching to the custom map.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.