Project

General

Profile

Actions

Feature #845

open

On-The-Fly Zoom Factor does not display changes made by CTRL-Scrolling

Added by Soren Stoutner about 2 years ago. Updated 28 days ago.

Status:
In Progress
Priority:
1.x
Start date:
04/29/2022
Due date:
% Done:

0%

Estimated time:

Description

Holding CTRL on the keyboard while scrolling the mouse wheel adjusts the On-The-Fly zoom setting, but it isn't currently reflected in the On-The-Fly menu action.

There might be some signal I can attach to that would update this.

Actions #1

Updated by Soren Stoutner over 1 year ago

It might be possible to detect this with https://doc.qt.io/qt-5/qwebenginepage.html#contentsSize-prop.

Actions #2

Updated by Soren Stoutner over 1 year ago

This was partially fixed by attaching to the `contentSizeChanged()` signal, but stops updating if the zoom size gets so small that the entire page fits on the screen.

Actions #4

Updated by Soren Stoutner over 1 year ago

  • Status changed from New to In Progress
Actions #5

Updated by Soren Stoutner 12 months ago

This could also possibly be solved by intercepting the Ctrl+Scroll WheelEvents.

https://stackoverflow.com/questions/26677093/qt-qwheelevent-does-not-refer-to-a-value

Actions #6

Updated by Soren Stoutner 28 days ago

Qt has added a new signal to 6.8 that will resolve this issue.

https://codereview.qt-project.org/c/qt/qtwebengine/+/547221

Actions

Also available in: Atom PDF