[Libreoffice-bugs] [Bug 114481] Right click and hold sometimes fires the first item of the shortcut menu that comes up.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 15 16:52:06 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114481

Howard Johnson <BridgeportContractor at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Base                        |LibreOffice

--- Comment #1 from Howard Johnson <BridgeportContractor at gmail.com> ---
1) OO vs LO:

Roughly this same thing occurs in OpenOffice 4.1.3.  

The difference is that the top menu item isn't `Cut`, but rather something
else.

But the point is that the top menu item still gets fired sometimes from a right
click and hold.

Just like in LO this is influenced by a little left or right mouse motion as
part of the click and press.

With a little left mouse motion, no shortcut menu item is selected.

With a little right mouse motion, the top shortcut menu item is selected.


2) Down vs up clicking:

In both LO and OO the menu appears to get fired from the mouse up event rather
than the mouse down event.  So when you right click, then hold, then move just
a little to the right and release it triggers the first item in this menu.

I have played with mouse down vs mouse up event firing in another development. 
(Someone suggested to me that mouse up event firing was better.)  However after
trying it out I don't think mouse up triggering works very well.  Rather, I
think the user expects the event firing to occur when the mouse is down
clicked, not when it's up-clicked.

In this case both the down click and up click do things:  The down click opens
the shortcut menu.  The up click selects an item in the shortcut menu.

However if the shortcut menu was displayed on right mouse down, AND also a
mouse down fired a shortcut menu selection I don't think this shortcut menu
would have this issue.

If you down click with a little left motion and get the shortcut menu, then
release, then down click and hold on the shortcut menu no item is yet selected.
 But when you finally release on a shortcut menu item, finally it fires.  So
this proves that the shortcut menu is being triggered on an up-mouse rather
than a down mouse.


3) Issue can be demonstrated now in Base, Calc, Writer, so I upgraded the bug
Component from Base to LibreOffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171215/1d569483/attachment.html>


More information about the Libreoffice-bugs mailing list