D12590: KFileWidget: Disable zoom buttons once reached minimum or maximum

Henrik Fehlauer noreply at phabricator.kde.org
Sun Apr 29 06:08:38 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180429/f8d81812/attachment.html>


More information about the Kde-frameworks-devel mailing list