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

--- Comment #147 from Maxim Monastirsky <[email protected]> ---
(In reply to Paul Oranje from comment #146)
> The search bar is a SalFrameWindow; true?
No. "Frame" in LO terms is usually the whole app window.

> If so, then the fix would be to add handling of the Cmd-A|C|V|X|z|Z events
> for this window
The find widget already has that handling, it's just that the menu handling
occurs before the find widget gets a chance to handle it.

> That
> these events end up being handled by the document window is obviously the
> wrong
Again - they are not handled by the document window, but by the menu handling
code (going all the way through vcl's Menu and framework::MenuBarManager).

One possible solution is to make Cmd-A|C|V|X|z|Z _never_ go through the menu,
but I doubt that it's the right approach in general, and esp. when considering
comment 144 (i.e. that menu items should also work with the find field). For
the latter, we might try to handle it in SalNSMenuItem::menuItemTriggered, or
even in MenuBarManager::Select.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to