Bug 77356 - plasma-windowed tooltips and subwindow positioning not handled properly
Summary: plasma-windowed tooltips and subwindow positioning not handled properly
Status: RESOLVED NOTABUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
: 81274 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-12 03:06 UTC by nerdopolis1
Modified: 2014-08-29 07:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
A simple xcb app that exactly reproduce this bug (4.90 KB, text/plain)
2014-07-19 13:15 UTC, Boyan Ding
Details

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.