https://bugs.kde.org/show_bug.cgi?id=462115

--- Comment #2 from Mark Bolhuis <m...@bolhuis.dev> ---
(In reply to Vlad Zahorodnii from comment #1)
> > The popup should only receive a configure sequence if the popup needs to be 
> > re-constrained. 
> 
> Does the spec say so?

Relevant parts of the spec are:

xdg_popup.configure: "For version 2 or older, the configure event for an
xdg_popup is only ever sent once for the initial configuration. Starting with
version 3, it may be sent again if the popup is setup with an xdg_positioner
with set_reactive requested, or in response to xdg_popup.reposition requests."

xdg_positioner.set_reactive: "If the conditions changed and the popup was
reconstrained, an xdg_popup.configure event is sent with updated geometry,
followed by an xdg_surface.configure event."

xdg_popup.reposition: "The popup will be placed given the details in the passed
xdg_positioner object, and a xdg_popup.repositioned followed by
xdg_popup.configure and xdg_surface.configure will be emitted in response."


Technically speaking the spec doesn't explicitly forbid sending the configure
event arbitrarily, only that it must if the popup needs re-constraining.
However, I argue that sending arbitrary events like this is not the point,
especially since its in response to window position, something Wayland windows
aren't aware of. Also the parameters are identical, so the client can't do
anything meaningful with it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to