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

Authored by rkflx on Feb 27 2018, 12:07 AM.

Description

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 Crop tool inaccessible and prevents the user from
applying the 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 View mode, press +C to trigger
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

Details

Committed
rkflxFeb 27 2018, 4:47 PM
Reviewer
huoni
Differential Revision
D10876: Hide fullscreen thumbnailbar when on-canvas image tools are in use
Parents
R260:a4b8511d65c6: Remove symbolic icons in favor of standard icons
Branches
Unknown
Tags
Unknown