Bug 77356

Summary: plasma-windowed tooltips and subwindow positioning not handled properly
Product: Wayland Reporter: nerdopolis1
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium CC: andrew.e.7327
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: A simple xcb app that exactly reproduce this bug

Description nerdopolis1 2014-04-12 03:06:07 UTC
It seems that plasma-windowed tooltips are not handled by Weston's xwm?

To reproduce: insure plasma-windowed is installed run
plasma-windowed folderview
and hover over the window, and notice the tooltips appear anywhere

This is probably because it is using a different window type?

As plasma-windowed runs outside of the panel, and many relevant plasmoids do not have features that require shell integration
Comment 1 Boyan Ding 2014-07-13 01:46:38 UTC
*** Bug 81274 has been marked as a duplicate of this bug. ***
Comment 2 Boyan Ding 2014-07-19 13:15:34 UTC
Created attachment 103104 [details]
A simple xcb app that exactly reproduce this bug

Some toolkits employs a technique that set TRANSIENT_FOR of a window to a invisible window that is not mapped. Window not mapped doesn't have a wayland surface and weston's xwm simply omits that TRANSIENT_FOR, and the problem lies here.
Comment 3 Boyan Ding 2014-08-27 13:55:39 UTC
From the irc:

<dboyan> Jasper, did you remember the bug about transient window placing I mentioned (fdo #77356) before? Do we have plans to solve that?
<Jasper> dboyan, link?
<dboyan> https://bugs.freedesktop.org/show_bug.cgi?id=77356
<Jasper> dboyan, "Some toolkits employs a technique that set TRANSIENT_FOR of a window to a invisible window that is not mapped."
<Jasper> dboyan, that's illegal according to the ICCCM

So it's not our fault.
Comment 4 Boyan Ding 2014-08-29 07:00:46 UTC
Also from ICCCM section 4.1.4 for reference

Advice to Implementors:

When a window makes a transition from the Normal state to either the Iconic or to the Withdrawn state, clients should be aware that the window manager may make transients for this window inaccessible. Clients should not rely on transient windows being available to the user when the transient owner window is not in the Normal state. When withdrawing a window, clients are advised to withdraw transients for the window.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.