No shadows in the menus

Bug #511656 reported by Sebastián Porta
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.

Revision history for this message
Sebastián Porta (sebastianporta) wrote :
Revision history for this message
Sebastián Porta (sebastianporta) wrote :
Revision history for this message
ammonkey (am-monkeyd) wrote :

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

Revision history for this message
Sebastián Porta (sebastianporta) wrote :

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).

Revision history for this message
ammonkey (am-monkeyd) wrote :

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

Changed in nautilus-elementary:
status: New → Confirmed
Revision history for this message
Danielle Foré (danrabbit) wrote :

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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
Sebastián Porta (sebastianporta) wrote :

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'

Revision history for this message
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)
Changed in nautilus-elementary:
status: Fix Committed → Fix Released
Revision history for this message
Serrano Pereira (serrano-pereira) wrote :

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.

Revision history for this message
lookout (lookout-lo) wrote :

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

Revision history for this message
che.ssl (ssl-che-deactivatedaccount) wrote :

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

Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.