Hi Caolán,
On Fri, 2016-06-03 at 21:11 +0100, Caolán McNamara wrote:
We seem to have two types of tear-off menus. e.g. in impress the
basic
shapes and connector etc menus have the tear off area at the bottom
with a little line effect. I like this (a) set because they don't
have
any focus issues for me under gtk3 :-).
The other (b) set has examples like line color and fill color. They
have their tear-off concealed at the top, cause focus trouble when
the
popup under gtk3.
It seems to me that the focus issues are related to the handling
of WB_OWNERDRAWDECORATION, which present in (b) but not in (a). In
particular the SalFrameStyleFlags::OWNERDRAWDECORATION case
in GtkSalFrame::Init - which (wrongly) assumes the everything that has
self-decoration is a toolbar, and shouldn't have focus.
I'm getting different results with different combinations of the
GdkWindowTypeHint + gtk_window_set_accept_focus arg. +
whether FloatWinPopupFlags::GrabFocus was passed to the
FloatingWindow::StartPopupMode calls.
Anyway, is there any existing plans to move the b types to be a types
?
I played with it a bit today, but had several issues with .ui based
dropdowns. So I'm afraid this will just bring a new set of issues...
Maxim
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.