rkflx created this revision. rkflx added a reviewer: Frameworks. Restricted Application added a project: Frameworks. rkflx requested review of this revision.
REVISION SUMMARY In Gwenview the zoom buttons will be disabled when clicking on it would not result in any further change of zoom level, e.g. Zoom In is disabled for the largest icon size. In general it is recommended to disable unavailable actions. This patch adds the functionality to the file dialog too. Ref T8552 <https://phabricator.kde.org/T8552> FIXED-IN: 5.46 TEST PLAN `kdialog --getopenfilename`, change icon size to minimum and maximum by sliding, mouse wheeling, pressing buttons and using the keyboard, and check that buttons are disabling and enabling properly. F5826731: KIO-disable-zoom-buttons.webm <https://phabricator.kde.org/F5826731> REPOSITORY R241 KIO BRANCH disable-zoom-buttons (branched from master) REVISION DETAIL https://phabricator.kde.org/D12590 AFFECTED FILES src/filewidgets/kfilewidget.cpp To: rkflx, #frameworks Cc: michaelh, bruns