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

--- Comment #14 from Michael Weghorn <[email protected]> ---
(In reply to Michael Weghorn from comment #12)
> This might be some logic meant to keep the "Synchronize labels" window on
> top of the associated Writer window, something like: "If the associated
> Writer window becomes the active window (receives focus), bring the
> "Synchronize labels" window to the front."

*If* that's what's happening (haven't looked into it too much), trying to avoid
that manual handling and letting the UI toolkit take care of that may or may
not be an alternative. For Qt, the `Qt::Tool` window flag [1] might be
appropriate:

> Indicates that the widget is a tool window. A tool window is often a small
> window with a smaller than usual title bar and decoration, typically used for 
> collections of tool buttons. If there is a parent, the tool window will 
> always 
> be kept on top of it. If there isn't a parent, you may consider using 
> Qt::WindowStaysOnTopHint as well.

(*If* that would be a workable approach for Qt, whether there's any equivalent
for the other VCL plugins/platforms is still an open question.)

[1] https://doc.qt.io/qt-6/qt.html#WindowType-enum

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to