Bug 113523 - If user double-click quickly in the menu under titlebar when it's closed, second click is ignored
Summary: If user double-click quickly in the menu under titlebar when it's closed, sec...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2017-10-30 14:09 UTC by Clément L.
Modified: 2017-10-30 19:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clément L. 2017-10-30 14:09:09 UTC
Bug reproduced on Archlinux with latest stable release of LibreOffice (5.4.2) and on Gnome with both Wayland and Xorg.

If user try to do a quick double-click on the menu under the titlebar, when those menu are closed the second click is ignored and it's interpreted as a single click.
This is not the case when the menu is open: both click are interpreted and menu is closed with the first click, then reopened with the second one.

The behavior when the menu is closed might be a design choice: I can't know.
If it's not, it should be fixed, if it is I guess behavior should be consistent depending on the menu being closed or opened: either double-clicks are interpreted as single ones in both cases, or it works as double-click in both cases too.
Comment 1 Xisco Faulí 2017-10-30 14:52:01 UTC Comment hidden (obsolete)
Comment 2 Xisco Faulí 2017-10-30 14:53:22 UTC
Could you please record an screencast for clarification?
Comment 3 Aron Budea 2017-10-30 17:44:15 UTC
He can't get screen recording to work with Wayland, let's return the ticket to UNCONFIRMED for now.
Comment 4 Aron Budea 2017-10-30 17:46:20 UTC
But the bug is that when you double-click a closed menu (eg. File), it opens, but doesn't close.
When you double-click an open menu, then it behaves normally, first it closes than reopens.

I couldn't repro it myself, though, in Ubuntu 17.04.
Comment 5 Buovjaga 2017-10-30 18:30:21 UTC
Repro, but only with GTK3 backend.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha1+
Build ID: 7a2e7c32d38db02aaa5d78d5e8aaf86cabfde586
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on October 28th 2017
Comment 6 Maxim Monastirsky 2017-10-30 19:21:08 UTC
The gtk3 backend is using a native gtk menubar, so it's (mostly) out of our control. Indeed I can reproduce the same with other gtk3 apps (gnome terminal, evolution).