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

--- Comment #20 from Thomas Lübking <thomas.luebk...@gmail.com> ---
Either the window was undecorated or the call to the wininfo was made before it
was decorated by the WM (in either case frameGeometry() and geometry() are
equal)

Why there's this complex code, also preserving the current desktop, is frankly
beyond me - QWidget::hide() withdraws the X drawable, but doesn't destroy it -
so properties like the VD and the geometry should be preserved; QWidget::hide()
/ QWidget::show() should™ really just work.

The only thing I could imagine is that the client code in addition nukes the
widget (destroying the drawable) and adds a new associate (w/o caring about
former properties) - however then also the X properties (KWinInfo geometry)
should be nonsense...

My uninformed suggestion was to explicitly store the position QWidget::pos()
like the virtual desktop and restore to that QPoint *shrug*

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

Reply via email to