<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span> changed
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Qt5/KF5 flips writing direction on Ctrl+Shift+p"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=144412">bug 144412</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>caolanm@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Qt5/KF5 flips writing direction on Ctrl+Shift+p"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=144412#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Qt5/KF5 flips writing direction on Ctrl+Shift+p"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=144412">bug 144412</a>
from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
<pre>I just thought I could drop the whole nModMask handling for the nExtModMask
info and just use the Qt modifier. But the Qt docs already warn about broken
handling: "This function cannot always be trusted. The user can confuse it by
pressing both Shift keys simultaneously and releasing one of them, for
example." (<a href="https://doc.qt.io/qt-5/qkeyevent.html#modifiers">https://doc.qt.io/qt-5/qkeyevent.html#modifiers</a>). Probably because
Qt reports the combined / new mask on change, but if I just change L/R, it
reports an empty mask.
At this point I'm not sure the whole L/R info should be used. LO's code in qt5
+ gtk + gen has the same problem, because it removes the mask, if one of the
L/R modifier keys is released. So while my patch fixes the problem, I now think
the whole approach is broken; maybe LO should replace it by always reporting
both L/R keys.
I thought the Gtk approach might be good, until I found the behavior in comment
1.
And the Windows code looks funny too.
Looking for more opinions.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>