View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0014733 | Scribus | User Interface | public | 2017-04-13 11:29 | 2026-09-19 00:56 |
| Reporter | angore | Assigned To | jghali | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| OS | Windows | ||||
| Product Version | 1.5.2 | ||||
| Fixed in Version | 1.6.7.svn | ||||
| Summary | 0014733: Ctrl+Plus(+) shortcut to zoom screen does not appear to work | ||||
| Description | Ctlr+Plus(+) keyboard shortcut does not appear to work. I installed on two different machines with win 7 x64 with same results This applies toCtrl+[Shift]+/= key, Ctrl-+/= key (no shift, most browser accept this) and Ctrl+Pus (+) on numeric pad. Ctrl-minus, Ctrl-0(zero), Ctrl-1 (one) work as expected. | ||||
| Additional Information | scribus-1.5.2-windows-x64.exe English with standard keybord | ||||
| Tags | No tags attached. | ||||
| Patch | No | ||||
|
|
which keyboard definition? US? UK? |
|
|
Standard US keyboard on both systems. Both are Lenovo brand (IBM style). Also tested it on Lenovo Thinkpad W520 keyboard (rather than the remote keyboard) and still no luck. |
|
|
I have the same problem. The standard Ctrl + \ or Backspace work, but changing them to Ctrl + + or - won't. The other zoom options, like: Ctrl + 1 or Ctrl + 2 do work, so it doesn't seem an issue with the numeric pad. I'd really like this to work, it will be in line with other programs, like InDesign. This bug has been an issue since 1.5.0, see also 0012494. I'm using Scribus 1.5.3 on Windows 10. |
|
|
I am experiencing the very same problem and this is a quite important "detail" for productivity. |
|
|
I can reproduce it in 1.7.4.svn (r27816). Here is tiny patch that fixed it for me. ## Cause - `Ctrl++` / `Ctrl+-` were manually matched in `CanvasMode::commonkeyPressEvent_NormalNodeEdit()` instead of using normal `QAction` shortcut dispatch. - Exact matching made them fragile with `Shift`/`KeypadModifier` and mode-dependent key handling. ## Fix - Registers `toolsZoomIn` / `toolsZoomOut` on `ScribusMainWindow`. - Lets Qt handle the configured shortcuts normally. - Removes the obsolete manual canvas-mode checks. zoom1-keyboard-shortcuts-v1.00.patch (1,168 bytes)
Index: scribus/actionmanager.cpp
===================================================================
--- scribus/actionmanager.cpp (revision 27816)
+++ scribus/actionmanager.cpp (working copy)
@@ -73,6 +73,8 @@
#endif
createActions();
+ mainWindow->addAction((*scrActions)["toolsZoomIn"]);
+ mainWindow->addAction((*scrActions)["toolsZoomOut"]);
createDefaultMenus();
createDefaultNonMenuActions();
languageChange();
Index: scribus/canvasmode.cpp
===================================================================
--- scribus/canvasmode.cpp (revision 27816)
+++ scribus/canvasmode.cpp (working copy)
@@ -1066,10 +1066,6 @@
scrActions["stickyTools"]->setChecked(false);
return;
}
- if (m_view->m_ScMW->actionManager->compareKeySeqToShortcut(kk, e->modifiers(), "toolsZoomIn"))
- scrActions["toolsZoomIn"]->trigger();
- if (m_view->m_ScMW->actionManager->compareKeySeqToShortcut(kk, e->modifiers(), "toolsZoomOut"))
- scrActions["toolsZoomOut"]->trigger();
/**If we have a doc and we are not changing the page or zoom level in the status bar */
if ((!m_view->m_ScMW->zoomSpinBox->hasFocus()) && (!m_view->m_ScMW->pageSelector->hasFocus()))
{
|
|
|
@buttar, I've applied your patch to 1.6.7.svn and trunk, thanks! |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-04-13 11:29 | angore | New Issue | |
| 2017-04-13 13:10 | ale | Note Added: 0043755 | |
| 2017-04-13 13:35 | angore | Note Added: 0043758 | |
| 2017-06-17 15:39 | Lumberjack | Note Added: 0044056 | |
| 2018-05-15 16:00 | enzogian | Note Added: 0045248 | |
| 2026-09-05 15:08 | buttar | Note Added: 0054422 | |
| 2026-09-05 15:08 | buttar | File Added: zoom1-keyboard-shortcuts-v1.00.patch | |
| 2026-09-05 15:09 | buttar | Tag Attached: #please_test | |
| 2026-09-18 19:38 | jghali | Assigned To | => jghali |
| 2026-09-18 19:38 | jghali | Status | new => resolved |
| 2026-09-18 19:38 | jghali | Resolution | open => fixed |
| 2026-09-18 19:38 | jghali | Fixed in Version | => 1.6.7.svn |
| 2026-09-18 19:38 | jghali | Note Added: 0054478 | |
| 2026-09-19 00:56 | buttar | Tag Detached: #please_test |