Skip to content
Commit 3e1680dc authored by rk flx's avatar rk flx
Browse files

Hide fullscreen thumbnailbar when on-canvas image tools are in use

Summary:
In fullscreen mode the thumbnailbar will slide in once the cursor moves
near the top. As this covers parts of the image, it makes the upper
handles of the {nav Crop} tool inaccessible and prevents the user from
applying the {nav Red Eye Reduction} tool on every part of the image.

`setDistractionFreeMode` already provides the necessary wiring which was
supposed to prevent the hot edge from triggering, however it only
disabled the auto-hiding. This is fixed by adding a function and a
variable which disables auto-showing.

Test Plan:
Open image in fullscreen {nav View} mode, press {key Shift C} to trigger
{nav Crop} and move cursor to the top. The thumbnailbar does not
reappear again. Stop the tool, now triggering should resume.

Switching to fullscreen should show the thumbnailbar initially without
the cursor triggering, as before.

Reviewers: #gwenview, huoni

Reviewed By: huoni

Subscribers: ngraham

Differential Revision: https://phabricator.kde.org/D10876
parent a4b8511d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment