[Konsole-devel] [konsole] [Bug 198175] Konsole should set blur region for the new kwin effect

Mark via KDE Bugzilla bugzilla_noreply at kde.org
Tue Jul 12 19:38:57 UTC 2016


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

--- Comment #78 from Mark <markg85 at gmail.com> ---
(In reply to Thomas L├╝bking from comment #77)
> It's an X11 property - you can query it using XLib/xcb API.
> Adding a KWindowSystem getter sounds a bit off for technically only the
> WM/compositor should ever read it.
> 
> The discussion back then was to shovel this  to the GUI style (for it may
> also have wanted to impact this but since Qt5 doesn't support depth changes
> of existing windows, that point is now more or less void)
> 
> I'd suggest to go for a relaxed protocol (gentleman's agreement) on some
> dynamic Qt property on the widgets and a static KStyle helper to traverse
> all widgets in a window for the blur props, merge them into a region and set
> the X11 property via KWindowSystem
> 
> You'd then
> myWidget->setProperty("kwin_fx_blur", QRegion);
> KStyle::updateBlur(myWidget->window()); // schedules a run for the end of
> the event cycle

Hi Thomas,

Thank you for that information.

I was already getting a bit of a feeling like "oh boy, this is not on a simple
patch level anymore". And your explanation confirms that. 

I'm sorry, but this is not on a patch level anymore that i feel comfortable
with.
I would have been fine by touching Konsole code and perhaps a few other
framework libraries to get this implemented. But touching XLib/XCB is a
showstopper for me, that's where i drop out.

We're back to one of my earlier assessments for this issue. It's very difficult
to implement while the basic functionality is so easy to get.

Good thing is that every aspect of this issue and how to implement it is now
described in this bug report, hehe.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list