GNOME Bugzilla – Bug 765489
New Folder greyed out after closing a tab
Last modified: 2016-04-25 15:59:54 UTC
To reproduce: 1. Open a new tab (with the action menu item, or Ctrl+T) 2. Close the new tab 3. Open the action menu: the "New Folder" option is greyed out Expected behaviour: New Folder shouldn't be greyed out. Happens in nautilus master and 3.18.5. Can't get 3.20 to build, but I presume it also happens there.
Created attachment 326696 [details] [review] files-view: remove action group only matches view group We were removing the action group when the parent is unset. However, this removes the action group from the window unconditionally, meaning that if the view that the parent is unset for is not the current view it will remove the action group of the actual current view, making the actions unreachable outside of the view. This was causing the action menu in the toolbar to have non activatable actions. To fix it, make sure we remove the action group only if it matches the current one attached to the window.
Attachment 326696 [details] pushed as c48d702 - files-view: remove action group only matches view group