After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587863 - Nautilus closes when clicking on toolbar
Nautilus closes when clicking on toolbar
Status: RESOLVED DUPLICATE of bug 582457
Product: nautilus
Classification: Core
Component: Extension Library
2.27.x
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-06 10:01 UTC by Bin Li
Modified: 2009-07-06 10:25 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Bin Li 2009-07-06 10:01:19 UTC
Please describe the problem:
Nautilus closes down when clicking on the blank area in the toolbar. 

the version is 2.27.1.

Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?
Yes.

Other information:
Comment 1 Bin Li 2009-07-06 10:03:30 UTC
https://bugzilla.novell.com/show_bug.cgi?id=508085
David already submit a patch for this issue.

The bug caused by nautilus_navigation_window_button_press_event.

It used a parent button press event which is NULL in fact.


diff -Npur nautilus-2.27.1.old/src/nautilus-navigation-window.c nautilus-2.27.1.new//src/nautilus-navigation-window.c
--- nautilus-2.27.1.old/src/nautilus-navigation-window.c	2009-07-06 16:43:24.000000000 +0800
+++ nautilus-2.27.1.new//src/nautilus-navigation-window.c	2009-07-06 16:44:38.000000000 +0800
@@ -1001,9 +1001,7 @@ nautilus_navigation_window_button_press_
 	} else if (mouse_extra_buttons && (event->button == mouse_forward_button)) {
 		nautilus_navigation_window_go_forward (window);
 		handled = TRUE;
-	} else {
-		handled = GTK_WIDGET_CLASS (nautilus_navigation_window_parent_class)->button_press_event (widget, event);
-	}
+	} 
 	return handled;
 }

So is the correct way for this issue?
Comment 2 A. Walton 2009-07-06 10:25:31 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.


*** This bug has been marked as a duplicate of 582457 ***