<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all.</p>
<p>I'm trying to solve <a moz-do-not-send="true"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=98404">https://bugs.documentfoundation.org/show_bug.cgi?id=98404</a>
(UX - While objects on a slide are being edited, notably text
boxes, the new slide sorter Ctrl+Shift shortcut combinations
incorrectly receive focus and move the slide)</p>
<p>In Impress, Ctrl+Shift+(Home/End/ArrowUp/ArrowDown) shortcuts
works fine for slide sorting, but when in edit mode(e.g. clicking
in a text box to write something)
Ctrl+Shift+(Home/End/ArrowUp/ArrowDown) shortcuts don't select the
text in the slide, but move the slide.</p>
I found the code pointers for edit mode in <i>
./sd/source/ui/func/futext.</i><i>cxx : 1034:</i> <a
moz-do-not-send="true"
href="https://opengrok.libreoffice.org/xref/core/sd/source/ui/func/futext.cxx?r=9090dc1f#1034">https://opengrok.libreoffice.org/xref/core/sd/source/ui/func/futext.cxx?r=9090dc1f#1034</a><br>
<blockquote>
<pre>/**
* Sets the object into the edit mode.
*/
void FuText::SetInEditMode(const MouseEvent& rMEvt, bool bQuickDrag) { /* ... */ }
</pre>
</blockquote>
<div class="moz-signature">- While in <i>FuText:SetInEditMode</i>:
I want to disable the global slide sorting shortcuts by:</div>
<div class="moz-signature">
<pre>SfxItemSet& rSet = <...></pre>
</div>
<div class="moz-signature">
<pre>rSet.DisableItem( SID_MOVE_PAGE_LAST );</pre>
</div>
<div class="moz-signature">
<pre>rSet.DisableItem( SID_MOVE_PAGE_DOWN );</pre>
</div>
<div class="moz-signature">
<pre>rSet.DisableItem( SID_MOVE_PAGE_UP );</pre>
</div>
<div class="moz-signature">
<pre>rSet.DisableItem( SID_MOVE_PAGE_FIRST );</pre>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">... to see how it works in edit mode, but
I couldn't found how to assign to <i>rSet</i> even if I tried
many times. Which statement/variables should I assign to <i>rSet</i>
or are there another way to overcome this shortcut issue? I need
your suggestions about this issue.</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">IRC username: bayramcicek<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">Thanks in advance.<br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">-- <br>
<pre>Regards,
Bayram Çiçek
</pre>
</div>
</body>
</html>