搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Ctrl + mouse wheel up or down does not match Ctrl + (+ or -)

  • 4 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 cor-el

more options

I have toolkit.zoomManager.zoomValues set to .3,.33,.35,.4,.45,.5,.55,.6,.65,.67,.7,.75,.8,.85,.9,.95,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3

Those values are not honored by the ctrl + mouse wheel zoom. The mouse wheel only uses increments of 10%. So how do I fix it so the mouse wheel zoom honors toolkit.zoomManager.zoomValues?

I have toolkit.zoomManager.zoomValues set to .3,.33,.35,.4,.45,.5,.55,.6,.65,.67,.7,.75,.8,.85,.9,.95,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3 Those values are not honored by the ctrl + mouse wheel zoom. The mouse wheel only uses increments of 10%. So how do I fix it so the mouse wheel zoom honors toolkit.zoomManager.zoomValues?

所有回覆 (4)

more options

Right, this is bug 1138704.

more options

Zooming by rotating the mouse wheel with Ctrl pressed adjusts the zoom in 10% changes starting with the current zoom value.

more options

cor-el, I know that already. I want to fix it, but since it is a bug that hasn't been resolved in 6 years, I have no hope for a fix now.

more options

This is not a bug, but is how they choose to design this zoom feature. You can inspect the source code.

This allows to zoom a page smoothly with the mouse wheel as it is not easy to select a specific zoom value when you have a lot of possible values and if have a coarse scale with only a few zoom values then it can suddenly jump. If you want finer control then you can use the keyboard.