Bug 218947 - konsolepart should support translucency
Summary: konsolepart should support translucency
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 16:29 UTC by Shriramana Sharma
Modified: 2010-09-23 09:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shriramana Sharma 2009-12-16 16:29:23 UTC
Version:            (using KDE 4.3.2)
Installed from:    Ubuntu Packages

While Konsole is a full-fledged windowed application using konsolepart, there are non-windowed applications like Yakuake and plasmoids like Plasmacon (http://kde-look.org/content/show.php/Plasmacon?content=108120) using konsolepart which cannot use the window manager's ability to set translucency. So konsolepart should support translucency so that by making the appropriate setting in the Edit Profile > Appearance tab. This translucency may depend on compositing being enabled, and is not requested natively but it should be provided.
Comment 1 Robert Knight 2009-12-16 19:36:37 UTC
> While Konsole is a full-fledged windowed application using konsolepart

Konsole itself does not use konsolepart, though it uses much of the same code.  As far as I can see, all the code that deals with transparency is the same in both the application and the part.  The only difference from a typical application is that Konsole sets the Qt::WA_TranslucentBackground attribute on the main window - which I think is something best done by the application rather than the part.

> So konsolepart should support translucency so that by making
> the appropriate setting in the Edit Profile > Appearance tab.

Yakuake supports transparency does it not?  I remember Eike Hein made some changes to the Konsole part to enable transparency.
Comment 2 Shriramana Sharma 2009-12-16 21:54:21 UTC
I also remember Yakuake supporting translucency in KDE 3 but I have not seen it in KDE 4. I have tried the context menu and the drop-down menu by pressing the down-arrow button on the bottom right of Yakuake, but I do not see any translucency settings. I do not know the exact internals of Konsole, and my statement that it uses konsolepart was an assumption seeing as Kate uses katepart.
Comment 3 Shriramana Sharma 2009-12-17 06:23:17 UTC
Sorry folks, should have waited for further developments at KDE Forum before filing this bug. http://forum.kde.org/viewtopic.php?f=67&t=84528&p=141083#p141083 gave me the answer to get translucency in Yakuake working which means that Konsolepart does indeed support translucency already. So closing as INVALID.
Comment 4 Gökçen Eraslan 2010-09-23 09:50:53 UTC
Yakuake-KDE4 has translucency support but it's broken maybe because konsolepart always draws background with the opacity value of the colorscheme it uses.

yakuake is setting Qt::WA_TranslucentBackground. But this makes just the frame of yakuake transparent, not the konsole itself. Maybe, a method can be added to konsolepart to override opacity value defined in colorscheme, so applications using konsolepart can also override opacity value and make konsole transparent.

So, this bug is still valid, and must be reopened I think.