WORKAROUND Re: [ubiquity] Re: Transparecny problem in Linux (compiz) with 0.1.4

3 views
Skip to first unread message

Luca Greco

unread,
Jan 4, 2009, 12:14:47 PM1/4/09
to ubiquity...@googlegroups.com
I've experienced problem with transparency on linux with all version from
0.1.3 to 0.2pre2

After the last refactoring on skin stuffs I think that the workaround
present in
the browser.js is now obsolete (because all new skins use
trasparent-msg-panel :-P)

This is my 2sec. workaround patch from my working local version... on linux
the transparent-msg-panel background color must be set to something for all
the skins:

   // Hack to get the default skin to work on Linux, which we don't
   // support per-pixel alpha transparency on.
   var xulr = Components.classes["@mozilla.org/xre/app-info;1"]
                                   .getService(Components.interfaces.nsIXULRuntime);
   if (xulr.OS == "Linux")
      document.getElementById("transparent-msg-panel")
                    .style.backgroundColor = "#444";


I hope this can be useful ;-)

NOTE: the transparency problem it's not related to compiz but on some lack
of the gecko rendering on the linux platform.
(I've the same problem on different gnome shell, with and without compiz)

--
Luca Greco @ Alca Società Cooperativa

Luca Greco

unread,
Jan 4, 2009, 3:17:52 PM1/4/09
to ubiquity...@googlegroups.com
The workaround was right before this changeset:

http://hg.toolness.com/ubiquity-firefox/rev/e660f8770c21

I think something is changed in the skin stuff later (all skins now use
transparent panel container)

---

Aza

unread,
Jan 5, 2009, 12:53:56 AM1/5/09
to ubiquity...@googlegroups.com
Thanks Luca,

One of the core contributors will look into this shortly.

Abi -- want to handle this one?

-- aza | ɐzɐ --

Abimanyu Raja

unread,
Jan 5, 2009, 12:24:18 PM1/5/09
to ubiquity...@googlegroups.com
Ok. This workaround might spoil the look of some skins that don't use transparent-msg-panel but to make all the skins that use it work properly, this is necessary. Let me see if there's a better way.

- Abi

2009/1/5 Aza <a...@mozilla.com>

Jędrzej Nowak

unread,
Jan 5, 2009, 7:00:54 PM1/5/09
to ubiquity-firefox
I have the same problem.

( just for confirm the problem )

On Jan 5, 6:24 pm, "Abimanyu Raja" <abimanyur...@gmail.com> wrote:
> Ok. This workaround might spoil the look of some skins that don't use
> transparent-msg-panel but to make all the skins that use it work properly,
> this is necessary. Let me see if there's a better way.
>
> - Abi
>
> 2009/1/5 Aza <a...@mozilla.com>
>
> > Thanks Luca,
>
> > One of the core contributors will look into this shortly.
>
> > Abi -- want to handle this one?
>
> > -- aza | ɐzɐ --
>

Jędrzej Nowak

unread,
Jan 5, 2009, 7:20:19 PM1/5/09
to ubiquity-firefox
btw. Mine config:
Gnome without Compiz - just GTK.
Firefox & Ubiquity: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
1.9.1b3pre) Gecko/20090104 Shiretoko/3.1b3pre Ubiquity/0.2pre4

skrat

unread,
Feb 4, 2009, 6:03:02 PM2/4/09
to ubiquity-firefox
any progress on this?

On Jan 5, 6:24 pm, "Abimanyu Raja" <abimanyur...@gmail.com> wrote:
> Ok. This workaround might spoil the look of some skins that don't use
> transparent-msg-panel but to make all the skins that use it work properly,
> this is necessary. Let me see if there's a better way.
>
> - Abi
>
> 2009/1/5 Aza <a...@mozilla.com>
>
> > Thanks Luca,
>
> > One of the core contributors will look into this shortly.
>
> > Abi -- want to handle this one?
>
> > -- aza | ɐzɐ --
>

Pritesh

unread,
Feb 6, 2009, 5:20:15 AM2/6/09
to ubiquity-firefox
Hi, I had similar issues with flickering. (using kde 3.5 and 4.0 both
FF3.0 and 3.1). I have been upgrading regularly over the last year or
so.

This all got cleaned up after using the "reset" function to completely
clear all the commands and preferences. I hope this can help clear up
your issue?

WARNING: RESET COMPLETELY CLEARS ALL COMMANDS/SKINS/PREFERENCES. you
can open/bookmark all the extras to be re-subscribed after the reset.

This is just my experience, I haven't tested thoroughly or dug to find
the root cause.

HTH,

Pritesh

skrat

unread,
Feb 6, 2009, 5:23:32 AM2/6/09
to ubiquity-firefox
it looks like ubiquity is opening in separate window on top of
firefox, I can see shadow around ubiquity, this must be from my window
manager (compiz). because of this it cannot use transparency well
Reply all
Reply to author
Forward
0 new messages