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

Zoom to layer overwrites locked scale bug #38417

Closed
luxenborg opened this issue Aug 21, 2020 · 8 comments
Closed

Zoom to layer overwrites locked scale bug #38417

luxenborg opened this issue Aug 21, 2020 · 8 comments
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Map and Legend Related to map or legend rendering

Comments

@luxenborg
Copy link

Describe the bug

when scale is locked. (I use this feature all the time, when designing my maps)
image

And you "zoom to layer". (another feature i use all the time, for varius reasons)
image

The scale changed, and it shouldn't.
image

In my opinion the zoom to layer feature should use the scale when unlocked and the magnifying glass when locked.
This is a bug and not a feature request. When you lock something you shouldn't be able to change it in any way.

I really hope someone knows how to fix this, I will be a happy man and might buy a cake :-)
thx in advance
Jan

How to Reproduce
If you do just like i have described in the above "bug report". It will do this every time.

QGIS and OS versions

All versions of QGIS

QGIS-version
3.14.15-Pi
QGIS-koderevision
d5114d2

Additional context

@luxenborg luxenborg added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Aug 21, 2020
@gioman gioman added the Map and Legend Related to map or legend rendering label Aug 21, 2020
@elpaso
Copy link
Contributor

elpaso commented Sep 22, 2020

I see that there is another bug: if you use the magnifier to zoom out and pan the map the scale is changed even when it's locked.

@elpaso elpaso self-assigned this Sep 22, 2020
@elpaso
Copy link
Contributor

elpaso commented Sep 22, 2020

Just because you promised a cake 😉

@luxenborg
Copy link
Author

luxenborg commented Sep 23, 2020

Ha ha... thanks so very very much! even though i did not specify when, where or who eats the cake. Let's see if we can figure something out :-D But thank you for looking at the issue.
Jan

@elpaso
Copy link
Contributor

elpaso commented Sep 24, 2020

@luxenborg while you are baking the cake, you could give it a try to #38954 and see if you spot any other issue?

@luxenborg
Copy link
Author

this so cool... i'm super thankful that you fixed it :-) im working on Qgis 3.16.1 now and i have just noticed that, it seems the fix isn't working if i click "zoom to object" from the attributes table... Is that something that you could easily fix or is that a huge amount of work?

@elpaso
Copy link
Contributor

elpaso commented Nov 30, 2020

@luxenborg no idea :) Please file another ticket and I'll possibly have a look during the next bugfixing round.

@luxenborg
Copy link
Author

Okay, i'll do that. It might be awhile, but i'll do it.
I'm doing my final exam at the moment. So it might be a few weeks before i return to normal life and have better time for describing an issue report :-)

@elpaso
Copy link
Contributor

elpaso commented Jan 19, 2021

Assuming fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Map and Legend Related to map or legend rendering
Projects
None yet
Development

No branches or pull requests

3 participants