Bug 325121 (MONO82454) - Paste not working in GUI designer
Summary: Paste not working in GUI designer
Status: RESOLVED WORKSFORME
Alias: MONO82454
Product: MonoDevelop
Classification: Mono
Component: guidesigner (show other bugs)
Version: 0.15
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Lluis Sanchez
QA Contact: Lluis Sanchez
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 14:41 UTC by Anders Rune Jensen
Modified: 2007-11-15 17:06 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:48:47 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".

Comment 1 Anders Rune Jensen 2007-11-15 11:17:45 UTC
It's working now with 0.17 so I'm closing. No idea why it wasn't working before.