Summary: | KWin won't give windows with GDK_WINDOW_TYPE_HINT_DOCK the focus, so openoffice.org presentations on dual-head KDE fails | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | James Hogan <james> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | rdieter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | standalone demo |
Description
James Hogan
2009-08-29 12:37:54 UTC
Created attachment 36556 [details] standalone demo test case by Caolan McNamara (see https://bugzilla.redhat.com/show_bug.cgi?id=506984) I managed to compile with: gcc demo.c -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/lib64/glib-2.0/include 2>&1 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -L/usr/lib64 -lgtk-x11-2.0 -o demo the output is: work to use GDK_WINDOW_TYPE_HINT_TOOLBAR fail to use GDK_WINDOW_TYPE_HINT_DOCK I'm agreeing with mgraesslin, the fault is in OO.o as: 1) The window in question is not a dock at all (A dock as different behavioural characteristics to normal windows, that's why it's a separate type), and 2) OO.o should not be painting on a focus event--it should be using the expose/map event instead. By the sound of it they would be better off using a normal fullscreen, always-on-top window. 1. I second Martin and Lucas It's obviously not a dock and shouldn't claim to be because it may partially match some dock attributes. 2. To not let you get lost between developers blaming each other: KWin rules support to override some attributes (Window-Specific) You should be able to force the window to - be a normal window (workarounds, window type) - be fullscreen (geometry) - keep above (preferences) - accept focus (preferences) Some combination of those (in doubt, just check all) should workaround your problem. There seems to be a patch committed to the downstream bug |