No shadows in the menus

Bug #511656 reported by Sebastián Porta on 2010-01-23
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
nautilus-elementary
Fix Released
Medium
Unassigned

Bug Description

The menus in Nautilus doesn't show any shadows as opposite to the rest of the menus in other apps.
Could this be related with compiz?
I attached a couple of screenshots.
I'm running the nautilus-elementary version from the PPA.

ammonkey (am-monkeyd) wrote :

Does the menu from others applications has the same behavior? and/or from a vanilla nautilus?

In other applications the menu look like the one in menu.png that attached above.
In the Nautilus shipped with Ubuntu 9.10, the menu has the shadows (like the ones in menu.png)
I don't know if it's related but if make a left click on the desktop, the menu has no shadows either (used to have them with the regular Nautilus).

ammonkey (am-monkeyd) wrote :

ok so it's specific to our version. I'll check that.

Changed in nautilus-elementary:
status: New → Confirmed
Daniel Fore (danrabbit) wrote :

Are you sure its not a compiz setting? The menus have shadows for me.

ammonkey (am-monkeyd) wrote :

bug confirmed from another user too.
It seems that we'll have to choose between compiz or rgba. The following lines from the rgba patches prohibit the shadow from compiz:

src/nautilus-window.c (line 156)
if (colormap && gdk_screen_is_composited(screen))
{
      gtk_widget_set_default_colormap(colormap);
}

I'll make an gconf parameter to switch between rgba or normal colormap, so compiz could draw his shadow depending on the user choice. But i am little busy actually so i don't know when i implement this.

Thx to jumpinjack who solved this.

Changed in nautilus-elementary:
importance: Undecided → Medium
ammonkey (am-monkeyd) wrote :

ok so by default rgba is enabled

to change that edit in gconf-editor the following key: apps/nautilus/preferences/rgba_colormap
this way you enable or disable the rgba support...by disabling it you should retrieve the compiz menu shadows.

If you know a better solution than this switch let me know, there's some problems with rgba, it's the best i can do for now.
Tell me if it work as expected.

Changed in nautilus-elementary:
status: Confirmed → Fix Committed

I'm running the PPA version, so I can't test it, right now.
I tried to build it from bzr but I got this error:

config.status: error: cannot find input file: `src/file-manager/Makefile.in'

ammonkey (am-monkeyd) wrote :

the autotools were changed if you pull make sure to make clean and then autogen.sh --prefix=/usr then make && make install

ammonkey (am-monkeyd) on 2010-04-23
Changed in nautilus-elementary:
status: Fix Committed → Fix Released

I'm running the version from PPA on Maverick, but I'm still having this issue. I'm guessing the fix is included in the PPA by now. Disabling "rgba_colormap" however did fix it, but that was the temporary fix if I'm not mistaking.

lookout (lookout-lo) wrote :

Ubuntu 10.10, Nautilus-Elementary from PPA
Nautilus (desktop too) context menu shadow not appearing.

Confirmed.
-> Ubuntu 10.10, Nautilus-Elementary from PPA
Nautilus (desktop too) context menu shadow not appearing.

Gerard (gerardabello) wrote :

In Ubuntu 11.04, Nautilus elementary from PPA, this still happens. Disabling "rgba_colormap" fix the problem, but that's not the way things should be.

ammonkey (am-monkeyd) wrote :

@Gerard go complain on compiz buglist (or enter your WM of choice buglist here), to get shadows on rgba windows or/and shaped windows (while we're here).
All that could be fixed in nautilus-elementary was: "we have to choose between shadows or rgba" . I don't know any WM/compositor which draw shadows on rgba windows neither shaped ones, Compiz don't, metacity don't etc....

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers