Bug 125230 - Assigned keyboard shortcut View -> Normal only works when switching from Master Slide view
Summary: Assigned keyboard shortcut View -> Normal only works when switching from Mast...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shortcuts-Accelerators
  Show dependency treegraph
 
Reported: 2019-05-12 07:07 UTC by monochromec
Modified: 2019-08-17 15:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
result of customize keyboard assignment of a short cut to Normal (21.96 KB, image/png)
2019-05-13 14:04 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description monochromec 2019-05-12 07:07:37 UTC
Description:
When I try to assign a shortcut key to the Normal view in Impress, the change is listed in Tools->Customize->Keyboard but the setting has no effect. In addition, the shortcut key is not listed in the "View" menu.

Steps to Reproduce:
1. Assign ctrl-1 to View->Normal in Tools->Customize->Keyboard
2. Key binding should be listed under "View", but the Normal view has no assigned shortcut (in contrast to Slide Sorter, where this works).
3.

Actual Results:
 Key binding not listed in View menu, shortcut key doesn't work.

Expected Results:
ctrl-1 should switch from Slide Sorter to Normal view and key binding should be listed in View menu.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Restarting in safe mode / resetting user profile does not make a difference.
Comment 1 Usama 2019-05-12 08:25:42 UTC
Thank you for reporting this.

When I assign a shortcut to normal view it shows the assigned action to ctrl+0 and ctrl+4 for example but it does not take the action all the time. It works when switching from Master slide but not from other view modes.

Possible duplicate of:
https://bugs.documentfoundation.org/show_bug.cgi?id=96039

So confirmed on:
Version: 6.3.0.0.alpha0+
Build ID: 98630a0bd49bd80652145a21e4e0d0ded792b36b
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-05-04_04:44:35
Locale: tr-TR (tr_TR.UTF-8); UI-Language: en-US
Calc: threaded


Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial6
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
Locale: tr-TR (tr_TR.UTF-8); Calc: group
Comment 2 monochromec 2019-05-12 08:53:17 UTC
Is reproducible on stock Dingo and Mojave (also running 6.2.2.2)
Comment 3 V Stuart Foote 2019-05-13 13:44:06 UTC
Can not confirm on Windows builds.  Windows 10 Home 64-bit en-US with
Version: 6.3.0.0.alpha0+ (x64)
Build ID: 425a570a114d9a087e5320f071604f64d43fcec1
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-05-10_01:47:15
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

There are two "Normal" UNO actions available to assign to keyboard shortcuts.

View -> Normal

Modify -> Normal

Both will take a shortcut (I picked <Alt>+7, <Alt>+8 respectively).  Both will toggle view mode from: Outline, Notes, or Slide Sorter to Normal view. They also toggle mode back from a Slide Master mode to the Normal edit view.
Comment 4 V Stuart Foote 2019-05-13 13:57:34 UTC
(In reply to V Stuart Foote from comment #3)
> 
> There are two "Normal" UNO actions available to assign to keyboard shortcuts.

So actually checking the resulting assigned action made to regsitrymodifications.xcu, there is just one UNO command listed twice in the Customize dialog.

.uno:NormalMultiPaneGUI

This is the exact UNO control assigned to the Standard menu's View menu [1] and the Display Views split button [2].

And, this control does seems to work correctly when assigned to keyboard shortcut, at least in Windows builds.

=-ref-=
[1] https://opengrok.libreoffice.org/xref/core/sd/uiconfig/simpress/menubar/menubar.xml?r=62b7faa1#114

[2] https://opengrok.libreoffice.org/xref/core/sd/source/ui/controller/displaymodecontroller.cxx?r=756d7d70#82
Comment 5 V Stuart Foote 2019-05-13 14:04:09 UTC
Created attachment 151363 [details]
result of customize keyboard assignment of a short cut to Normal
Comment 6 Roman Kuznetsov 2019-05-15 20:26:05 UTC
don't repro in

Version: 6.2.2.2
Build ID: 1:6.2.2-0ubuntu2
CPU threads: 4; OS: Linux 5.0; UI render: default; VCL: kde5; 
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded

I assigned F9 for both Normal from list and it works fine for all modes.

may be it's a locale shortcuts problem? or may be there is a conflict with OS shortcuts?
Comment 7 monochromec 2019-05-16 09:13:56 UTC
@Roman: Interesting observation as this is the exact same build that I'm running. Double-checked locale settings and can confirm that this doesn't make a difference. 

I noticed something peculiar though: You seem to be running this on Plasma according to you visual component library info. Although setting SAL_USE_VCLPLUGIN to kde5 to emulate this, my VCL info still says gtk3. 

Just curious: On what Ubuntu version are you running this and how did you install LO (PPA vs. distro repos)?
Comment 8 Usama 2019-05-17 07:52:37 UTC
I'm running Ubuntu 16.04 XFCE desktop and F9 shortcut works for show/hide "status bar" but it does not work to switch view to "Normal"

If it was conflicting issue with the OS why would other shortcuts work?

Version: 6.3.0.0.alpha0+
Build ID: 98630a0bd49bd80652145a21e4e0d0ded792b36b
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-05-04_04:44:35
Locale: tr-TR (tr_TR.UTF-8); UI-Language: en-US
Calc: threaded
Comment 9 Buovjaga 2019-08-17 15:54:18 UTC
I repro with kf5, gtk3, gtk2 and gen

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: b9a776837462eeb6d50d0decc42604c0c3008eb1
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 11 August 2019