Comment 2 for bug 1599453

Revision history for this message
Braden Kelley (redbmk) wrote :

Continuing the discussion from https://code.launchpad.net/~redbmk/terminator/gtk3-fix-transparency/+merge/299224 here.

When I had the `self.get_toplevel().set_opacity(self.bgcolor.alpha)` in there as the only change, I noticed that it didn't work at all until I went into Preferences and clicked "Close". From the debug logs I realized that was triggering a reconfigure, but the first reconfigure when the terminal was created was happening before the window was ready. Taking it out of the init and moving it to after the window was created allowed transparency to work for me on the initial load.

If I do `self.set_opacity(self.bgcolor.alpha)` it seems to affect only the current window, but I end up getting a gray background. I think this is because the main window is still opaque. This makes the tabs still opaque, but the toolbars become transparent as well.