diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-26 15:28:57 +0000 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2015-04-08 12:48:28 +0000 |
commit | c6dbd3206c23b8b54cc4392a12fb8ba11d4caf81 (patch) | |
tree | efa1b79e827e18d3bdf626ee5cac5e76ab4bf613 /sw | |
parent | d1b2478379ac79664f667d55abda1bc05ab8403c (diff) |
Resolves: fdo#84795 Menus don't disappear with right mouse click
re-do this so right-clicking when a menu is open closes that menu but
doesn't cause another popup menu or otherwise pass that click through
to the app
Revert "fdo#84795 Menu, DropDown-List don't disappear with right mouse click"
This reverts commit fa022a9c4fe74f3f67fb3c35ef49022842d7499b.
because if a right-click context menu is active and we click outside it in
order to remove it then that click goes to whatever is underneath the mouse
which is undesirable
the list dropdown part of this looks good, its the general menus that are the problem
Conflicts:
vcl/source/window/winproc.cxx
(cherry picked from commit 473eae3a7d43ca13ef14eca844b991ffd143e3a0)
Conflicts:
vcl/source/window/winproc.cxx
Change-Id: Ib96e52f22cdeefd59dbf4333f555d9f52b3385e2
Resolves: fdo#84795 Menus don't disappear with right mouse click
Change-Id: I95ae2e2d564ec1c45de6df5158e4dec1d93053cb
(cherry picked from commit 4f9e20c46b616c7c51bae74bfefd5247f922b2a6)
why would we ever want FLOATWIN_POPUPMODE_PATHMOUSECANCELCLICK
if we're from the menubar we never set it, but if we are
a submenu from a menu in the menubar we set it.
with it set, and on right click, the right click is passed
through to what ever is underneath the pointer
I don't see why we want to do that, especially the inconsistency
from e.g. the File menu, vs the "File->New" menu
Change-Id: I548f5c95e2511b5e921e8b74600f65eecdd8f498
(cherry picked from commit a8f9dd59de4e655bc77fa0546b81440aee46b837)
remove the gap now to pretend it was never there
Change-Id: I234defd865e6bf5d9d9eccc85cde7e69c0549c3f
(cherry picked from commit a62d7f3b08b413d17e650279110ab8a48c419b18)
Reviewed-on: https://gerrit.libreoffice.org/15092
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions