Bugzilla – Bug 325121
Paste not working in GUI designer
Last modified: 2007-11-15 17:06:38 UTC
---- Reported by anders@iola.dk 2007-08-16 07:41:21 MST ---- Description of Problem: When cutting/copying something, paste doesn't work. This makes it almost impossible to move stuff around in ones UI. Steps to reproduce the problem: 1. Mark an element in the gui designer (doesn't matter which one) 2. Edit->Cut or Ctrl-x 3. Try inserting the widget again at the same place using Edit->Paste or Ctrl-v Actual Results: Nothing happen. The widget is gone. One needs to undo to get the widget back. Expected Results: Paste works and insert the widget. How often does this happen? Everytime Additional Information: This also seems to be a problem with copy, so it seems to be the paste functionality that is broken. ---- Additional Comments From lluis@ximian.com 2007-08-16 07:59:57 MST ---- I can't reproduce this problem. I can select any widget, press ctrl-x and then ctrl-v and it works fine. Can you please provide more specific instructions about how to reproduce the problem? ---- Additional Comments From anders@iola.dk 2007-09-04 12:30:07 MST ---- Not really sure what to say? :) It happens on the current project I'm working on and also happens when I just start a gtk c# project. Add a fixed widget to the empty window and try to cut and paste it. Do you think it might be a gtk# problem (I'm running cvs)? A mono problem (running 1.2.3.1)? ---- Additional Comments From lluis@ximian.com 2007-09-04 13:02:54 MST ---- I don't know what it is, but it doesn't sound like a gtk# or mono problem. Are you running MD 0.15? Do you see any error message in the terminal when you click on cut or paste? ---- Additional Comments From anders@iola.dk 2007-09-05 07:40:19 MST ---- Yes I'm running 0.15. And there's no output on the console. I get some other warnings but that's just when loading the project: (MonoDevelop:24955): Gtk-WARNING **: You must override the default 'drag_data_delete' handler on GtkTreeView when using models that don't support the GtkTreeDragSource interface and enabling drag-and-drop. The simplest way to do this is to connect to 'drag_data_delete' and call g_signal_stop_emission_by_name() in your signal handler to prevent the default handler from running. Look at the source code for the default handler in gtktreeview.c to get an idea what your handler should do. (gtktreeview.c is in the GTK source code.) If you're using GTK from a language other than C, there may be a more natural way to override default handlers, e.g. via derivation. (MonoDevelop:24955): Gtk-CRITICAL **: gtk_object_destroy: assertion `object != NULL' failed Unknown version "0.15 in product Mono Develop . Setting version to "0.7". Unknown operating system unknown. Setting to default OS "Other".
It's working now with 0.17 so I'm closing. No idea why it wasn't working before.