qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.58k stars 3k forks source link

Zooming in and out very slow and jumpy #49319

Open Lschreifels19 opened 2 years ago

Lschreifels19 commented 2 years ago

What is the bug or the crash?

I updated to 3.22 from 3.16, and found that zooming in and out on Mac via the trackpad is nowhere near as smooth in 3.22. It takes many attempts to zoom even a little bit. I reverted to 3.16 and it is smooth again. Is an issue with both layers and basemaps.

Steps to reproduce the issue

No specific conditions, happened with anything I loaded.

Versions

3.22

Supported QGIS version

New profile

Additional context

No response

Pedro-Murteira commented 2 years ago

@Lschreifels19 Can you try on a new fresh profile?

github-actions[bot] commented 2 years ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

github-actions[bot] commented 2 years ago

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. Or, if you have any further questions, there are also further support channels that can help you.

davidafuller01 commented 2 years ago

@Pedro-Murteira - Myself and several other colleagues have been experiencing the same since 3.22.x rolled out. We've tried everything: new profiles, all plugins disabled, all project data on local drive (rather than in a cloud drive), etc. It has continued after I received a brand new MacBook Pro M1 16" with a clean install. I moved to macOS Monterey right when it came out in late Oct'21, so I don't think it's the OS, but not positive.

The project doesn't have to be particularly large. Basemaps on or off doesn't change performance. Using an external trackpad vs laptop trackpad is the same. Disabling all vector layers with just a basemap displayed results in moderate improvement.

The behavior seems worst on large, external monitors (i.e., slightly better when using my laptop screen). My setup:

I would describe the behavior as "erratic": sometimes a gesture results in immediate zoom or pan, the next time nothing, the next time an over reacted zoom (as if catching up from the last gesture). It's a serious productivity killer.

Seeing this on 3.22.10 and 3.26.2.

I would be happy to get on a video call and show the behavior to whomever works on this QGIS element.

There is a history of (potentially) similar reports:

tgerla commented 2 years ago

I'm so relieved to find someone else reporting the same issue that I have been having for a few months now. I'm on a first generation MacBook Pro (13-inch, M1, 2020), QGIS 3.22.9 (and several previous patch versions). The symptoms are the same as @davidafuller01 reports: laggy, slow zooming with the touchpad. Like David describes, it is a serious productivity-killer. I have tried a new profile, a new and empty map project, I've tried adjusting the rendering settings and the zoom factor.

I just downloaded 3.26.2 and I am seeing the same behavior.

I am on the laptop keyboard and touchpad, no external monitor attached.

Any help would be appreciated!

kevtolan commented 1 year ago

I just upgraded my 2015 Macbook Pro (8gb memory) to a 2021 Macbook Pro M1 Pro (32gb memory) and as such updated my QGIS version from 3.16.1 to 3.28.1, resulting in this same issue when trying to Zoom in/out; using the trackpad, no external monitor/devices. It's occurring with no rasters or other features displayed, only the basemap.

Other than going back to the old release, any news from others who may've fixed this problem somehow?

EDIT: I also tried the LTR 3.22 and had the same issue.

tgerla commented 1 year ago

@kevtolan I'm not sure if it's a coincidence, but I found a layer in my map that had a LOT of labels; a vector layer with contours. I removed it from my map and my zooming smoothness has improved a lot. I'm currently on 3.26.2.

When I was troubleshooting this months ago I swear I had loaded a brand new map in a new profile and still saw the problem, so I am a little bit confused about its resolution, but I'm happy that zooming is usable again.

kevtolan commented 1 year ago

@tgerla Thanks for the advice. Unfortunately I don't think that's it. They're the same vectors as on my old machine and only weigh 39MB total. I also didn't move the profile over (such as via Time Machine), I started a completely new one.

Rhinanthus commented 1 year ago

I experienced the same laggy, jumpy behaviour when zooming in and out on a MacBook Air (M1, 2020) after trying to update to QGIS 3.22 or higher. For this reason I still use 3.16.16.

erlsta commented 1 year ago

I experience the same behaviour as the others have described in this thread. It started after updating from Qgis v3.10.2 to v3.22.13 (LTR) on a MacBook Pro 2016 with macOS Monterey.

kevtolan commented 1 year ago

Similar to @Rhinanthus, I also went back to 3.16 which fixed the issue.

github-actions[bot] commented 1 year ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

kevtolan commented 1 year ago

Using 3.28.1, Zooming is an issue with the trackpad, but not with an external mouse's scroll wheel.

dheermance commented 1 year ago

I too am having the same issue. Scrolling zoom in Macbook Pro (13", 2020, Ventura 13.1) will not work for qgis 3.22 or 3.26. I have to run 3.16 for the zoom to work perfectly. this is the case for my Imac 2018 as well.

github-actions[bot] commented 1 year ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

telnet23 commented 1 year ago

The issue is still present in 3.28.2 even after creating a new profile and project. The issue is not present in 3.16 so I will have to continue using this version until the issue is resolved.

vicpaine commented 1 year ago

Have the same problem on a Dell desktop running Ubuntu 22.04.1 LTS. Have avoided the problem by using QGIS on new Dell laptop (Win 11) but have noticed since that I get the same mouse behaviour using Google Earth Pro on Ubuntu. I'm using QGIS 3.22.9 on Win and 3.22.4 on Ubuntu

vicpaine commented 1 year ago

As a matter of interest I did check BT mouse battery, 1.4v, so not aproblem there. Also tried a USB mouse which worked without a problem. After checking with the USB mouse I retried BT mouse and found it working much better but still occassional glitches. There has been 2 OS updates since original report so maybe that has some bearing on the problem.

marklit commented 1 year ago

I've noticed that every time I change the zoom level the data refreshes, even if it had loaded for the same area before. The data is from a GPKG file, I'm not sure if this format is the cause for constant reloading. It would be nice to have smooth scrolling and not need to watch the data reload every time I zoom around.

I converted the GPKG file into a Geodatabase and I can zoom around smoothly in ArcGIS Pro. It is reloading data but it happens much quicker so its less noticeable. I'm not sure if GPU acceleration support is also playing into this.

Here is a video comparing the two: https://youtu.be/SSR7aPLx5c0

I'm on a Windows 10 machine with an Intel i5-4670K, 32 GB of RAM and an Nvidia GTX 1080 running QGIS 3.28.0.

cfklinck commented 1 year ago

I've the same problem on a MacBook Air M2 with macOS 13.3.1. With Magic Mouse, everything is fine and if I'm using the trackpad, zooming is very slow and erratic. But I just realized, that if I use my fingers on trackpad only to start the zoom process (move two fingers quickly up / down) and then remove the fingers directly after the first movement, the zoom process continues very smooth. Perhaps this helps anybody (to find the issue?).

fxi commented 1 year ago

Same issue ?

With a MacBook Pro (16-inch, 2021) QGIS 3.32.1-Lima 4a078ecf63

https://github.com/qgis/QGIS/assets/1196833/105e25e4-c643-4a53-b516-ede2e34bbe19

dlejay commented 1 year ago

Same issue with an M1 macbook air running macOS Ventura.

I can also confirm that the issue is not present when using the Apple Magic Mouse on a Mac Studio.

nicolasbeglinger commented 1 year ago

Same issue with an M1 Pro MacBook Pro (2021) running macOS Sonoma.

pmishina commented 1 year ago

same issue with m2 macbook air, qgis 3.32.3

mplough commented 10 months ago

The issue persists in 3.34-1.

When moving my fingers at a constant speed over the track pad, zooming out works fine. Zooming in sometimes works fine. When it doesn't:

If I move my fingers up quickly, the viewport zooms in a lot in an animated fashion and draws pixelated views as it zooms.

I suspect that there is some kind of race condition where the viewport finishes rendering and causes QGIS to stop responding to scroll events.

henaogo commented 8 months ago

@Pedro-Murteira - Myself and several other colleagues have been experiencing the same since 3.22.x rolled out. We've tried everything: new profiles, all plugins disabled, all project data on local drive (rather than in a cloud drive), etc. It has continued after I received a brand new MacBook Pro M1 16" with a clean install. I moved to macOS Monterey right when it came out in late Oct'21, so I don't think it's the OS, but not positive.

The project doesn't have to be particularly large. Basemaps on or off doesn't change performance. Using an external trackpad vs laptop trackpad is the same. Disabling all vector layers with just a basemap displayed results in moderate improvement.

The behavior seems worst on large, external monitors (i.e., slightly better when using my laptop screen). My setup:

  • Home: Lenovo ThinkVision T32p-20 31.5" UHD 4K monitor with USB connection
  • Work: Dell UltraSharp U3219Q 31.5" 4K monitor with HDMI connection to a port replicator, then USB connection to the laptop

I would describe the behavior as "erratic": sometimes a gesture results in immediate zoom or pan, the next time nothing, the next time an over reacted zoom (as if catching up from the last gesture). It's a serious productivity killer.

Seeing this on 3.22.10 and 3.26.2.

I would be happy to get on a video call and show the behavior to whomever works on this QGIS element.

There is a history of (potentially) similar reports:

Same issue in a new brand Macbook 14in, M1.

felix-ht commented 6 months ago

i think that it is broken for all arm based macs

mnowatzki commented 3 months ago

For me, increasing the Map Update Interval of the Rendering Behavior seems to reduce the "jumpiness" of zooming with the touchpad. I set it to 2000ms.

image
vgjenks commented 3 months ago

MacBook Pro 2023 (M2 Max) and I'm seeing the same thing. Performs horribly. Any hope of it being addressed? Apple isn't making Intel-based hardware anymore and QGIS is useless on modern Macs.