GNOME Bugzilla – Bug 77157
Cut/Paste diasbled after hitting enter in location bar
Last modified: 2009-08-15 18:40:50 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.
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.
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 .
Yeah, weird. I can't bring myself to be too worried about this- it's an edge case. Re-titling. Should be fixed, though.
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)
<sigh> OK, the reenabling makes this a bigger bug than I'd thought at first. Eww.
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.
Michael: Dave and Damon are pretty sure that this is a bonobo issue; can you please take a look at it?
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.
[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.
Appears fixed on a build from 3rd september. Closing. Will reopen if this problem is again seen. Thanks.
Marking CLOSED.