When Unity is installed, Shotwell menu on desktop flashes when user switches photo view

Bug #649332 reported by Adam Dingle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppMenu GTK+
Fix Released
Undecided
Unassigned
Application Menu Indicator
Fix Released
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned

Bug Description

This is ticketed upstream at http://trac.yorba.org/ticket/2592 .

To see the problem:

1. On an Ubuntu 10.10 machine where Unity is installed, run Shotwell from the normal GNOME desktop, *not* inside a Unity session.

2. Click the top item in the Shotwell sidebar ("Photos").

3. Repeatedly hit the down arrow key. As you move to each new sidebar item, you'll see the menu at the top of the window flash off and on. This does not happen on machines where Unity is not installed.

Here's what is possibly going on. Each time you move to a sidebar item, Shotwell hides the menu at the top of the window and shows a different menu (specific to that item). Normally, the GNOME event loop does not run during the moment between hiding the old menu and showing the new menu, so the user sees no flicker as the menu is replaced. It appears that the Unity global menu code has an effect even in a desktop (non-Unity) session, and apparently it causes the GNOME drawing code to be invoked after the previous menu is hidden (perhaps by invoking the event loop?).

Revision history for this message
David Barth (dbarth) wrote :

Thanks for the feedback Adam. I'm connecting this one with the appmenu-gtk updates Cody is preparing.

Changed in unity:
status: New → Invalid
Revision history for this message
Alex Launi (alexlauni) wrote :

Could you please post a short video? I am not able to reproduce this.

Changed in appmenu-gtk:
status: New → Incomplete
Changed in indicator-appmenu:
status: New → Incomplete
Revision history for this message
Adam Dingle (adam-yorba) wrote :

Alex,

note that the upstream ticket was closed 4 months ago with the comments "This behavior no longer occurs. Closing." So this bug should be closed as well.

Revision history for this message
Alex Launi (alexlauni) wrote :

Thanks Adam

Changed in appmenu-gtk:
status: Incomplete → Fix Released
Changed in indicator-appmenu:
status: Incomplete → Fix Released
Revision history for this message
Adam Dingle (adam-yorba) wrote :

This behavior is occurring once again in the Natty alpha. We've reopened the upstream ticket, and I think this bug should be reopened as well.

Revision history for this message
Adam Dingle (adam-yorba) wrote :

Never mind: there is no issue here. As I mentioned on the upstream ticket, the global menu is enabled both in the normal and classic desktops in Natty, so there is no flashing on either desktop. If I disable the global menu by uninstalling the appmenu-gtk package, then Shotwell works normally. This bug can stay closed.

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.