D14201: Set system default shortcut Ctrl+0 for "Actual Size" action

Peter Mühlenpfordt noreply at phabricator.kde.org
Wed Jul 18 11:08:03 BST 2018


muhlenpfordt created this revision.
muhlenpfordt added reviewers: dfaure, broulik, ngraham.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
muhlenpfordt requested review of this revision.

REVISION SUMMARY
  Default shortcuts for zoom in ([Ctrl] + [+]) and out ([Ctrl] + [-])
  already exists but not for going back to 100%.
  The shortcut [Ctrl] + [0] is widely used by different applications
  for zoom to original size. This patch adds [Ctrl] + [0] as system
  default for `KStandardAction::ActualSize`.

TEST PLAN
  Searched lxr for conflicts of `KStandardAction::ActualSize` and
  usage of Ctrl+0 shortcut.
  Checked the following applications with set system default shortcut:
  
  - Gwenview
  - KAlgebra
  - KolourPaint
  - KStars (FITS viewer)
  - Cirkuit
  
  Only Cirkuit uses Ctrl+0 for "Zoom To Fit" action. I'll create a
  patch to solve this conflict.

REPOSITORY
  R237 KConfig

BRANCH
  shortcut-actual-size (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D14201

AFFECTED FILES
  src/gui/kstandardshortcut.cpp

To: muhlenpfordt, dfaure, broulik, ngraham
Cc: rkflx, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180718/d7767232/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list