nextgis / quickmapservices

QGIS plugin to find and add map services to a project in one click
http://plugins.qgis.org/plugins/quick_map_services/
GNU General Public License v2.0
170 stars 49 forks source link

Scaling / Georeferencing error with QGIS 3.22.3 (Ubuntu) #227

Closed QuestingVole closed 2 years ago

QuestingVole commented 2 years ago

The latest QGIS update seems to have introduced a strange bug with QuickMapServices.

I've been using it for a long time without issue on a 4K monitor with the KDE application scaling (via the Ubuntu Display Settings) set at 200%

After this update, the tiled map is shown at a low resolution (blocky) and moving it with the mouse tool causes it to jump 2x the dragging distance. Zooming in also causes the map centre to move, and vector polygons do not overlay correctly.

I can fix this by running QGIS in a terminal with the scaling altered: QT_SCALE_FACTOR=0.5 QT_AUTO_SCREEN_SCALE_FACTOR=0 qgis

Other values (eg QT_SCALE_FACTOR=1) don't seem to work correctly.

It also works fine on a remote session on an HD screen (without any scaling).

Vector maps appear to work OK, so it isn't a generic QGIS problem.

I wonder if there has been some change in how QGIS reports map window extents?

[PS Thanks for your efforts - without this QGIS would be a lot less useful]

QuestingVole commented 2 years ago

This has been fixed in the latest QGis nightly release.

Setting QT_SCALE_FACTOR to something other than 1 with the display settings at 100% also works (it didn't before)