GNOME Bugzilla – Bug 163411
[win32] pasting rich content fails
Last modified: 2005-09-19 23:15:29 UTC
Pasting text from the clipboard doesn't work (works after F2) 1. Type "aaaaa" in A1 2. Select the text, copy it to the clipboard 3. Select cell A2 4. Paste Nothing happens. Expected A2 to become "aaaaa". After pressing F2, pasting works normally.
This also means that pasting from Excel or OpenOffice.org doesn't work.
Created attachment 35907 [details] Prebuilt test binary (libgdk-win32-2.0-0.dll.bz2) With attachment 35906 [details] [review] applied Or get it from here: http://www.ivanwong.info/gnumeric/libgdk-win32-2.0-0.dll
Thanks, pasting now works. This might be outside the scope of this bug, but in some cases you get a "Text Import Configuration" screen (actually 3 steps) when it really isn't necessary: - Start Gnumeric twice (two separate instances), copy and paste two or more cells between the two instances: works, but pops up the Text Import Configuration screen - Copy from Excel or OOo, paste into Gnumeric: the same. Copying and pasting inside the same Gnumeric instance works as expected.
ivan : sounds like there are still issues with the clipboard code. Pasting between gnumeric's should transfer xml, not text Is this problem still present in 1.4.2 ?
> ivan : sounds like there are still issues with the clipboard code. > Pasting between gnumeric's should transfer xml, not text I was aware of the problem and the reason seems to be related to lack of support of delay rendering on Win32, I will check it out later. > Is this problem still present in 1.4.2 ? Yes :(
Created attachment 37723 [details] [review] patch for gdk/win32 and gtk Prebuilt binaries: http://www.ivanwong.info/gnumeric/rich_content_fix.tar.bz2 I am not sure whether this fix is optimal or not. It just renders immediately all target formats on every gtk_clipboard_set_with_owner(). However, delayed rendering should not be that hard to be implemented on Win32. This fix only works with 1.4.2-rc2: http://prdownloads.sf.net/gladewin32/gnumeric-1.4.2-rc2.exe
Delayed rendering is now fully implemented. Prebuilt binaries: http://www.ivanwong.info/gnumeric/delayed_rendering.tar.bz2
Fixed.