Zoom issues on Windows

Open
#4,776 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
54/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
mobile

Research direction

Start by tracing how the Layers page handles mouse wheel and touchpad scrolling and how those events reach the map underneath. Reproduce the listed steps on Windows with both input devices, then identify the relevant event handling and tests in the app. Done means scrolling or toggling layers does not change the map zoom when returning to it.

Written by the indexing model from the issue text.

Description

forms ui/ux Windows 🪟

Description
When the user scrolls the layer list with the mouse wheel, the scroll may also reach the map underneath and zoom it out. This happens on Windows (mouse and touchpad) and not on mobile.

More info in odoo.

Environment
Prod

Steps to reproduce

  1. On a Windows device, open project, zoom into a local area, then open the Layers page.
  2. Scroll the list up and down with a mouse wheel (including past the top and bottom) without toggling anything, then go back - map zooms
  3. Zoom back to the same area, open Layers, toggle a background layer without using the wheel (drag the scrollbar if needed), then go back - map zooms
  4. Repeat step 2 with a touchpad instead of a mouse.

Actual results
Map is zoomed out/in after scrolling in layers list.

Expected results
Map does not zoom out/in when user scrolls in layers list.

Dominant language
C++
Stars
394
Forks
91
Avg merge
2d 10h
Merged PRs (30d)
16

Getting set up

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.

More from MerginMaps/mobile

All issues in MerginMaps/mobile

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.