qutebrowser/tests/unit
Florian Bruhin 0293307d61 Remove adjust_zoom for webelem.rect_on_view
Previously, the drawn hint labels were affected by the zoom, i.e., they
were stretched out by QtWebKit and actually had to be drawn at the
unzoomed position.

The Python/C++ API gives us coordinated adjusted for zoom, so
we always *negatively* adjusted them to get the unzoomed coordinates.

JS gave us the original coordinates, so we stretched them out according
to the zoom if adjust_zoom was given (which means only when clicking a
link).

Now we always operate in term of display coordinates: The point where we
draw the hint label is equal to the point we're clicking.

Thus, the zoom level for javascript is always adjusted, and the Python
zoom level is never (negatively) adjusted.
2016-08-17 14:51:05 +02:00
..
browser Remove adjust_zoom for webelem.rect_on_view 2016-08-17 14:51:05 +02:00
commands Fix lint 2016-08-10 09:20:30 +02:00
completion Focus completion by category. 2016-08-15 07:14:28 -04:00
config Use ${_monospace} for default hints font 2016-08-17 14:51:05 +02:00
javascript tests: Default to raising=True for qtbot. 2016-01-08 09:49:06 +01:00
keyinput Revert "Revert "Handle counts for special keys."" 2016-08-16 13:44:28 +02:00
mainwindow Fix url_text, take 3 2016-07-11 15:06:36 +02:00
misc tests: fix tests for misc.editor 2016-08-07 00:18:22 +02:00
scripts requirements: Update vulture to 0.9 2016-06-29 23:44:39 +02:00
utils resolve linter warnings 2016-08-15 22:53:28 -04:00
test_app.py Fix lint 2016-05-24 21:53:50 +02:00