I changed the zoom in key pattern to ctrl+ =zoom in
Is there a way to define the zoom precentage when zooming in as I press the + key. I would like to have 25% 33% 50% 100%
I changed the zoom in key pattern to ctrl+ =zoom in
Is there a way to define the zoom precentage when zooming in as I press the + key. I would like to have 25% 33% 50% 100%
No. You would have to write a small lua script and bind it to a key to achieve that.
If you have a scroll wheel …one click is 100 two is 200 and a third brings you back to full display… not sure if that helps… you might be able to also adjust the code that does that and tweak it… You can also do assignments to multiple key presses so one two and maybe three I don’t recall but you could check and try to leverage that as well
Why does (ctrl shift+) zoom to these odd percentages from “fit”. 36,36,43,47, etc?
These percentages are very dynamic and are influenced by:
To name a few.
I just find it unusual. The ctrl shift + combo in DT doesn’t go to 50% and takes forever to get to 100%.
Same image. .
ART opens at 32 and zooms to 33 50 100 200 400
RT opens at 37 and zooms to 33 50 100 200 400
DT opens at 47 and zooms to 52 57 63 69 76 84 92 100 110 121
It seems to follow the steps from the mouse scroll.
Which makes total sense to me – you get the same fine grained control from the keyboard.
And for big jumps there are other options, like the alt+1|2|3 or the scroll-button on the mouse.
I have a 30 inch monitor so my starting point is 25%. There are some complexities and nuance to preview in DT… I think depending on zoom etc the quality and the math used can change… at 100 I think you get the full pipeline so the more modules you use the slower that is likely to get… My PC seems fast enough that I don’t have many issues with slowdowns but I suppose others might…
I don’t have issues with slowdown as well, especially since I recently changed to a more powerful graphics card.
I was just curious more than anything else. I can live with the way DT handles the zoom function. I can always use the navigator zoom drop down menu or tap the mouse wheel.
It might be simple code but there is a fair bit handling zoom…
If you look in the code here…
Around and above and below is some of the code below I think is what controls this… from what I can see below 100 percent a value of 1.1 is used for scaling and above 200 the zoom is doubled…
At least this is what I take that to mean…
So you could make a custom version where you edit this…or request that to be a feature that can be accessed in the config files…
Lin 3762 look above and below to follow the flow…
// at 200% zoom level or more, we use a step of 2x, while at lower level we use 1.1x
const float step =
up
? (tscaleold >= 2.0f ? 2.0f : 1.1f)
: (tscaleold > 2.0f ? 2.0f : 1.1f);
Since I no nothing about coding, I would make a feature request. Is there a link where I can do that. Much appreciated.
You would need to sign up for a github account and then proceed here…
Just for fun I reassigned the space bar to 100 % and double space bar back to fit… so it is a quick toggle. For image advance and back I assigned page up and page down as they are not in use at least in the default darkroom view… I might see if I use this and if I like it…
Middle click of the mouse wheel/button zooms directly to 100%, another click zooms to 200% and a third click goes back to 100%.
I never zoom with the hotkeys, but rather with the mousewheel, as it’ll take account where the cursor is positioned and zooms around that.
Ya I think this is the best way…I actually like the other option in the preferences to just go to 100 and back with the scollwheel, ie so toggle. Then I just hold control and scroll up if I want to go higher but I rarely use 200 …I find I just use 100 or whatever custom zoom I need to see what I am investigating…
But you also wrote:
A figure of speech, @kofa. Not in the literal sense. I should have said, just too many clicks to get to 100%.