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

Keep map object under the pointer still while zooming in #15675

Closed
qgib opened this issue Sep 28, 2012 · 3 comments
Closed

Keep map object under the pointer still while zooming in #15675

qgib opened this issue Sep 28, 2012 · 3 comments
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience

Comments

@qgib
Copy link
Contributor

qgib commented Sep 28, 2012

Author Name: Sandro Santilli (@strk)
Original Redmine Issue: 6432

Redmine category:gui


While zooming in to a feature with the mouse wheel it is very easy to loose it unless it is perfectly centered in the viewport.
It isn't easy at all to put a feature in the exact center of the viewport.

Wouldn't it be great to make whatever is under the mouse "locked" at that position whatever zoom level a user changes to ?
At least for zoom in. Not sure about zoom out

@qgib
Copy link
Contributor Author

qgib commented Sep 28, 2012

Author Name: Sandro Santilli (@strk)


Uhm, I found out that it is actually "kind of" easy to put a point to the center: select ZoomIn tool, click on the point.
And once you are at it you probably want the center to stick.
Ouch. Maybe a modifier (SHIFT-wheel) would be acceptable ?

@qgib
Copy link
Contributor Author

qgib commented Sep 28, 2012

Author Name: Sandro Santilli (@strk)


I found this snippet in qgsmapcanvas.cpp:

case WheelZoomToMouseCursor:
{ 
  // zoom map to mouse cursor

Does it mean what I'm asking is supposed to be already implemented ? In that case it's a bug!

@qgib
Copy link
Contributor Author

qgib commented Sep 28, 2012

Author Name: Sandro Santilli (@strk)


Great, fixed without a line of code (stupid me).
It's already optional !!
For the occasional reader: Settings->Options->Map_tools->Panning_and_zooming->Mouse_wheel_action

Cheers !


  • resolution was changed from to invalid
  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib added Feature Request GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
JamesShaeffer pushed a commit to JamesShaeffer/QGIS that referenced this issue Nov 20, 2019
…yers

When trying to reproduce http://hub.qgis.org/issues/10485, I noticed a regression.
Now attribute table no longer shows features with OGR GeometryCollection.

Fixes also issues where sublayer geometry type is too strict regarding 2D vs 2.5D
geometry types.

Fixes qgis#15675
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant