Summary: | Make Ctrl+0 default shortcut for Actual Size | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Kai Uwe Broulik <kde> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | adaptee, cfeck, devel, kollix, nate |
Priority: | NOR | ||
Version: | 4.9-Git | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=400048 | ||
Latest Commit: | https://commits.kde.org/kconfig/f651a817ab004b64e8fcd5b4b8fa5141de10995f | Version Fixed In: | 5.50 |
Sentry Crash Report: |
Description
Kai Uwe Broulik
2012-08-24 09:48:05 UTC
I'm using the KDE Standard Action "ActualSize". No other KDE application I tested has CTRL+0 as default shortcut for this action, but if it makes sense to have a default, then it should be the global default defined in the KStandardAction class. Ah, right, ActualSize is not set by default in Global shortcuts. But Zoom in is Ctrl+Plus and Zoom out is Ctrl+Minus, so ActualSize should be Ctrl+0 imho I doubt we should add or change default shortcuts, as they might conflict with other shortcuts the user or the application developer has set. Let's say you update to KDE 4.10, and now whenever you hit Ctrl+0 (which you had assigned to, say, "Eraser" tool), it would show a message about conflicting shortcuts. Git commit f651a817ab004b64e8fcd5b4b8fa5141de10995f by Peter Mühlenpfordt. Committed on 11/08/2018 at 11:10. Pushed by muhlenpfordt into branch 'master'. Set system default shortcut Ctrl+0 for "Actual Size" action Summary: Default shortcuts for zoom in ({key Ctrl +}) and out ({key Ctrl -}) already exists but not for going back to 100%. The shortcut {key Ctrl 0} is widely used by different applications for zoom to original size. This patch adds {key Ctrl 0} as system default for `KStandardAction::ActualSize`. FIXED-IN: 5.50 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. Reviewers: dfaure, broulik, ngraham, rkflx Reviewed By: dfaure, ngraham, rkflx Subscribers: jriddell, rkflx, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D14201 M +1 -1 src/gui/kstandardshortcut.cpp https://commits.kde.org/kconfig/f651a817ab004b64e8fcd5b4b8fa5141de10995f |