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 77157 - Cut/Paste diasbled after hitting enter in location bar
Cut/Paste diasbled after hitting enter in location bar
Status: VERIFIED FIXED
Product: bonobo
Classification: Deprecated
Component: libbonoboui
unspecified
Other Linux
: High minor
: ---
Assigned To: Michael Meeks
Luis Villa
Depends on:
Blocks:
 
 
Reported: 2002-04-01 05:17 UTC by Sekhar Reddy Pulukunta
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Sekhar Reddy Pulukunta 2002-04-01 05:17:13 UTC
Procedure:

Start Nautilus
Check cut and copy option in the Edit menu, they are disabled.
Select a file/folder and now check cut and copy option in the Edit menu, 
they are enabled.
goto location and press enter and then select a file/folder
Check cut and copy option in the Edit menu, they are disabled.
Comment 1 John Fleck 2002-04-01 14:49:24 UTC
If I understand what you're saying, I cannot duplicate this. Every
time under the conditions you describe I select a file or folder,
cut/copy is enabled. Every time no file/folder is selected, cut/copy
is greyed out.
Comment 2 Sekhar Reddy Pulukunta 2002-04-05 03:56:10 UTC
Please follow the steps as follows.
1)Start Nautilus.
2)Now observe cut, copy under Edit Menu is disabled on default.
3)Select any file or folder . Cut ,Copy Under Edit menu is enabled .
4)Goto Location Bar and Press Enter.(This line is important).
5)Now observe that Cut,copy is disabled in Edit Menu .
6)Now Select Any file or Folder 
7)Now observe that Cut,Copy is disabled under Edit Menu even though 
you have selected files or folders .
8) This is repeatable always in Linux sa well as in Solaris .
Comment 3 Luis Villa 2002-04-09 18:09:09 UTC
Yeah, weird. I can't bring myself to be too worried about this- it's
an edge case. Re-titling. Should be fixed, though.
Comment 4 Anand 2002-06-11 07:11:14 UTC
Louie, John: Clearly seeing this now (as per sekhar's described 
steps - 11th June from CVS). The worst part is, once the options get 
disabled, i have no other way of getting them enabled. That window 
needs to be closed.

Do any of you see this?

(Adding my name to the CC list)
Comment 5 Luis Villa 2002-06-11 12:28:46 UTC
<sigh> OK, the reenabling makes this a bigger bug than I'd thought at
first. Eww.
Comment 6 Damon Chaplin 2002-06-13 19:03:00 UTC
I can reproduce, though I've had no luck in tracking it down.

It looks like nautilus is setting the sensitivity of the Bonobo commands
correctly, but in bonobo_ui_engine_xml_set_prop() it seems to think the
old value is the same as the new one so it doesn't update it.
Though I'm not familiar with this code, so I'm not too sure about that.

It is a Bonobo issue, so I'll cc michael. He may be able to track it
down very quickly, or at least give me a clue.
Comment 7 Luis Villa 2002-06-14 19:51:32 UTC
Michael: Dave and Damon are pretty sure that this is a bonobo issue;
can you please take a look at it?
Comment 8 Michael Meeks 2002-07-01 14:23:40 UTC
The root cause of the problem is that the nautilus-clipboard.c code is
merging it's XML over the top of the fm-directory's XML.

This causes the item for Cut to have label="Cut Files" but a
verb="Cut" instead of "Cut Files", which sucks.

The clipboard code re-merges it's menus on a focus change. I think
what we need to do is to stop it merging somehow, or get it to remove
itself cleanly when it has (validly) merged itself. Quite what the
purpose of the nautilus-clipboard XML file is I havn't investigated.

Either way, this is low priority, a right click still allows you to
easily manipulate the files.
Comment 9 Luis Villa 2002-07-02 15:13:23 UTC
[Search for 'luis spamming' to catch every instance of this email.]
In order to better track Sun's bugs for Sun and Ximian's internal use, I've
added a temporary keyword to some bugs. I apologize for the spam, and for the
use of an additional keyword, but this is the best way for Sun to track 'it's'
bugs without interfering with the community's own triage and bug behavior. If
you have any questions or objections, please drop me a note at louie@ximian.com
or email bugmaster@gnome.org for more open discussion.
Comment 10 Anand 2002-09-08 12:48:09 UTC
Appears fixed on a build from 3rd september. Closing. Will reopen if 
this problem is again seen. Thanks.
Comment 11 Anand 2002-09-08 12:48:33 UTC
Marking CLOSED.