Bug 162333 - No transparency if no compositing manager was present at starup
Summary: No transparency if no compositing manager was present at starup
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-19 22:55 UTC by erik_hahn
Modified: 2008-05-20 20:56 UTC (History)
0 users

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 erik_hahn 2008-05-19 22:55:48 UTC
Version:           2.1 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.3 
OS:                Linux

If no Compositing manager was present when Konsole or Yakuake is started, transparency does not work even if one is started later. If a compositing manager was present at startup but disabled later, re-enabling compositing later also brings back transparency.

Transparency should work whenever compositing is activated.

I tested this with Compiz, Xcompmgr and Kwin.
Comment 1 Robert Knight 2008-05-19 23:21:04 UTC
Unfortunately I don't think I can fix this because Konsole has to use different X11 properties depending on whether a compositing manager is available or not and these have to be chosen before any windows are created.

If Konsole tries to use the "compositing available" settings when there isn't a compositing manager then various unpleasant visual glitches appear such as garbage behind menus when opening them - you can see some of these if compositing is turned off while Konsole is running.  If Konsole does the reverse then it cannot use compositing at all.

Ultimately the only reason I can think of to turn compositing on or off frequently is problems with certain OpenGL applications - I'm fairly sure that a fix for that is in the pipeline lower down the graphics stack.

Comment 2 erik_hahn 2008-05-20 01:30:40 UTC
At least I don't see any Glitches in that case. What about adding command line switch, environment variable or option to force the compositing-friendly behaviour?
Comment 3 Robert Knight 2008-05-20 20:56:56 UTC
SVN commit 810442 by knight:

Add a command-line option --force-transparency which enables support for transparency even if no
compositing manager is running when Konsole is started.

BUG: 162333



 M  +11 -4     main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=810442